0s autopkgtest [12:25:45]: starting date and time: 2025-09-05 12:25:45+0000 0s autopkgtest [12:25:45]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [12:25:45]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work._pw6apn0/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:build-essential --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=build-essential/12.12ubuntu2 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-ppc64el-4.secgroup --name adt-questing-ppc64el-glib2.0-20250905-122545-juju-7f2275-prod-proposed-migration-environment-20-1e415192-182c-47d6-9ea1-bc370a3005ce --image adt/ubuntu-questing-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-proposed-migration-ppc64el -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 3s Creating nova instance adt-questing-ppc64el-glib2.0-20250905-122545-juju-7f2275-prod-proposed-migration-environment-20-1e415192-182c-47d6-9ea1-bc370a3005ce from image adt/ubuntu-questing-ppc64el-server-20250904.img (UUID e972553c-60b1-4e41-bd5d-505dae6af81e)... 60s autopkgtest [12:26:45]: testbed dpkg architecture: ppc64el 60s autopkgtest [12:26:45]: testbed apt version: 3.1.5ubuntu1 60s autopkgtest [12:26:45]: @@@@@@@@@@@@@@@@@@@@ test bed setup 60s autopkgtest [12:26:45]: testbed release detected to be: None 61s autopkgtest [12:26:46]: updating testbed package index (apt update) 61s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [265 kB] 62s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 62s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 62s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 62s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [38.3 kB] 62s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [14.1 kB] 62s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/restricted Sources [1748 B] 62s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [236 kB] 62s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el Packages [65.4 kB] 62s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el c-n-f Metadata [2600 B] 62s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/restricted ppc64el c-n-f Metadata [120 B] 62s Get:12 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el Packages [258 kB] 62s Get:13 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el c-n-f Metadata [7024 B] 62s Get:14 http://ftpmaster.internal/ubuntu questing-proposed/multiverse ppc64el Packages [4600 B] 62s Get:15 http://ftpmaster.internal/ubuntu questing-proposed/multiverse ppc64el c-n-f Metadata [300 B] 64s Fetched 893 kB in 1s (925 kB/s) 64s Reading package lists... 65s Failed to check for VM: Permission denied 65s autopkgtest [12:26:50]: upgrading testbed (apt dist-upgrade and autopurge) 65s Reading package lists... 65s Building dependency tree... 65s Reading state information... 65s Calculating upgrade... 65s The following NEW packages will be installed: 65s linux-headers-6.17.0-3 linux-headers-6.17.0-3-generic 65s linux-image-6.17.0-3-generic linux-modules-6.17.0-3-generic wireless-regdb 65s The following packages will be upgraded: 65s bpftool bpftrace coreutils coreutils-from-gnu cryptsetup-bin curl 65s dracut-install findutils libcryptsetup12 libcurl3t64-gnutls libcurl4t64 65s libfreetype6 linux-generic linux-headers-generic linux-headers-virtual 65s linux-image-generic linux-image-virtual linux-libc-dev linux-perf 65s linux-tools-common linux-virtual 66s 21 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 66s Need to get 238 MB of archives. 66s After this operation, 327 MB of additional disk space will be used. 66s Get:1 http://ftpmaster.internal/ubuntu questing/main ppc64el coreutils all 9.5-1ubuntu2+0.0.0~ubuntu22 [2942 B] 66s Get:2 http://ftpmaster.internal/ubuntu questing/main ppc64el coreutils-from-gnu all 0.0.0~ubuntu22 [6762 B] 66s Get:3 http://ftpmaster.internal/ubuntu questing/main ppc64el findutils ppc64el 4.10.0-3build1 [337 kB] 66s Get:4 http://ftpmaster.internal/ubuntu questing/main ppc64el libcryptsetup12 ppc64el 2:2.8.0-1ubuntu2 [404 kB] 66s Get:5 http://ftpmaster.internal/ubuntu questing/main ppc64el bpftool ppc64el 7.7.0+6.17.0-3.3 [1238 kB] 66s Get:6 http://ftpmaster.internal/ubuntu questing/main ppc64el bpftrace ppc64el 0.23.5-1ubuntu1 [2112 kB] 67s Get:7 http://ftpmaster.internal/ubuntu questing/main ppc64el cryptsetup-bin ppc64el 2:2.8.0-1ubuntu2 [250 kB] 67s Get:8 http://ftpmaster.internal/ubuntu questing/main ppc64el curl ppc64el 8.14.1-1ubuntu3 [272 kB] 67s Get:9 http://ftpmaster.internal/ubuntu questing/main ppc64el libcurl4t64 ppc64el 8.14.1-1ubuntu3 [536 kB] 67s Get:10 http://ftpmaster.internal/ubuntu questing/main ppc64el dracut-install ppc64el 108-3ubuntu3 [49.0 kB] 67s Get:11 http://ftpmaster.internal/ubuntu questing/main ppc64el libcurl3t64-gnutls ppc64el 8.14.1-1ubuntu3 [528 kB] 67s Get:12 http://ftpmaster.internal/ubuntu questing/main ppc64el libfreetype6 ppc64el 2.13.3+dfsg-1build1 [566 kB] 67s Get:13 http://ftpmaster.internal/ubuntu questing/main ppc64el wireless-regdb all 2025.07.10-0ubuntu1 [7454 B] 67s Get:14 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-modules-6.17.0-3-generic ppc64el 6.17.0-3.3 [144 MB] 70s Get:15 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-image-6.17.0-3-generic ppc64el 6.17.0-3.3 [64.4 MB] 72s Get:16 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-generic ppc64el 6.17.0-3.3 [1688 B] 72s Get:17 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-image-generic ppc64el 6.17.0-3.3 [11.7 kB] 72s Get:18 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-virtual ppc64el 6.17.0-3.3 [1690 B] 72s Get:19 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-image-virtual ppc64el 6.17.0-3.3 [11.7 kB] 72s Get:20 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-headers-virtual ppc64el 6.17.0-3.3 [1642 B] 72s Get:21 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-headers-6.17.0-3 all 6.17.0-3.3 [14.7 MB] 72s Get:22 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-headers-6.17.0-3-generic ppc64el 6.17.0-3.3 [4190 kB] 72s Get:23 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-headers-generic ppc64el 6.17.0-3.3 [11.6 kB] 72s Get:24 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-libc-dev ppc64el 6.17.0-3.3 [1797 kB] 72s Get:25 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-perf ppc64el 6.17.0-3.3 [2738 kB] 72s Get:26 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-tools-common all 6.17.0-3.3 [340 kB] 73s Fetched 238 MB in 7s (34.6 MB/s) 74s (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 ... 117956 files and directories currently installed.) 74s Preparing to unpack .../coreutils_9.5-1ubuntu2+0.0.0~ubuntu22_all.deb ... 74s Unpacking coreutils (9.5-1ubuntu2+0.0.0~ubuntu22) over (9.5-1ubuntu2+0.0.0~ubuntu20) ... 74s Setting up coreutils (9.5-1ubuntu2+0.0.0~ubuntu22) ... 74s (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 ... 117956 files and directories currently installed.) 74s Preparing to unpack .../coreutils-from-gnu_0.0.0~ubuntu22_all.deb ... 74s Unpacking coreutils-from-gnu (0.0.0~ubuntu22) over (0.0.0~ubuntu20) ... 74s Setting up coreutils-from-gnu (0.0.0~ubuntu22) ... 74s (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 ... 117956 files and directories currently installed.) 74s Preparing to unpack .../findutils_4.10.0-3build1_ppc64el.deb ... 74s Unpacking findutils (4.10.0-3build1) over (4.10.0-3) ... 74s Setting up findutils (4.10.0-3build1) ... 74s (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 ... 117956 files and directories currently installed.) 74s Preparing to unpack .../00-libcryptsetup12_2%3a2.8.0-1ubuntu2_ppc64el.deb ... 74s Unpacking libcryptsetup12:ppc64el (2:2.8.0-1ubuntu2) over (2:2.8.0-1ubuntu1) ... 74s Preparing to unpack .../01-bpftool_7.7.0+6.17.0-3.3_ppc64el.deb ... 74s Unpacking bpftool (7.7.0+6.17.0-3.3) over (7.6.0+6.16.0-16.16) ... 74s Preparing to unpack .../02-bpftrace_0.23.5-1ubuntu1_ppc64el.deb ... 74s Unpacking bpftrace (0.23.5-1ubuntu1) over (0.23.2-1ubuntu2) ... 74s Preparing to unpack .../03-cryptsetup-bin_2%3a2.8.0-1ubuntu2_ppc64el.deb ... 74s Unpacking cryptsetup-bin (2:2.8.0-1ubuntu2) over (2:2.8.0-1ubuntu1) ... 74s Preparing to unpack .../04-curl_8.14.1-1ubuntu3_ppc64el.deb ... 74s Unpacking curl (8.14.1-1ubuntu3) over (8.14.1-1ubuntu2) ... 74s Preparing to unpack .../05-libcurl4t64_8.14.1-1ubuntu3_ppc64el.deb ... 74s Unpacking libcurl4t64:ppc64el (8.14.1-1ubuntu3) over (8.14.1-1ubuntu2) ... 74s Preparing to unpack .../06-dracut-install_108-3ubuntu3_ppc64el.deb ... 74s Unpacking dracut-install (108-3ubuntu3) over (108-3ubuntu2) ... 74s Preparing to unpack .../07-libcurl3t64-gnutls_8.14.1-1ubuntu3_ppc64el.deb ... 74s Unpacking libcurl3t64-gnutls:ppc64el (8.14.1-1ubuntu3) over (8.14.1-1ubuntu2) ... 74s Preparing to unpack .../08-libfreetype6_2.13.3+dfsg-1build1_ppc64el.deb ... 74s Unpacking libfreetype6:ppc64el (2.13.3+dfsg-1build1) over (2.13.3+dfsg-1) ... 74s Selecting previously unselected package wireless-regdb. 74s Preparing to unpack .../09-wireless-regdb_2025.07.10-0ubuntu1_all.deb ... 74s Unpacking wireless-regdb (2025.07.10-0ubuntu1) ... 74s Selecting previously unselected package linux-modules-6.17.0-3-generic. 74s Preparing to unpack .../10-linux-modules-6.17.0-3-generic_6.17.0-3.3_ppc64el.deb ... 74s Unpacking linux-modules-6.17.0-3-generic (6.17.0-3.3) ... 75s Selecting previously unselected package linux-image-6.17.0-3-generic. 75s Preparing to unpack .../11-linux-image-6.17.0-3-generic_6.17.0-3.3_ppc64el.deb ... 75s Unpacking linux-image-6.17.0-3-generic (6.17.0-3.3) ... 76s Preparing to unpack .../12-linux-generic_6.17.0-3.3_ppc64el.deb ... 76s Unpacking linux-generic (6.17.0-3.3) over (6.16.0-16.16) ... 76s Preparing to unpack .../13-linux-image-generic_6.17.0-3.3_ppc64el.deb ... 76s Unpacking linux-image-generic (6.17.0-3.3) over (6.16.0-16.16) ... 76s Preparing to unpack .../14-linux-virtual_6.17.0-3.3_ppc64el.deb ... 76s Unpacking linux-virtual (6.17.0-3.3) over (6.16.0-16.16) ... 76s Preparing to unpack .../15-linux-image-virtual_6.17.0-3.3_ppc64el.deb ... 76s Unpacking linux-image-virtual (6.17.0-3.3) over (6.16.0-16.16) ... 76s Preparing to unpack .../16-linux-headers-virtual_6.17.0-3.3_ppc64el.deb ... 76s Unpacking linux-headers-virtual (6.17.0-3.3) over (6.16.0-16.16) ... 76s Selecting previously unselected package linux-headers-6.17.0-3. 76s Preparing to unpack .../17-linux-headers-6.17.0-3_6.17.0-3.3_all.deb ... 76s Unpacking linux-headers-6.17.0-3 (6.17.0-3.3) ... 78s Selecting previously unselected package linux-headers-6.17.0-3-generic. 78s Preparing to unpack .../18-linux-headers-6.17.0-3-generic_6.17.0-3.3_ppc64el.deb ... 78s Unpacking linux-headers-6.17.0-3-generic (6.17.0-3.3) ... 78s Preparing to unpack .../19-linux-headers-generic_6.17.0-3.3_ppc64el.deb ... 78s Unpacking linux-headers-generic (6.17.0-3.3) over (6.16.0-16.16) ... 78s Preparing to unpack .../20-linux-libc-dev_6.17.0-3.3_ppc64el.deb ... 78s Unpacking linux-libc-dev:ppc64el (6.17.0-3.3) over (6.16.0-16.16) ... 79s Preparing to unpack .../21-linux-perf_6.17.0-3.3_ppc64el.deb ... 79s Unpacking linux-perf (6.17.0-3.3) over (6.16.0-16.16) ... 79s Preparing to unpack .../22-linux-tools-common_6.17.0-3.3_all.deb ... 79s Unpacking linux-tools-common (6.17.0-3.3) over (6.16.0-16.16) ... 79s Setting up libcurl4t64:ppc64el (8.14.1-1ubuntu3) ... 79s Setting up bpftrace (0.23.5-1ubuntu1) ... 79s Setting up bpftool (7.7.0+6.17.0-3.3) ... 79s Setting up wireless-regdb (2025.07.10-0ubuntu1) ... 79s Setting up libcurl3t64-gnutls:ppc64el (8.14.1-1ubuntu3) ... 79s Setting up linux-libc-dev:ppc64el (6.17.0-3.3) ... 79s Setting up linux-perf (6.17.0-3.3) ... 79s Setting up libfreetype6:ppc64el (2.13.3+dfsg-1build1) ... 79s Setting up dracut-install (108-3ubuntu3) ... 79s Setting up libcryptsetup12:ppc64el (2:2.8.0-1ubuntu2) ... 79s Setting up curl (8.14.1-1ubuntu3) ... 79s Setting up linux-headers-6.17.0-3 (6.17.0-3.3) ... 79s Setting up linux-tools-common (6.17.0-3.3) ... 79s Setting up cryptsetup-bin (2:2.8.0-1ubuntu2) ... 79s Setting up linux-modules-6.17.0-3-generic (6.17.0-3.3) ... 81s Setting up linux-image-6.17.0-3-generic (6.17.0-3.3) ... 82s I: /boot/vmlinux.old is now a symlink to vmlinux-6.16.0-16-generic 82s I: /boot/initrd.img.old is now a symlink to initrd.img-6.16.0-16-generic 82s I: /boot/vmlinux is now a symlink to vmlinux-6.17.0-3-generic 82s I: /boot/initrd.img is now a symlink to initrd.img-6.17.0-3-generic 82s Setting up linux-headers-6.17.0-3-generic (6.17.0-3.3) ... 82s Setting up linux-image-virtual (6.17.0-3.3) ... 82s Setting up linux-image-generic (6.17.0-3.3) ... 82s Setting up linux-headers-generic (6.17.0-3.3) ... 82s Setting up linux-headers-virtual (6.17.0-3.3) ... 82s Setting up linux-generic (6.17.0-3.3) ... 82s Setting up linux-virtual (6.17.0-3.3) ... 82s Processing triggers for libc-bin (2.42-0ubuntu1) ... 82s Processing triggers for man-db (2.13.1-1) ... 84s Processing triggers for install-info (7.1.1-1) ... 84s Processing triggers for linux-image-6.17.0-3-generic (6.17.0-3.3) ... 84s /etc/kernel/postinst.d/initramfs-tools: 84s update-initramfs: Generating /boot/initrd.img-6.17.0-3-generic 91s /etc/kernel/postinst.d/zz-update-grub: 91s Sourcing file `/etc/default/grub' 91s Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' 91s Generating grub configuration file ... 92s Found linux image: /boot/vmlinux-6.17.0-3-generic 92s Found initrd image: /boot/initrd.img-6.17.0-3-generic 92s Found linux image: /boot/vmlinux-6.16.0-16-generic 92s Found initrd image: /boot/initrd.img-6.16.0-16-generic 92s Found linux image: /boot/vmlinux-6.15.0-4-generic 92s Found initrd image: /boot/initrd.img-6.15.0-4-generic 92s Warning: os-prober will not be executed to detect other bootable partitions. 92s Systems on them will not be added to the GRUB boot configuration. 92s Check GRUB_DISABLE_OS_PROBER documentation entry. 92s Adding boot menu entry for UEFI Firmware Settings ... 92s done 92s Reading package lists... 92s Building dependency tree... 92s Reading state information... 93s Solving dependencies... 93s The following packages will be REMOVED: 93s linux-headers-6.15.0-4* linux-headers-6.15.0-4-generic* 93s linux-image-6.15.0-4-generic* linux-modules-6.15.0-4-generic* 93s linux-tools-6.15.0-4* linux-tools-6.15.0-4-generic* 93s 0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded. 93s After this operation, 326 MB disk space will be freed. 93s (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 ... 156619 files and directories currently installed.) 93s Removing linux-headers-6.15.0-4-generic (6.15.0-4.4) ... 93s Removing linux-headers-6.15.0-4 (6.15.0-4.4) ... 97s Removing linux-image-6.15.0-4-generic (6.15.0-4.4) ... 97s /etc/kernel/postrm.d/initramfs-tools: 97s update-initramfs: Deleting /boot/initrd.img-6.15.0-4-generic 97s /etc/kernel/postrm.d/zz-update-grub: 97s Sourcing file `/etc/default/grub' 97s Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' 97s Generating grub configuration file ... 98s Found linux image: /boot/vmlinux-6.17.0-3-generic 98s Found initrd image: /boot/initrd.img-6.17.0-3-generic 98s Found linux image: /boot/vmlinux-6.16.0-16-generic 98s Found initrd image: /boot/initrd.img-6.16.0-16-generic 98s Warning: os-prober will not be executed to detect other bootable partitions. 98s Systems on them will not be added to the GRUB boot configuration. 98s Check GRUB_DISABLE_OS_PROBER documentation entry. 98s Adding boot menu entry for UEFI Firmware Settings ... 98s done 98s Removing linux-modules-6.15.0-4-generic (6.15.0-4.4) ... 100s Removing linux-tools-6.15.0-4-generic (6.15.0-4.4) ... 100s Removing linux-tools-6.15.0-4 (6.15.0-4.4) ... 100s (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 ... 118470 files and directories currently installed.) 100s Purging configuration files for linux-image-6.15.0-4-generic (6.15.0-4.4) ... 100s Purging configuration files for linux-modules-6.15.0-4-generic (6.15.0-4.4) ... 100s autopkgtest [12:27:25]: rebooting testbed after setup commands that affected boot 139s autopkgtest [12:28:04]: testbed running kernel: Linux 6.17.0-3-generic #3-Ubuntu SMP PREEMPT_DYNAMIC Thu Aug 28 11:28:39 UTC 2025 142s autopkgtest [12:28:07]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 152s Get:1 http://ftpmaster.internal/ubuntu questing/main glib2.0 2.85.3-1 (dsc) [4963 B] 152s Get:2 http://ftpmaster.internal/ubuntu questing/main glib2.0 2.85.3-1 (tar) [661 kB] 152s Get:3 http://ftpmaster.internal/ubuntu questing/main glib2.0 2.85.3-1 (tar) [5664 kB] 152s Get:4 http://ftpmaster.internal/ubuntu questing/main glib2.0 2.85.3-1 (diff) [139 kB] 152s gpgv: Signature made Mon Aug 18 20:48:00 2025 UTC 152s gpgv: using RSA key 7A073AD1AE694FA25BFF62E5235C099D3EB33076 152s gpgv: Can't check signature: No public key 152s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.85.3-1.dsc: no acceptable signature found 153s autopkgtest [12:28:18]: testing package glib2.0 version 2.85.3-1 158s autopkgtest [12:28:23]: build not needed 169s autopkgtest [12:28:34]: test build: preparing testbed 169s Reading package lists... 169s Building dependency tree... 169s Reading state information... 169s Solving dependencies... 169s The following packages will be REMOVED: 169s coreutils-from-gnu 169s The following NEW packages will be installed: 169s build-essential coreutils-from-uutils cpp cpp-15 169s cpp-15-powerpc64le-linux-gnu cpp-powerpc64le-linux-gnu g++ g++-15 169s g++-15-powerpc64le-linux-gnu g++-powerpc64le-linux-gnu gcc gcc-15 169s gcc-15-powerpc64le-linux-gnu gcc-powerpc64le-linux-gnu libasan8 libblkid-dev 169s libcc1-0 libffi-dev libgcc-15-dev libgio-2.0-dev libgomp1 libisl23 libitm1 169s liblsan0 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 169s libpcre2-posix3 libpkgconf3 libquadmath0 libselinux1-dev libsepol-dev 169s libstdc++-15-dev libsysprof-capture-4-dev libtsan2 libubsan1 pkgconf 169s pkgconf-bin rust-coreutils uuid-dev zlib1g-dev 170s 0 upgraded, 43 newly installed, 1 to remove and 0 not upgraded. 170s Need to get 264 MB of archives. 170s After this operation, 1008 MB of additional disk space will be used. 170s Get:1 http://ftpmaster.internal/ubuntu questing/main ppc64el rust-coreutils ppc64el 0.1.0+git20250813.4af2a84-0ubuntu6 [3472 kB] 172s Get:2 http://ftpmaster.internal/ubuntu questing/main ppc64el coreutils-from-uutils all 0.0.0~ubuntu22 [7002 B] 172s Get:3 http://ftpmaster.internal/ubuntu questing/main ppc64el libisl23 ppc64el 0.27-1 [882 kB] 172s Get:4 http://ftpmaster.internal/ubuntu questing/main ppc64el libmpc3 ppc64el 1.3.1-1build3 [62.6 kB] 172s Get:5 http://ftpmaster.internal/ubuntu questing/main ppc64el cpp-15-powerpc64le-linux-gnu ppc64el 15.2.0-2ubuntu1 [75.1 MB] 180s Get:6 http://ftpmaster.internal/ubuntu questing/main ppc64el cpp-15 ppc64el 15.2.0-2ubuntu1 [1034 B] 180s Get:7 http://ftpmaster.internal/ubuntu questing/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:15.2.0-1ubuntu2 [5730 B] 180s Get:8 http://ftpmaster.internal/ubuntu questing/main ppc64el cpp ppc64el 4:15.2.0-1ubuntu2 [22.5 kB] 180s Get:9 http://ftpmaster.internal/ubuntu questing/main ppc64el libcc1-0 ppc64el 15.2.0-2ubuntu1 [49.0 kB] 180s Get:10 http://ftpmaster.internal/ubuntu questing/main ppc64el libgomp1 ppc64el 15.2.0-2ubuntu1 [169 kB] 180s Get:11 http://ftpmaster.internal/ubuntu questing/main ppc64el libitm1 ppc64el 15.2.0-2ubuntu1 [32.3 kB] 180s Get:12 http://ftpmaster.internal/ubuntu questing/main ppc64el libasan8 ppc64el 15.2.0-2ubuntu1 [3006 kB] 180s Get:13 http://ftpmaster.internal/ubuntu questing/main ppc64el liblsan0 ppc64el 15.2.0-2ubuntu1 [1374 kB] 180s Get:14 http://ftpmaster.internal/ubuntu questing/main ppc64el libtsan2 ppc64el 15.2.0-2ubuntu1 [2728 kB] 181s Get:15 http://ftpmaster.internal/ubuntu questing/main ppc64el libubsan1 ppc64el 15.2.0-2ubuntu1 [1231 kB] 181s Get:16 http://ftpmaster.internal/ubuntu questing/main ppc64el libquadmath0 ppc64el 15.2.0-2ubuntu1 [160 kB] 181s Get:17 http://ftpmaster.internal/ubuntu questing/main ppc64el libgcc-15-dev ppc64el 15.2.0-2ubuntu1 [1670 kB] 181s Get:18 http://ftpmaster.internal/ubuntu questing/main ppc64el gcc-15-powerpc64le-linux-gnu ppc64el 15.2.0-2ubuntu1 [84.0 MB] 185s Get:19 http://ftpmaster.internal/ubuntu questing/main ppc64el gcc-15 ppc64el 15.2.0-2ubuntu1 [520 kB] 185s Get:20 http://ftpmaster.internal/ubuntu questing/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:15.2.0-1ubuntu2 [1220 B] 185s Get:21 http://ftpmaster.internal/ubuntu questing/main ppc64el gcc ppc64el 4:15.2.0-1ubuntu2 [5026 B] 185s Get:22 http://ftpmaster.internal/ubuntu questing/main ppc64el libstdc++-15-dev ppc64el 15.2.0-2ubuntu1 [2718 kB] 185s Get:23 http://ftpmaster.internal/ubuntu questing/main ppc64el g++-15-powerpc64le-linux-gnu ppc64el 15.2.0-2ubuntu1 [81.0 MB] 189s Get:24 http://ftpmaster.internal/ubuntu questing/main ppc64el g++-15 ppc64el 15.2.0-2ubuntu1 [23.1 kB] 189s Get:25 http://ftpmaster.internal/ubuntu questing/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:15.2.0-1ubuntu2 [966 B] 189s Get:26 http://ftpmaster.internal/ubuntu questing/main ppc64el g++ ppc64el 4:15.2.0-1ubuntu2 [1086 B] 189s Get:27 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el build-essential ppc64el 12.12ubuntu2 [5256 B] 189s Get:28 http://ftpmaster.internal/ubuntu questing/main ppc64el libffi-dev ppc64el 3.5.2-1 [69.9 kB] 189s Get:29 http://ftpmaster.internal/ubuntu questing/main ppc64el uuid-dev ppc64el 2.41-4ubuntu3 [58.5 kB] 189s Get:30 http://ftpmaster.internal/ubuntu questing/main ppc64el libblkid-dev ppc64el 2.41-4ubuntu3 [283 kB] 189s Get:31 http://ftpmaster.internal/ubuntu questing/main ppc64el libsepol-dev ppc64el 3.8.1-1 [505 kB] 189s Get:32 http://ftpmaster.internal/ubuntu questing/main ppc64el libpcre2-16-0 ppc64el 10.46-1 [292 kB] 189s Get:33 http://ftpmaster.internal/ubuntu questing/main ppc64el libpcre2-32-0 ppc64el 10.46-1 [275 kB] 189s Get:34 http://ftpmaster.internal/ubuntu questing/main ppc64el libpcre2-posix3 ppc64el 10.46-1 [7334 B] 189s Get:35 http://ftpmaster.internal/ubuntu questing/main ppc64el libpcre2-dev ppc64el 10.46-1 [937 kB] 189s Get:36 http://ftpmaster.internal/ubuntu questing/main ppc64el libselinux1-dev ppc64el 3.8.1-1 [204 kB] 189s Get:37 http://ftpmaster.internal/ubuntu questing/main ppc64el libmount-dev ppc64el 2.41-4ubuntu3 [36.2 kB] 189s Get:38 http://ftpmaster.internal/ubuntu questing/main ppc64el libsysprof-capture-4-dev ppc64el 48.0-2 [62.2 kB] 189s Get:39 http://ftpmaster.internal/ubuntu questing/main ppc64el libpkgconf3 ppc64el 1.8.1-4 [37.1 kB] 189s Get:40 http://ftpmaster.internal/ubuntu questing/main ppc64el pkgconf-bin ppc64el 1.8.1-4 [22.5 kB] 189s Get:41 http://ftpmaster.internal/ubuntu questing/main ppc64el pkgconf ppc64el 1.8.1-4 [16.7 kB] 189s Get:42 http://ftpmaster.internal/ubuntu questing/main ppc64el zlib1g-dev ppc64el 1:1.3.dfsg+really1.3.1-1ubuntu1 [902 kB] 189s Get:43 http://ftpmaster.internal/ubuntu questing/main ppc64el libgio-2.0-dev ppc64el 2.85.3-1 [2204 kB] 189s Fetched 264 MB in 20s (13.5 MB/s) 189s Selecting previously unselected package rust-coreutils. 190s (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 ... 118471 files and directories currently installed.) 190s Preparing to unpack .../rust-coreutils_0.1.0+git20250813.4af2a84-0ubuntu6_ppc64el.deb ... 190s Unpacking rust-coreutils (0.1.0+git20250813.4af2a84-0ubuntu6) ... 190s Setting up rust-coreutils (0.1.0+git20250813.4af2a84-0ubuntu6) ... 190s dpkg: coreutils-from-gnu: dependency problems, but removing anyway as you requested: 190s coreutils depends on coreutils-from-uutils | coreutils-from-gnu; however: 190s Package coreutils-from-uutils is not installed. 190s Package coreutils-from-gnu is to be removed. 190s 190s (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 ... 119204 files and directories currently installed.) 190s Removing coreutils-from-gnu (0.0.0~ubuntu22) ... 190s Adding 'diversion of /usr/bin/[ to /usr/bin/[.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/arch to /usr/bin/arch.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/b2sum to /usr/bin/b2sum.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/base32 to /usr/bin/base32.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/base64 to /usr/bin/base64.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/basename to /usr/bin/basename.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/basenc to /usr/bin/basenc.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/cat to /usr/bin/cat.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/chcon to /usr/bin/chcon.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/chgrp to /usr/bin/chgrp.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/chmod to /usr/bin/chmod.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/chown to /usr/bin/chown.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/cksum to /usr/bin/cksum.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/comm to /usr/bin/comm.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/cp to /usr/bin/cp.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/csplit to /usr/bin/csplit.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/cut to /usr/bin/cut.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/date to /usr/bin/date.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/dd to /usr/bin/dd.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/df to /usr/bin/df.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/dir to /usr/bin/dir.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/dircolors to /usr/bin/dircolors.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/dirname to /usr/bin/dirname.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/du to /usr/bin/du.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/echo to /usr/bin/echo.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/env to /usr/bin/env.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/expand to /usr/bin/expand.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/expr to /usr/bin/expr.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/factor to /usr/bin/factor.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/false to /usr/bin/false.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/fmt to /usr/bin/fmt.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/fold to /usr/bin/fold.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/groups to /usr/bin/groups.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/head to /usr/bin/head.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/hostid to /usr/bin/hostid.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/id to /usr/bin/id.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/install to /usr/bin/install.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/join to /usr/bin/join.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/link to /usr/bin/link.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/ln to /usr/bin/ln.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/logname to /usr/bin/logname.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/ls to /usr/bin/ls.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/md5sum to /usr/bin/md5sum.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/mkdir to /usr/bin/mkdir.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/mkfifo to /usr/bin/mkfifo.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/mknod to /usr/bin/mknod.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/mktemp to /usr/bin/mktemp.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/mv to /usr/bin/mv.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/nice to /usr/bin/nice.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/nl to /usr/bin/nl.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/nohup to /usr/bin/nohup.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/nproc to /usr/bin/nproc.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/numfmt to /usr/bin/numfmt.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/od to /usr/bin/od.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/paste to /usr/bin/paste.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/pathchk to /usr/bin/pathchk.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/pinky to /usr/bin/pinky.remove-bak by coreutils-switch' 190s Adding 'diversion of /usr/bin/pr to /usr/bin/pr.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/printenv to /usr/bin/printenv.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/printf to /usr/bin/printf.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/ptx to /usr/bin/ptx.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/pwd to /usr/bin/pwd.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/readlink to /usr/bin/readlink.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/realpath to /usr/bin/realpath.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/rm to /usr/bin/rm.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/rmdir to /usr/bin/rmdir.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/runcon to /usr/bin/runcon.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/seq to /usr/bin/seq.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/sha1sum to /usr/bin/sha1sum.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/sha224sum to /usr/bin/sha224sum.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/sha256sum to /usr/bin/sha256sum.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/sha384sum to /usr/bin/sha384sum.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/sha512sum to /usr/bin/sha512sum.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/shred to /usr/bin/shred.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/shuf to /usr/bin/shuf.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/sleep to /usr/bin/sleep.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/sort to /usr/bin/sort.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/split to /usr/bin/split.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/stat to /usr/bin/stat.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/stdbuf to /usr/bin/stdbuf.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/stty to /usr/bin/stty.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/sum to /usr/bin/sum.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/sync to /usr/bin/sync.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/tac to /usr/bin/tac.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/tail to /usr/bin/tail.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/tee to /usr/bin/tee.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/test to /usr/bin/test.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/timeout to /usr/bin/timeout.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/touch to /usr/bin/touch.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/tr to /usr/bin/tr.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/true to /usr/bin/true.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/truncate to /usr/bin/truncate.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/tsort to /usr/bin/tsort.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/tty to /usr/bin/tty.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/uname to /usr/bin/uname.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/unexpand to /usr/bin/unexpand.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/uniq to /usr/bin/uniq.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/unlink to /usr/bin/unlink.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/users to /usr/bin/users.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/vdir to /usr/bin/vdir.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/wc to /usr/bin/wc.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/who to /usr/bin/who.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/whoami to /usr/bin/whoami.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/bin/yes to /usr/bin/yes.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/sbin/chroot to /usr/sbin/chroot.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/arch.1.gz to /usr/share/man/man1/arch.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/b2sum.1.gz to /usr/share/man/man1/b2sum.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/base32.1.gz to /usr/share/man/man1/base32.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/base64.1.gz to /usr/share/man/man1/base64.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/basename.1.gz to /usr/share/man/man1/basename.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/basenc.1.gz to /usr/share/man/man1/basenc.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/cat.1.gz to /usr/share/man/man1/cat.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/chcon.1.gz to /usr/share/man/man1/chcon.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/chgrp.1.gz to /usr/share/man/man1/chgrp.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/chmod.1.gz to /usr/share/man/man1/chmod.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/chown.1.gz to /usr/share/man/man1/chown.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/cksum.1.gz to /usr/share/man/man1/cksum.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/comm.1.gz to /usr/share/man/man1/comm.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/cp.1.gz to /usr/share/man/man1/cp.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/csplit.1.gz to /usr/share/man/man1/csplit.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/cut.1.gz to /usr/share/man/man1/cut.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/date.1.gz to /usr/share/man/man1/date.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/dd.1.gz to /usr/share/man/man1/dd.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/df.1.gz to /usr/share/man/man1/df.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/dir.1.gz to /usr/share/man/man1/dir.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/dircolors.1.gz to /usr/share/man/man1/dircolors.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/dirname.1.gz to /usr/share/man/man1/dirname.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/du.1.gz to /usr/share/man/man1/du.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/echo.1.gz to /usr/share/man/man1/echo.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/env.1.gz to /usr/share/man/man1/env.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/expand.1.gz to /usr/share/man/man1/expand.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/expr.1.gz to /usr/share/man/man1/expr.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/factor.1.gz to /usr/share/man/man1/factor.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/false.1.gz to /usr/share/man/man1/false.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/fmt.1.gz to /usr/share/man/man1/fmt.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/fold.1.gz to /usr/share/man/man1/fold.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/groups.1.gz to /usr/share/man/man1/groups.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/head.1.gz to /usr/share/man/man1/head.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/hostid.1.gz to /usr/share/man/man1/hostid.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/id.1.gz to /usr/share/man/man1/id.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/install.1.gz to /usr/share/man/man1/install.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/join.1.gz to /usr/share/man/man1/join.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/link.1.gz to /usr/share/man/man1/link.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/ln.1.gz to /usr/share/man/man1/ln.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/logname.1.gz to /usr/share/man/man1/logname.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/ls.1.gz to /usr/share/man/man1/ls.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/md5sum.1.gz to /usr/share/man/man1/md5sum.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/mkdir.1.gz to /usr/share/man/man1/mkdir.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/mkfifo.1.gz to /usr/share/man/man1/mkfifo.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/mknod.1.gz to /usr/share/man/man1/mknod.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/mktemp.1.gz to /usr/share/man/man1/mktemp.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/mv.1.gz to /usr/share/man/man1/mv.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/nice.1.gz to /usr/share/man/man1/nice.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/nl.1.gz to /usr/share/man/man1/nl.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/nohup.1.gz to /usr/share/man/man1/nohup.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/nproc.1.gz to /usr/share/man/man1/nproc.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/numfmt.1.gz to /usr/share/man/man1/numfmt.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/od.1.gz to /usr/share/man/man1/od.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/paste.1.gz to /usr/share/man/man1/paste.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/pathchk.1.gz to /usr/share/man/man1/pathchk.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/pinky.1.gz to /usr/share/man/man1/pinky.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/pr.1.gz to /usr/share/man/man1/pr.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/printenv.1.gz to /usr/share/man/man1/printenv.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/printf.1.gz to /usr/share/man/man1/printf.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/ptx.1.gz to /usr/share/man/man1/ptx.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/pwd.1.gz to /usr/share/man/man1/pwd.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/readlink.1.gz to /usr/share/man/man1/readlink.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/realpath.1.gz to /usr/share/man/man1/realpath.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/rm.1.gz to /usr/share/man/man1/rm.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/rmdir.1.gz to /usr/share/man/man1/rmdir.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/runcon.1.gz to /usr/share/man/man1/runcon.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/seq.1.gz to /usr/share/man/man1/seq.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/sha1sum.1.gz to /usr/share/man/man1/sha1sum.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/sha224sum.1.gz to /usr/share/man/man1/sha224sum.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/sha256sum.1.gz to /usr/share/man/man1/sha256sum.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/sha384sum.1.gz to /usr/share/man/man1/sha384sum.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/sha512sum.1.gz to /usr/share/man/man1/sha512sum.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/shred.1.gz to /usr/share/man/man1/shred.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/shuf.1.gz to /usr/share/man/man1/shuf.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/sleep.1.gz to /usr/share/man/man1/sleep.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/sort.1.gz to /usr/share/man/man1/sort.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/split.1.gz to /usr/share/man/man1/split.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/stat.1.gz to /usr/share/man/man1/stat.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/stdbuf.1.gz to /usr/share/man/man1/stdbuf.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/stty.1.gz to /usr/share/man/man1/stty.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/sum.1.gz to /usr/share/man/man1/sum.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/sync.1.gz to /usr/share/man/man1/sync.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/tac.1.gz to /usr/share/man/man1/tac.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/tail.1.gz to /usr/share/man/man1/tail.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/tee.1.gz to /usr/share/man/man1/tee.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/test.1.gz to /usr/share/man/man1/test.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/timeout.1.gz to /usr/share/man/man1/timeout.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/touch.1.gz to /usr/share/man/man1/touch.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/tr.1.gz to /usr/share/man/man1/tr.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/true.1.gz to /usr/share/man/man1/true.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/truncate.1.gz to /usr/share/man/man1/truncate.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/tsort.1.gz to /usr/share/man/man1/tsort.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/tty.1.gz to /usr/share/man/man1/tty.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/uname.1.gz to /usr/share/man/man1/uname.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/unexpand.1.gz to /usr/share/man/man1/unexpand.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/uniq.1.gz to /usr/share/man/man1/uniq.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/unlink.1.gz to /usr/share/man/man1/unlink.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/users.1.gz to /usr/share/man/man1/users.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/vdir.1.gz to /usr/share/man/man1/vdir.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/wc.1.gz to /usr/share/man/man1/wc.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/who.1.gz to /usr/share/man/man1/who.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/whoami.1.gz to /usr/share/man/man1/whoami.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/yes.1.gz to /usr/share/man/man1/yes.1.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man8/chroot.8.gz to /usr/share/man/man8/chroot.8.gz.remove-bak by coreutils-switch' 191s Adding 'diversion of /usr/share/man/man1/[.1.gz to /usr/share/man/man1/[.1.gz.remove-bak by coreutils-switch' 191s Selecting previously unselected package coreutils-from-uutils. 192s (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 ... 119413 files and directories currently installed.) 192s Preparing to unpack .../coreutils-from-uutils_0.0.0~ubuntu22_all.deb ... 192s Removing 'diversion of /usr/bin/[ to /usr/bin/[.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/arch to /usr/bin/arch.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/b2sum to /usr/bin/b2sum.remove-bak by coreutils-switch' 192s No diversion 'diversion of /usr/bin/b3sum to /usr/bin/b3sum.remove-bak by coreutils-switch', none removed. 192s Removing 'diversion of /usr/bin/base32 to /usr/bin/base32.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/base64 to /usr/bin/base64.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/basename to /usr/bin/basename.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/basenc to /usr/bin/basenc.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/cat to /usr/bin/cat.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/chcon to /usr/bin/chcon.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/chgrp to /usr/bin/chgrp.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/chmod to /usr/bin/chmod.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/chown to /usr/bin/chown.remove-bak by coreutils-switch' 192s No diversion 'diversion of /usr/bin/chroot to /usr/bin/chroot.remove-bak by coreutils-switch', none removed. 192s Removing 'diversion of /usr/bin/cksum to /usr/bin/cksum.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/comm to /usr/bin/comm.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/cp to /usr/bin/cp.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/csplit to /usr/bin/csplit.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/cut to /usr/bin/cut.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/date to /usr/bin/date.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/dd to /usr/bin/dd.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/df to /usr/bin/df.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/dir to /usr/bin/dir.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/dircolors to /usr/bin/dircolors.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/dirname to /usr/bin/dirname.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/du to /usr/bin/du.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/echo to /usr/bin/echo.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/env to /usr/bin/env.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/expand to /usr/bin/expand.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/expr to /usr/bin/expr.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/factor to /usr/bin/factor.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/false to /usr/bin/false.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/fmt to /usr/bin/fmt.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/fold to /usr/bin/fold.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/groups to /usr/bin/groups.remove-bak by coreutils-switch' 192s No diversion 'diversion of /usr/bin/hashsum to /usr/bin/hashsum.remove-bak by coreutils-switch', none removed. 192s Removing 'diversion of /usr/bin/head to /usr/bin/head.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/hostid to /usr/bin/hostid.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/id to /usr/bin/id.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/install to /usr/bin/install.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/join to /usr/bin/join.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/link to /usr/bin/link.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/ln to /usr/bin/ln.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/logname to /usr/bin/logname.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/ls to /usr/bin/ls.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/md5sum to /usr/bin/md5sum.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/mkdir to /usr/bin/mkdir.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/mkfifo to /usr/bin/mkfifo.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/mknod to /usr/bin/mknod.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/mktemp to /usr/bin/mktemp.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/mv to /usr/bin/mv.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/nice to /usr/bin/nice.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/nl to /usr/bin/nl.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/nohup to /usr/bin/nohup.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/nproc to /usr/bin/nproc.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/numfmt to /usr/bin/numfmt.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/od to /usr/bin/od.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/paste to /usr/bin/paste.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/pathchk to /usr/bin/pathchk.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/pinky to /usr/bin/pinky.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/pr to /usr/bin/pr.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/printenv to /usr/bin/printenv.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/printf to /usr/bin/printf.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/ptx to /usr/bin/ptx.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/pwd to /usr/bin/pwd.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/readlink to /usr/bin/readlink.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/realpath to /usr/bin/realpath.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/rm to /usr/bin/rm.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/rmdir to /usr/bin/rmdir.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/runcon to /usr/bin/runcon.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/seq to /usr/bin/seq.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/sha1sum to /usr/bin/sha1sum.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/sha224sum to /usr/bin/sha224sum.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/sha256sum to /usr/bin/sha256sum.remove-bak by coreutils-switch' 192s No diversion 'diversion of /usr/bin/sha3-224sum to /usr/bin/sha3-224sum.remove-bak by coreutils-switch', none removed. 192s No diversion 'diversion of /usr/bin/sha3-256sum to /usr/bin/sha3-256sum.remove-bak by coreutils-switch', none removed. 192s No diversion 'diversion of /usr/bin/sha3-384sum to /usr/bin/sha3-384sum.remove-bak by coreutils-switch', none removed. 192s No diversion 'diversion of /usr/bin/sha3-512sum to /usr/bin/sha3-512sum.remove-bak by coreutils-switch', none removed. 192s Removing 'diversion of /usr/bin/sha384sum to /usr/bin/sha384sum.remove-bak by coreutils-switch' 192s No diversion 'diversion of /usr/bin/sha3sum to /usr/bin/sha3sum.remove-bak by coreutils-switch', none removed. 192s Removing 'diversion of /usr/bin/sha512sum to /usr/bin/sha512sum.remove-bak by coreutils-switch' 192s No diversion 'diversion of /usr/bin/shake128sum to /usr/bin/shake128sum.remove-bak by coreutils-switch', none removed. 192s No diversion 'diversion of /usr/bin/shake256sum to /usr/bin/shake256sum.remove-bak by coreutils-switch', none removed. 192s Removing 'diversion of /usr/bin/shred to /usr/bin/shred.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/shuf to /usr/bin/shuf.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/sleep to /usr/bin/sleep.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/sort to /usr/bin/sort.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/split to /usr/bin/split.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/stat to /usr/bin/stat.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/stdbuf to /usr/bin/stdbuf.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/stty to /usr/bin/stty.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/sum to /usr/bin/sum.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/sync to /usr/bin/sync.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/tac to /usr/bin/tac.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/tail to /usr/bin/tail.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/tee to /usr/bin/tee.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/test to /usr/bin/test.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/timeout to /usr/bin/timeout.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/touch to /usr/bin/touch.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/tr to /usr/bin/tr.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/true to /usr/bin/true.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/truncate to /usr/bin/truncate.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/tsort to /usr/bin/tsort.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/tty to /usr/bin/tty.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/uname to /usr/bin/uname.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/unexpand to /usr/bin/unexpand.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/uniq to /usr/bin/uniq.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/unlink to /usr/bin/unlink.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/users to /usr/bin/users.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/vdir to /usr/bin/vdir.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/wc to /usr/bin/wc.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/who to /usr/bin/who.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/whoami to /usr/bin/whoami.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/bin/yes to /usr/bin/yes.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/arch.1.gz to /usr/share/man/man1/arch.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/base32.1.gz to /usr/share/man/man1/base32.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/base64.1.gz to /usr/share/man/man1/base64.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/basename.1.gz to /usr/share/man/man1/basename.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/basenc.1.gz to /usr/share/man/man1/basenc.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/cat.1.gz to /usr/share/man/man1/cat.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/chcon.1.gz to /usr/share/man/man1/chcon.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/chgrp.1.gz to /usr/share/man/man1/chgrp.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/chmod.1.gz to /usr/share/man/man1/chmod.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/chown.1.gz to /usr/share/man/man1/chown.1.gz.remove-bak by coreutils-switch' 192s No diversion 'diversion of /usr/share/man/man1/chroot.1.gz to /usr/share/man/man1/chroot.1.gz.remove-bak by coreutils-switch', none removed. 192s Removing 'diversion of /usr/share/man/man1/cksum.1.gz to /usr/share/man/man1/cksum.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/comm.1.gz to /usr/share/man/man1/comm.1.gz.remove-bak by coreutils-switch' 192s No diversion 'diversion of /usr/share/man/man1/coreutils.1.gz to /usr/share/man/man1/coreutils.1.gz.remove-bak by coreutils-switch', none removed. 192s Removing 'diversion of /usr/share/man/man1/cp.1.gz to /usr/share/man/man1/cp.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/csplit.1.gz to /usr/share/man/man1/csplit.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/cut.1.gz to /usr/share/man/man1/cut.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/date.1.gz to /usr/share/man/man1/date.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/dd.1.gz to /usr/share/man/man1/dd.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/df.1.gz to /usr/share/man/man1/df.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/dir.1.gz to /usr/share/man/man1/dir.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/dircolors.1.gz to /usr/share/man/man1/dircolors.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/dirname.1.gz to /usr/share/man/man1/dirname.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/du.1.gz to /usr/share/man/man1/du.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/echo.1.gz to /usr/share/man/man1/echo.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/env.1.gz to /usr/share/man/man1/env.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/expand.1.gz to /usr/share/man/man1/expand.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/expr.1.gz to /usr/share/man/man1/expr.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/factor.1.gz to /usr/share/man/man1/factor.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/false.1.gz to /usr/share/man/man1/false.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/fmt.1.gz to /usr/share/man/man1/fmt.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/fold.1.gz to /usr/share/man/man1/fold.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/groups.1.gz to /usr/share/man/man1/groups.1.gz.remove-bak by coreutils-switch' 192s No diversion 'diversion of /usr/share/man/man1/hashsum.1.gz to /usr/share/man/man1/hashsum.1.gz.remove-bak by coreutils-switch', none removed. 192s Removing 'diversion of /usr/share/man/man1/head.1.gz to /usr/share/man/man1/head.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/hostid.1.gz to /usr/share/man/man1/hostid.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/id.1.gz to /usr/share/man/man1/id.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/install.1.gz to /usr/share/man/man1/install.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/join.1.gz to /usr/share/man/man1/join.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/link.1.gz to /usr/share/man/man1/link.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/ln.1.gz to /usr/share/man/man1/ln.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/logname.1.gz to /usr/share/man/man1/logname.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/ls.1.gz to /usr/share/man/man1/ls.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/mkdir.1.gz to /usr/share/man/man1/mkdir.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/mkfifo.1.gz to /usr/share/man/man1/mkfifo.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/mknod.1.gz to /usr/share/man/man1/mknod.1.gz.remove-bak by coreutils-switch' 192s Removing 'diversion of /usr/share/man/man1/mktemp.1.gz to /usr/share/man/man1/mktemp.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/mv.1.gz to /usr/share/man/man1/mv.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/nice.1.gz to /usr/share/man/man1/nice.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/nl.1.gz to /usr/share/man/man1/nl.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/nohup.1.gz to /usr/share/man/man1/nohup.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/nproc.1.gz to /usr/share/man/man1/nproc.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/numfmt.1.gz to /usr/share/man/man1/numfmt.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/od.1.gz to /usr/share/man/man1/od.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/paste.1.gz to /usr/share/man/man1/paste.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/pathchk.1.gz to /usr/share/man/man1/pathchk.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/pinky.1.gz to /usr/share/man/man1/pinky.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/pr.1.gz to /usr/share/man/man1/pr.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/printenv.1.gz to /usr/share/man/man1/printenv.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/printf.1.gz to /usr/share/man/man1/printf.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/ptx.1.gz to /usr/share/man/man1/ptx.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/pwd.1.gz to /usr/share/man/man1/pwd.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/readlink.1.gz to /usr/share/man/man1/readlink.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/realpath.1.gz to /usr/share/man/man1/realpath.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/rm.1.gz to /usr/share/man/man1/rm.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/rmdir.1.gz to /usr/share/man/man1/rmdir.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/runcon.1.gz to /usr/share/man/man1/runcon.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/seq.1.gz to /usr/share/man/man1/seq.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/shred.1.gz to /usr/share/man/man1/shred.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/shuf.1.gz to /usr/share/man/man1/shuf.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/sleep.1.gz to /usr/share/man/man1/sleep.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/sort.1.gz to /usr/share/man/man1/sort.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/split.1.gz to /usr/share/man/man1/split.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/stat.1.gz to /usr/share/man/man1/stat.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/stdbuf.1.gz to /usr/share/man/man1/stdbuf.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/stty.1.gz to /usr/share/man/man1/stty.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/sum.1.gz to /usr/share/man/man1/sum.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/sync.1.gz to /usr/share/man/man1/sync.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/tac.1.gz to /usr/share/man/man1/tac.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/tail.1.gz to /usr/share/man/man1/tail.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/tee.1.gz to /usr/share/man/man1/tee.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/test.1.gz to /usr/share/man/man1/test.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/timeout.1.gz to /usr/share/man/man1/timeout.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/touch.1.gz to /usr/share/man/man1/touch.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/tr.1.gz to /usr/share/man/man1/tr.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/true.1.gz to /usr/share/man/man1/true.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/truncate.1.gz to /usr/share/man/man1/truncate.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/tsort.1.gz to /usr/share/man/man1/tsort.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/tty.1.gz to /usr/share/man/man1/tty.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/uname.1.gz to /usr/share/man/man1/uname.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/unexpand.1.gz to /usr/share/man/man1/unexpand.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/uniq.1.gz to /usr/share/man/man1/uniq.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/unlink.1.gz to /usr/share/man/man1/unlink.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/users.1.gz to /usr/share/man/man1/users.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/vdir.1.gz to /usr/share/man/man1/vdir.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/wc.1.gz to /usr/share/man/man1/wc.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/who.1.gz to /usr/share/man/man1/who.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/whoami.1.gz to /usr/share/man/man1/whoami.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/yes.1.gz to /usr/share/man/man1/yes.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/[.1.gz to /usr/share/man/man1/[.1.gz.remove-bak by coreutils-switch' 193s Unpacking coreutils-from-uutils (0.0.0~ubuntu22) ... 193s Setting up coreutils-from-uutils (0.0.0~ubuntu22) ... 193s Removing 'diversion of /usr/share/man/man1/sha512sum.1.gz to /usr/share/man/man1/sha512sum.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/sha1sum.1.gz to /usr/share/man/man1/sha1sum.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/sha384sum.1.gz to /usr/share/man/man1/sha384sum.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/b2sum.1.gz to /usr/share/man/man1/b2sum.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/sha256sum.1.gz to /usr/share/man/man1/sha256sum.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/sbin/chroot to /usr/sbin/chroot.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/sha224sum.1.gz to /usr/share/man/man1/sha224sum.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man1/md5sum.1.gz to /usr/share/man/man1/md5sum.1.gz.remove-bak by coreutils-switch' 193s Removing 'diversion of /usr/share/man/man8/chroot.8.gz to /usr/share/man/man8/chroot.8.gz.remove-bak by coreutils-switch' 193s Selecting previously unselected package libisl23:ppc64el. 193s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 119210 files and directories currently installed.) 193s Preparing to unpack .../00-libisl23_0.27-1_ppc64el.deb ... 193s Unpacking libisl23:ppc64el (0.27-1) ... 193s Selecting previously unselected package libmpc3:ppc64el. 193s Preparing to unpack .../01-libmpc3_1.3.1-1build3_ppc64el.deb ... 193s Unpacking libmpc3:ppc64el (1.3.1-1build3) ... 193s Selecting previously unselected package cpp-15-powerpc64le-linux-gnu. 193s Preparing to unpack .../02-cpp-15-powerpc64le-linux-gnu_15.2.0-2ubuntu1_ppc64el.deb ... 193s Unpacking cpp-15-powerpc64le-linux-gnu (15.2.0-2ubuntu1) ... 194s Selecting previously unselected package cpp-15. 194s Preparing to unpack .../03-cpp-15_15.2.0-2ubuntu1_ppc64el.deb ... 194s Unpacking cpp-15 (15.2.0-2ubuntu1) ... 194s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 194s Preparing to unpack .../04-cpp-powerpc64le-linux-gnu_4%3a15.2.0-1ubuntu2_ppc64el.deb ... 194s Unpacking cpp-powerpc64le-linux-gnu (4:15.2.0-1ubuntu2) ... 194s Selecting previously unselected package cpp. 194s Preparing to unpack .../05-cpp_4%3a15.2.0-1ubuntu2_ppc64el.deb ... 194s Unpacking cpp (4:15.2.0-1ubuntu2) ... 194s Selecting previously unselected package libcc1-0:ppc64el. 194s Preparing to unpack .../06-libcc1-0_15.2.0-2ubuntu1_ppc64el.deb ... 194s Unpacking libcc1-0:ppc64el (15.2.0-2ubuntu1) ... 194s Selecting previously unselected package libgomp1:ppc64el. 194s Preparing to unpack .../07-libgomp1_15.2.0-2ubuntu1_ppc64el.deb ... 194s Unpacking libgomp1:ppc64el (15.2.0-2ubuntu1) ... 194s Selecting previously unselected package libitm1:ppc64el. 194s Preparing to unpack .../08-libitm1_15.2.0-2ubuntu1_ppc64el.deb ... 194s Unpacking libitm1:ppc64el (15.2.0-2ubuntu1) ... 194s Selecting previously unselected package libasan8:ppc64el. 194s Preparing to unpack .../09-libasan8_15.2.0-2ubuntu1_ppc64el.deb ... 194s Unpacking libasan8:ppc64el (15.2.0-2ubuntu1) ... 194s Selecting previously unselected package liblsan0:ppc64el. 194s Preparing to unpack .../10-liblsan0_15.2.0-2ubuntu1_ppc64el.deb ... 194s Unpacking liblsan0:ppc64el (15.2.0-2ubuntu1) ... 194s Selecting previously unselected package libtsan2:ppc64el. 194s Preparing to unpack .../11-libtsan2_15.2.0-2ubuntu1_ppc64el.deb ... 194s Unpacking libtsan2:ppc64el (15.2.0-2ubuntu1) ... 195s Selecting previously unselected package libubsan1:ppc64el. 195s Preparing to unpack .../12-libubsan1_15.2.0-2ubuntu1_ppc64el.deb ... 195s Unpacking libubsan1:ppc64el (15.2.0-2ubuntu1) ... 195s Selecting previously unselected package libquadmath0:ppc64el. 195s Preparing to unpack .../13-libquadmath0_15.2.0-2ubuntu1_ppc64el.deb ... 195s Unpacking libquadmath0:ppc64el (15.2.0-2ubuntu1) ... 195s Selecting previously unselected package libgcc-15-dev:ppc64el. 195s Preparing to unpack .../14-libgcc-15-dev_15.2.0-2ubuntu1_ppc64el.deb ... 195s Unpacking libgcc-15-dev:ppc64el (15.2.0-2ubuntu1) ... 195s Selecting previously unselected package gcc-15-powerpc64le-linux-gnu. 195s Preparing to unpack .../15-gcc-15-powerpc64le-linux-gnu_15.2.0-2ubuntu1_ppc64el.deb ... 195s Unpacking gcc-15-powerpc64le-linux-gnu (15.2.0-2ubuntu1) ... 196s Selecting previously unselected package gcc-15. 196s Preparing to unpack .../16-gcc-15_15.2.0-2ubuntu1_ppc64el.deb ... 196s Unpacking gcc-15 (15.2.0-2ubuntu1) ... 196s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 196s Preparing to unpack .../17-gcc-powerpc64le-linux-gnu_4%3a15.2.0-1ubuntu2_ppc64el.deb ... 196s Unpacking gcc-powerpc64le-linux-gnu (4:15.2.0-1ubuntu2) ... 196s Selecting previously unselected package gcc. 196s Preparing to unpack .../18-gcc_4%3a15.2.0-1ubuntu2_ppc64el.deb ... 196s Unpacking gcc (4:15.2.0-1ubuntu2) ... 196s Selecting previously unselected package libstdc++-15-dev:ppc64el. 196s Preparing to unpack .../19-libstdc++-15-dev_15.2.0-2ubuntu1_ppc64el.deb ... 196s Unpacking libstdc++-15-dev:ppc64el (15.2.0-2ubuntu1) ... 196s Selecting previously unselected package g++-15-powerpc64le-linux-gnu. 196s Preparing to unpack .../20-g++-15-powerpc64le-linux-gnu_15.2.0-2ubuntu1_ppc64el.deb ... 196s Unpacking g++-15-powerpc64le-linux-gnu (15.2.0-2ubuntu1) ... 197s Selecting previously unselected package g++-15. 197s Preparing to unpack .../21-g++-15_15.2.0-2ubuntu1_ppc64el.deb ... 197s Unpacking g++-15 (15.2.0-2ubuntu1) ... 197s Selecting previously unselected package g++-powerpc64le-linux-gnu. 197s Preparing to unpack .../22-g++-powerpc64le-linux-gnu_4%3a15.2.0-1ubuntu2_ppc64el.deb ... 197s Unpacking g++-powerpc64le-linux-gnu (4:15.2.0-1ubuntu2) ... 197s Selecting previously unselected package g++. 197s Preparing to unpack .../23-g++_4%3a15.2.0-1ubuntu2_ppc64el.deb ... 197s Unpacking g++ (4:15.2.0-1ubuntu2) ... 197s Selecting previously unselected package build-essential. 197s Preparing to unpack .../24-build-essential_12.12ubuntu2_ppc64el.deb ... 197s Unpacking build-essential (12.12ubuntu2) ... 197s Selecting previously unselected package libffi-dev:ppc64el. 197s Preparing to unpack .../25-libffi-dev_3.5.2-1_ppc64el.deb ... 197s Unpacking libffi-dev:ppc64el (3.5.2-1) ... 198s Selecting previously unselected package uuid-dev:ppc64el. 198s Preparing to unpack .../26-uuid-dev_2.41-4ubuntu3_ppc64el.deb ... 198s Unpacking uuid-dev:ppc64el (2.41-4ubuntu3) ... 198s Selecting previously unselected package libblkid-dev:ppc64el. 198s Preparing to unpack .../27-libblkid-dev_2.41-4ubuntu3_ppc64el.deb ... 198s Unpacking libblkid-dev:ppc64el (2.41-4ubuntu3) ... 198s Selecting previously unselected package libsepol-dev:ppc64el. 198s Preparing to unpack .../28-libsepol-dev_3.8.1-1_ppc64el.deb ... 198s Unpacking libsepol-dev:ppc64el (3.8.1-1) ... 198s Selecting previously unselected package libpcre2-16-0:ppc64el. 198s Preparing to unpack .../29-libpcre2-16-0_10.46-1_ppc64el.deb ... 198s Unpacking libpcre2-16-0:ppc64el (10.46-1) ... 198s Selecting previously unselected package libpcre2-32-0:ppc64el. 198s Preparing to unpack .../30-libpcre2-32-0_10.46-1_ppc64el.deb ... 198s Unpacking libpcre2-32-0:ppc64el (10.46-1) ... 198s Selecting previously unselected package libpcre2-posix3:ppc64el. 198s Preparing to unpack .../31-libpcre2-posix3_10.46-1_ppc64el.deb ... 198s Unpacking libpcre2-posix3:ppc64el (10.46-1) ... 198s Selecting previously unselected package libpcre2-dev:ppc64el. 198s Preparing to unpack .../32-libpcre2-dev_10.46-1_ppc64el.deb ... 198s Unpacking libpcre2-dev:ppc64el (10.46-1) ... 198s Selecting previously unselected package libselinux1-dev:ppc64el. 198s Preparing to unpack .../33-libselinux1-dev_3.8.1-1_ppc64el.deb ... 198s Unpacking libselinux1-dev:ppc64el (3.8.1-1) ... 198s Selecting previously unselected package libmount-dev:ppc64el. 198s Preparing to unpack .../34-libmount-dev_2.41-4ubuntu3_ppc64el.deb ... 198s Unpacking libmount-dev:ppc64el (2.41-4ubuntu3) ... 198s Selecting previously unselected package libsysprof-capture-4-dev:ppc64el. 198s Preparing to unpack .../35-libsysprof-capture-4-dev_48.0-2_ppc64el.deb ... 198s Unpacking libsysprof-capture-4-dev:ppc64el (48.0-2) ... 198s Selecting previously unselected package libpkgconf3:ppc64el. 198s Preparing to unpack .../36-libpkgconf3_1.8.1-4_ppc64el.deb ... 198s Unpacking libpkgconf3:ppc64el (1.8.1-4) ... 198s Selecting previously unselected package pkgconf-bin. 198s Preparing to unpack .../37-pkgconf-bin_1.8.1-4_ppc64el.deb ... 198s Unpacking pkgconf-bin (1.8.1-4) ... 198s Selecting previously unselected package pkgconf:ppc64el. 198s Preparing to unpack .../38-pkgconf_1.8.1-4_ppc64el.deb ... 198s Unpacking pkgconf:ppc64el (1.8.1-4) ... 198s Selecting previously unselected package zlib1g-dev:ppc64el. 198s Preparing to unpack .../39-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_ppc64el.deb ... 198s Unpacking zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 198s Selecting previously unselected package libgio-2.0-dev:ppc64el. 198s Preparing to unpack .../40-libgio-2.0-dev_2.85.3-1_ppc64el.deb ... 198s Unpacking libgio-2.0-dev:ppc64el (2.85.3-1) ... 198s Setting up libgomp1:ppc64el (15.2.0-2ubuntu1) ... 198s Setting up libffi-dev:ppc64el (3.5.2-1) ... 198s Setting up libpcre2-16-0:ppc64el (10.46-1) ... 198s Setting up libsysprof-capture-4-dev:ppc64el (48.0-2) ... 198s Setting up libpcre2-32-0:ppc64el (10.46-1) ... 198s Setting up libpkgconf3:ppc64el (1.8.1-4) ... 198s Setting up uuid-dev:ppc64el (2.41-4ubuntu3) ... 198s Setting up libquadmath0:ppc64el (15.2.0-2ubuntu1) ... 198s Setting up libmpc3:ppc64el (1.3.1-1build3) ... 198s Setting up libsepol-dev:ppc64el (3.8.1-1) ... 198s Setting up pkgconf-bin (1.8.1-4) ... 198s Setting up libubsan1:ppc64el (15.2.0-2ubuntu1) ... 198s Setting up zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 198s Setting up libpcre2-posix3:ppc64el (10.46-1) ... 198s Setting up libasan8:ppc64el (15.2.0-2ubuntu1) ... 198s Setting up libtsan2:ppc64el (15.2.0-2ubuntu1) ... 198s Setting up libisl23:ppc64el (0.27-1) ... 198s Setting up libcc1-0:ppc64el (15.2.0-2ubuntu1) ... 198s Setting up liblsan0:ppc64el (15.2.0-2ubuntu1) ... 198s Setting up libitm1:ppc64el (15.2.0-2ubuntu1) ... 198s Setting up libblkid-dev:ppc64el (2.41-4ubuntu3) ... 198s Setting up libgcc-15-dev:ppc64el (15.2.0-2ubuntu1) ... 198s Setting up libpcre2-dev:ppc64el (10.46-1) ... 198s Setting up libselinux1-dev:ppc64el (3.8.1-1) ... 198s Setting up pkgconf:ppc64el (1.8.1-4) ... 198s Setting up cpp-15-powerpc64le-linux-gnu (15.2.0-2ubuntu1) ... 198s Setting up libstdc++-15-dev:ppc64el (15.2.0-2ubuntu1) ... 198s Setting up cpp-15 (15.2.0-2ubuntu1) ... 198s Setting up libmount-dev:ppc64el (2.41-4ubuntu3) ... 198s Setting up cpp-powerpc64le-linux-gnu (4:15.2.0-1ubuntu2) ... 198s Setting up libgio-2.0-dev:ppc64el (2.85.3-1) ... 198s Setting up gcc-15-powerpc64le-linux-gnu (15.2.0-2ubuntu1) ... 198s Setting up gcc-15 (15.2.0-2ubuntu1) ... 198s Setting up gcc-powerpc64le-linux-gnu (4:15.2.0-1ubuntu2) ... 198s Setting up cpp (4:15.2.0-1ubuntu2) ... 198s Setting up g++-15-powerpc64le-linux-gnu (15.2.0-2ubuntu1) ... 198s Setting up gcc (4:15.2.0-1ubuntu2) ... 198s Setting up g++-15 (15.2.0-2ubuntu1) ... 198s Setting up g++-powerpc64le-linux-gnu (4:15.2.0-1ubuntu2) ... 198s Setting up g++ (4:15.2.0-1ubuntu2) ... 198s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 198s Setting up build-essential (12.12ubuntu2) ... 198s Processing triggers for libc-bin (2.42-0ubuntu1) ... 198s Processing triggers for man-db (2.13.1-1) ... 202s Processing triggers for libglib2.0-0t64:ppc64el (2.85.3-1) ... 202s No schema files found: doing nothing. 202s Processing triggers for install-info (7.1.1-1) ... 203s autopkgtest [12:29:08]: test build: [----------------------- 203s + mode=dynamic 203s + getopt -o --long static -n debian/tests/build -- 203s + getopt_temp= -- 203s + eval set -- -- 203s + set -- -- 203s + true 203s + shift 203s + break 203s + mktemp -d 203s + WORKDIR=/tmp/tmp.xBCY2MRSzt 203s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 203s + cd /tmp/tmp.xBCY2MRSzt 203s + [ -n ] 203s + CROSS_COMPILE= 203s + cat 203s + cat 203s + cat 203s + cat 203s + cat 203s + cat 203s + cflags= 203s + pcflags= 203s + packages=glib-2.0 203s + pkg-config --cflags --libs glib-2.0 203s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 203s build (glib, dynamic): OK 203s + echo build (glib, dynamic): OK 203s + [ -x glib-dynamic ] 203s + foo=bar ./glib-dynamic 203s run (glib, dynamic): OK 203s + echo run (glib, dynamic): OK 203s + cflags= 203s + pcflags= 203s + packages=gobject-2.0 203s + pkg-config --cflags --libs gobject-2.0 203s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 203s build (gobject, dynamic): OK 203s run (gobject, dynamic): OK 203s + echo build (gobject, dynamic): OK 203s + [ -x gobject-dynamic ] 203s + foo=bar ./gobject-dynamic 203s + echo run (gobject, dynamic): OK 203s + cflags= 203s + pcflags= 203s + packages=gio-2.0 203s + pkg-config --cflags --libs gio-2.0 203s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 204s build (gio, dynamic): OK 204s + echo build (gio, dynamic): OK 204s + [ -x gio-dynamic ] 204s + foo=bar ./gio-dynamic 204s run (gio, dynamic): OK 204s + echo run (gio, dynamic): OK 204s + cflags= 204s + pcflags= 204s + packages=gio-unix-2.0 204s + pkg-config --cflags --libs gio-unix-2.0 204s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 204s build (gio-unix, dynamic): OK 204s + echo build (gio-unix, dynamic): OK 204s + [ -x gio-unix-dynamic ] 204s + foo=bar ./gio-unix-dynamic 204s run (gio-unix, dynamic): OK 204s + echo run (gio-unix, dynamic): OK 204s + cflags= 204s + pcflags= 204s + packages=gmodule-2.0 204s + pkg-config --cflags --libs gmodule-2.0 204s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 204s build (gmodule, dynamic): OK 204s + echo build (gmodule, dynamic): OK 204s + [ -x gmodule-dynamic ] 204s + foo=bar ./gmodule-dynamic 204s run (gmodule, dynamic): OK 204s + echo run (gmodule, dynamic): OK 204s + cflags= 204s + pcflags= 204s + packages=gthread-2.0 204s + pkg-config --cflags --libs gthread-2.0 204s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 204s build (gthread, dynamic): OK 204s + echo build (gthread, dynamic): OK 204s + [ -x gthread-dynamic ] 204s + foo=bar ./gthread-dynamic 204s run (gthread, dynamic): OK 204s + echo run (gthread, dynamic): OK 204s + rm -rf /tmp/tmp.xBCY2MRSzt 204s autopkgtest [12:29:09]: test build: -----------------------] 205s autopkgtest [12:29:10]: test build: - - - - - - - - - - results - - - - - - - - - - 205s build PASS (superficial) 205s autopkgtest [12:29:10]: test build-static: preparing testbed 205s Reading package lists... 205s Building dependency tree... 205s Reading state information... 205s Solving dependencies... 205s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 206s autopkgtest [12:29:11]: test build-static: [----------------------- 206s + mode=dynamic 206s + getopt -o --long static -n debian/tests/build -- --static 206s + getopt_temp= --static -- 206s + eval set -- --static -- 206s + set -- --static -- 206s + true 206s + mode=static 206s + shift 206s + continue 206s + true 206s + shift 206s + break 206s + mktemp -d 206s + WORKDIR=/tmp/tmp.T9bIpWcq5e 206s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 206s + cd /tmp/tmp.T9bIpWcq5e 206s + [ -n ] 206s + CROSS_COMPILE= 206s + cat 206s + cat 206s + cat 206s + cat 206s + cat 206s + cat 206s + cflags= 206s + pcflags= 206s + packages=glib-2.0 206s + cflags=-static 206s + pcflags=--static 206s + pkg-config --static --cflags --libs glib-2.0 206s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 207s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 207s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 207s /usr/bin/ld: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 207s /usr/bin/ld: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 207s build (glib, static): OK 207s run (glib, static): OK 207s + echo build (glib, static): OK 207s + [ -x glib-static ] 207s + foo=bar ./glib-static 207s + echo run (glib, static): OK 207s + cflags= 207s + pcflags= 207s + packages=gobject-2.0 207s + cflags=-static 207s + pcflags=--static 207s + pkg-config --static --cflags --libs gobject-2.0 207s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lffi 207s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 207s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 207s /usr/bin/ld: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 207s /usr/bin/ld: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 207s build (gobject, static): OK 207s run (gobject, static): OK 207s + echo build (gobject, static): OK 207s + [ -x gobject-static ] 207s + foo=bar ./gobject-static 207s + echo run (gobject, static): OK 207s + cflags= 207s + pcflags= 207s + packages=gio-2.0 207s + cflags=-static 207s + pcflags=--static 207s + continue 207s + cflags= 207s + pcflags= 207s + packages=gio-unix-2.0 207s + cflags=-static 207s + pcflags=--static 207s + continue 207s + cflags= 207s + pcflags= 207s + packages=gmodule-2.0 207s + cflags=-static 207s + pcflags=--static 207s + pkg-config --static --cflags --libs gmodule-2.0 207s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 207s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 207s (.text+0x944): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 207s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 207s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 207s /usr/bin/ld: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 207s /usr/bin/ld: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 207s build (gmodule, static): OK 207s run (gmodule, static): OK 207s + echo build (gmodule, static): OK 207s + [ -x gmodule-static ] 207s + foo=bar ./gmodule-static 207s + echo run (gmodule, static): OK 207s + cflags= 207s + pcflags= 207s + packages=gthread-2.0 207s + cflags=-static 207s + pcflags=--static 207s + pkg-config --static --cflags --libs gthread-2.0 207s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 207s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 207s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 207s /usr/bin/ld: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 207s /usr/bin/ld: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 207s build (gthread, static): OK 207s + echo build (gthread, static): OK 207s + [ -x gthread-static ] 207s + foo=bar ./gthread-static 207s run (gthread, static): OK 207s + echo run (gthread, static): OK 207s + rm -rf /tmp/tmp.T9bIpWcq5e 207s autopkgtest [12:29:12]: test build-static: -----------------------] 208s autopkgtest [12:29:13]: test build-static: - - - - - - - - - - results - - - - - - - - - - 208s build-static PASS (superficial) 208s autopkgtest [12:29:13]: test girepository-tools: preparing testbed 228s Creating nova instance adt-questing-ppc64el-glib2.0-20250905-122545-juju-7f2275-prod-proposed-migration-environment-20-1e415192-182c-47d6-9ea1-bc370a3005ce from image adt/ubuntu-questing-ppc64el-server-20250904.img (UUID e972553c-60b1-4e41-bd5d-505dae6af81e)... 283s autopkgtest [12:30:28]: testbed dpkg architecture: ppc64el 283s autopkgtest [12:30:28]: testbed apt version: 3.1.5ubuntu1 283s autopkgtest [12:30:28]: @@@@@@@@@@@@@@@@@@@@ test bed setup 283s autopkgtest [12:30:28]: testbed release detected to be: questing 284s autopkgtest [12:30:29]: updating testbed package index (apt update) 284s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [265 kB] 285s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 285s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 285s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 285s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [236 kB] 285s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/restricted Sources [1748 B] 285s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [38.3 kB] 285s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [14.1 kB] 285s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el Packages [65.4 kB] 285s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el c-n-f Metadata [2600 B] 285s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/restricted ppc64el c-n-f Metadata [120 B] 285s Get:12 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el Packages [258 kB] 285s Get:13 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el c-n-f Metadata [7024 B] 285s Get:14 http://ftpmaster.internal/ubuntu questing-proposed/multiverse ppc64el Packages [4600 B] 285s Get:15 http://ftpmaster.internal/ubuntu questing-proposed/multiverse ppc64el c-n-f Metadata [300 B] 286s Fetched 893 kB in 1s (891 kB/s) 287s Reading package lists... 288s Failed to check for VM: Permission denied 288s autopkgtest [12:30:33]: upgrading testbed (apt dist-upgrade and autopurge) 288s Reading package lists... 288s Building dependency tree... 288s Reading state information... 288s Calculating upgrade... 288s The following NEW packages will be installed: 288s linux-headers-6.17.0-3 linux-headers-6.17.0-3-generic 288s linux-image-6.17.0-3-generic linux-modules-6.17.0-3-generic wireless-regdb 288s The following packages will be upgraded: 288s bpftool bpftrace coreutils coreutils-from-gnu cryptsetup-bin curl 288s dracut-install findutils libcryptsetup12 libcurl3t64-gnutls libcurl4t64 288s libfreetype6 linux-generic linux-headers-generic linux-headers-virtual 288s linux-image-generic linux-image-virtual linux-libc-dev linux-perf 288s linux-tools-common linux-virtual 288s 21 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 288s Need to get 238 MB of archives. 288s After this operation, 327 MB of additional disk space will be used. 288s Get:1 http://ftpmaster.internal/ubuntu questing/main ppc64el coreutils all 9.5-1ubuntu2+0.0.0~ubuntu22 [2942 B] 288s Get:2 http://ftpmaster.internal/ubuntu questing/main ppc64el coreutils-from-gnu all 0.0.0~ubuntu22 [6762 B] 288s Get:3 http://ftpmaster.internal/ubuntu questing/main ppc64el findutils ppc64el 4.10.0-3build1 [337 kB] 289s Get:4 http://ftpmaster.internal/ubuntu questing/main ppc64el libcryptsetup12 ppc64el 2:2.8.0-1ubuntu2 [404 kB] 289s Get:5 http://ftpmaster.internal/ubuntu questing/main ppc64el bpftool ppc64el 7.7.0+6.17.0-3.3 [1238 kB] 289s Get:6 http://ftpmaster.internal/ubuntu questing/main ppc64el bpftrace ppc64el 0.23.5-1ubuntu1 [2112 kB] 289s Get:7 http://ftpmaster.internal/ubuntu questing/main ppc64el cryptsetup-bin ppc64el 2:2.8.0-1ubuntu2 [250 kB] 289s Get:8 http://ftpmaster.internal/ubuntu questing/main ppc64el curl ppc64el 8.14.1-1ubuntu3 [272 kB] 289s Get:9 http://ftpmaster.internal/ubuntu questing/main ppc64el libcurl4t64 ppc64el 8.14.1-1ubuntu3 [536 kB] 289s Get:10 http://ftpmaster.internal/ubuntu questing/main ppc64el dracut-install ppc64el 108-3ubuntu3 [49.0 kB] 289s Get:11 http://ftpmaster.internal/ubuntu questing/main ppc64el libcurl3t64-gnutls ppc64el 8.14.1-1ubuntu3 [528 kB] 289s Get:12 http://ftpmaster.internal/ubuntu questing/main ppc64el libfreetype6 ppc64el 2.13.3+dfsg-1build1 [566 kB] 289s Get:13 http://ftpmaster.internal/ubuntu questing/main ppc64el wireless-regdb all 2025.07.10-0ubuntu1 [7454 B] 289s Get:14 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-modules-6.17.0-3-generic ppc64el 6.17.0-3.3 [144 MB] 293s Get:15 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-image-6.17.0-3-generic ppc64el 6.17.0-3.3 [64.4 MB] 296s Get:16 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-generic ppc64el 6.17.0-3.3 [1688 B] 296s Get:17 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-image-generic ppc64el 6.17.0-3.3 [11.7 kB] 296s Get:18 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-virtual ppc64el 6.17.0-3.3 [1690 B] 296s Get:19 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-image-virtual ppc64el 6.17.0-3.3 [11.7 kB] 296s Get:20 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-headers-virtual ppc64el 6.17.0-3.3 [1642 B] 296s Get:21 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-headers-6.17.0-3 all 6.17.0-3.3 [14.7 MB] 297s Get:22 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-headers-6.17.0-3-generic ppc64el 6.17.0-3.3 [4190 kB] 297s Get:23 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-headers-generic ppc64el 6.17.0-3.3 [11.6 kB] 297s Get:24 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-libc-dev ppc64el 6.17.0-3.3 [1797 kB] 297s Get:25 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-perf ppc64el 6.17.0-3.3 [2738 kB] 297s Get:26 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-tools-common all 6.17.0-3.3 [340 kB] 297s Fetched 238 MB in 9s (26.6 MB/s) 298s (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 ... 117956 files and directories currently installed.) 298s Preparing to unpack .../coreutils_9.5-1ubuntu2+0.0.0~ubuntu22_all.deb ... 298s Unpacking coreutils (9.5-1ubuntu2+0.0.0~ubuntu22) over (9.5-1ubuntu2+0.0.0~ubuntu20) ... 298s Setting up coreutils (9.5-1ubuntu2+0.0.0~ubuntu22) ... 298s (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 ... 117956 files and directories currently installed.) 298s Preparing to unpack .../coreutils-from-gnu_0.0.0~ubuntu22_all.deb ... 298s Unpacking coreutils-from-gnu (0.0.0~ubuntu22) over (0.0.0~ubuntu20) ... 298s Setting up coreutils-from-gnu (0.0.0~ubuntu22) ... 298s (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 ... 117956 files and directories currently installed.) 298s Preparing to unpack .../findutils_4.10.0-3build1_ppc64el.deb ... 298s Unpacking findutils (4.10.0-3build1) over (4.10.0-3) ... 298s Setting up findutils (4.10.0-3build1) ... 298s (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 ... 117956 files and directories currently installed.) 298s Preparing to unpack .../00-libcryptsetup12_2%3a2.8.0-1ubuntu2_ppc64el.deb ... 298s Unpacking libcryptsetup12:ppc64el (2:2.8.0-1ubuntu2) over (2:2.8.0-1ubuntu1) ... 298s Preparing to unpack .../01-bpftool_7.7.0+6.17.0-3.3_ppc64el.deb ... 298s Unpacking bpftool (7.7.0+6.17.0-3.3) over (7.6.0+6.16.0-16.16) ... 298s Preparing to unpack .../02-bpftrace_0.23.5-1ubuntu1_ppc64el.deb ... 298s Unpacking bpftrace (0.23.5-1ubuntu1) over (0.23.2-1ubuntu2) ... 298s Preparing to unpack .../03-cryptsetup-bin_2%3a2.8.0-1ubuntu2_ppc64el.deb ... 298s Unpacking cryptsetup-bin (2:2.8.0-1ubuntu2) over (2:2.8.0-1ubuntu1) ... 298s Preparing to unpack .../04-curl_8.14.1-1ubuntu3_ppc64el.deb ... 298s Unpacking curl (8.14.1-1ubuntu3) over (8.14.1-1ubuntu2) ... 298s Preparing to unpack .../05-libcurl4t64_8.14.1-1ubuntu3_ppc64el.deb ... 298s Unpacking libcurl4t64:ppc64el (8.14.1-1ubuntu3) over (8.14.1-1ubuntu2) ... 298s Preparing to unpack .../06-dracut-install_108-3ubuntu3_ppc64el.deb ... 298s Unpacking dracut-install (108-3ubuntu3) over (108-3ubuntu2) ... 298s Preparing to unpack .../07-libcurl3t64-gnutls_8.14.1-1ubuntu3_ppc64el.deb ... 298s Unpacking libcurl3t64-gnutls:ppc64el (8.14.1-1ubuntu3) over (8.14.1-1ubuntu2) ... 298s Preparing to unpack .../08-libfreetype6_2.13.3+dfsg-1build1_ppc64el.deb ... 298s Unpacking libfreetype6:ppc64el (2.13.3+dfsg-1build1) over (2.13.3+dfsg-1) ... 298s Selecting previously unselected package wireless-regdb. 298s Preparing to unpack .../09-wireless-regdb_2025.07.10-0ubuntu1_all.deb ... 298s Unpacking wireless-regdb (2025.07.10-0ubuntu1) ... 299s Selecting previously unselected package linux-modules-6.17.0-3-generic. 299s Preparing to unpack .../10-linux-modules-6.17.0-3-generic_6.17.0-3.3_ppc64el.deb ... 299s Unpacking linux-modules-6.17.0-3-generic (6.17.0-3.3) ... 300s Selecting previously unselected package linux-image-6.17.0-3-generic. 300s Preparing to unpack .../11-linux-image-6.17.0-3-generic_6.17.0-3.3_ppc64el.deb ... 300s Unpacking linux-image-6.17.0-3-generic (6.17.0-3.3) ... 300s Preparing to unpack .../12-linux-generic_6.17.0-3.3_ppc64el.deb ... 300s Unpacking linux-generic (6.17.0-3.3) over (6.16.0-16.16) ... 300s Preparing to unpack .../13-linux-image-generic_6.17.0-3.3_ppc64el.deb ... 300s Unpacking linux-image-generic (6.17.0-3.3) over (6.16.0-16.16) ... 300s Preparing to unpack .../14-linux-virtual_6.17.0-3.3_ppc64el.deb ... 300s Unpacking linux-virtual (6.17.0-3.3) over (6.16.0-16.16) ... 300s Preparing to unpack .../15-linux-image-virtual_6.17.0-3.3_ppc64el.deb ... 300s Unpacking linux-image-virtual (6.17.0-3.3) over (6.16.0-16.16) ... 300s Preparing to unpack .../16-linux-headers-virtual_6.17.0-3.3_ppc64el.deb ... 300s Unpacking linux-headers-virtual (6.17.0-3.3) over (6.16.0-16.16) ... 300s Selecting previously unselected package linux-headers-6.17.0-3. 300s Preparing to unpack .../17-linux-headers-6.17.0-3_6.17.0-3.3_all.deb ... 300s Unpacking linux-headers-6.17.0-3 (6.17.0-3.3) ... 302s Selecting previously unselected package linux-headers-6.17.0-3-generic. 302s Preparing to unpack .../18-linux-headers-6.17.0-3-generic_6.17.0-3.3_ppc64el.deb ... 302s Unpacking linux-headers-6.17.0-3-generic (6.17.0-3.3) ... 303s Preparing to unpack .../19-linux-headers-generic_6.17.0-3.3_ppc64el.deb ... 303s Unpacking linux-headers-generic (6.17.0-3.3) over (6.16.0-16.16) ... 303s Preparing to unpack .../20-linux-libc-dev_6.17.0-3.3_ppc64el.deb ... 303s Unpacking linux-libc-dev:ppc64el (6.17.0-3.3) over (6.16.0-16.16) ... 303s Preparing to unpack .../21-linux-perf_6.17.0-3.3_ppc64el.deb ... 303s Unpacking linux-perf (6.17.0-3.3) over (6.16.0-16.16) ... 303s Preparing to unpack .../22-linux-tools-common_6.17.0-3.3_all.deb ... 303s Unpacking linux-tools-common (6.17.0-3.3) over (6.16.0-16.16) ... 303s Setting up libcurl4t64:ppc64el (8.14.1-1ubuntu3) ... 303s Setting up bpftrace (0.23.5-1ubuntu1) ... 303s Setting up bpftool (7.7.0+6.17.0-3.3) ... 303s Setting up wireless-regdb (2025.07.10-0ubuntu1) ... 303s Setting up libcurl3t64-gnutls:ppc64el (8.14.1-1ubuntu3) ... 303s Setting up linux-libc-dev:ppc64el (6.17.0-3.3) ... 303s Setting up linux-perf (6.17.0-3.3) ... 303s Setting up libfreetype6:ppc64el (2.13.3+dfsg-1build1) ... 303s Setting up dracut-install (108-3ubuntu3) ... 303s Setting up libcryptsetup12:ppc64el (2:2.8.0-1ubuntu2) ... 303s Setting up curl (8.14.1-1ubuntu3) ... 303s Setting up linux-headers-6.17.0-3 (6.17.0-3.3) ... 303s Setting up linux-tools-common (6.17.0-3.3) ... 303s Setting up cryptsetup-bin (2:2.8.0-1ubuntu2) ... 303s Setting up linux-modules-6.17.0-3-generic (6.17.0-3.3) ... 305s Setting up linux-image-6.17.0-3-generic (6.17.0-3.3) ... 307s I: /boot/vmlinux.old is now a symlink to vmlinux-6.16.0-16-generic 307s I: /boot/initrd.img.old is now a symlink to initrd.img-6.16.0-16-generic 307s I: /boot/vmlinux is now a symlink to vmlinux-6.17.0-3-generic 307s I: /boot/initrd.img is now a symlink to initrd.img-6.17.0-3-generic 307s Setting up linux-headers-6.17.0-3-generic (6.17.0-3.3) ... 307s Setting up linux-image-virtual (6.17.0-3.3) ... 307s Setting up linux-image-generic (6.17.0-3.3) ... 307s Setting up linux-headers-generic (6.17.0-3.3) ... 307s Setting up linux-headers-virtual (6.17.0-3.3) ... 307s Setting up linux-generic (6.17.0-3.3) ... 307s Setting up linux-virtual (6.17.0-3.3) ... 307s Processing triggers for libc-bin (2.42-0ubuntu1) ... 307s Processing triggers for man-db (2.13.1-1) ... 308s Processing triggers for install-info (7.1.1-1) ... 308s Processing triggers for linux-image-6.17.0-3-generic (6.17.0-3.3) ... 308s /etc/kernel/postinst.d/initramfs-tools: 308s update-initramfs: Generating /boot/initrd.img-6.17.0-3-generic 314s /etc/kernel/postinst.d/zz-update-grub: 314s Sourcing file `/etc/default/grub' 314s Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' 314s Generating grub configuration file ... 314s Found linux image: /boot/vmlinux-6.17.0-3-generic 314s Found initrd image: /boot/initrd.img-6.17.0-3-generic 314s Found linux image: /boot/vmlinux-6.16.0-16-generic 314s Found initrd image: /boot/initrd.img-6.16.0-16-generic 314s Found linux image: /boot/vmlinux-6.15.0-4-generic 315s Found initrd image: /boot/initrd.img-6.15.0-4-generic 315s Warning: os-prober will not be executed to detect other bootable partitions. 315s Systems on them will not be added to the GRUB boot configuration. 315s Check GRUB_DISABLE_OS_PROBER documentation entry. 315s Adding boot menu entry for UEFI Firmware Settings ... 315s done 315s Reading package lists... 315s Building dependency tree... 315s Reading state information... 315s Solving dependencies... 315s The following packages will be REMOVED: 315s linux-headers-6.15.0-4* linux-headers-6.15.0-4-generic* 315s linux-image-6.15.0-4-generic* linux-modules-6.15.0-4-generic* 315s linux-tools-6.15.0-4* linux-tools-6.15.0-4-generic* 315s 0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded. 315s After this operation, 326 MB disk space will be freed. 315s (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 ... 156619 files and directories currently installed.) 315s Removing linux-headers-6.15.0-4-generic (6.15.0-4.4) ... 316s Removing linux-headers-6.15.0-4 (6.15.0-4.4) ... 319s Removing linux-image-6.15.0-4-generic (6.15.0-4.4) ... 319s /etc/kernel/postrm.d/initramfs-tools: 319s update-initramfs: Deleting /boot/initrd.img-6.15.0-4-generic 319s /etc/kernel/postrm.d/zz-update-grub: 319s Sourcing file `/etc/default/grub' 319s Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' 319s Generating grub configuration file ... 319s Found linux image: /boot/vmlinux-6.17.0-3-generic 319s Found initrd image: /boot/initrd.img-6.17.0-3-generic 319s Found linux image: /boot/vmlinux-6.16.0-16-generic 319s Found initrd image: /boot/initrd.img-6.16.0-16-generic 319s Warning: os-prober will not be executed to detect other bootable partitions. 319s Systems on them will not be added to the GRUB boot configuration. 319s Check GRUB_DISABLE_OS_PROBER documentation entry. 319s Adding boot menu entry for UEFI Firmware Settings ... 319s done 319s Removing linux-modules-6.15.0-4-generic (6.15.0-4.4) ... 320s Removing linux-tools-6.15.0-4-generic (6.15.0-4.4) ... 320s Removing linux-tools-6.15.0-4 (6.15.0-4.4) ... 320s (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 ... 118470 files and directories currently installed.) 320s Purging configuration files for linux-image-6.15.0-4-generic (6.15.0-4.4) ... 320s Purging configuration files for linux-modules-6.15.0-4-generic (6.15.0-4.4) ... 321s autopkgtest [12:31:06]: rebooting testbed after setup commands that affected boot 357s Reading package lists... 357s Building dependency tree... 357s Reading state information... 357s Solving dependencies... 357s The following NEW packages will be installed: 357s gir1.2-glib-2.0-dev girepository-tools libgirepository-2.0-0 357s native-architecture 358s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 358s Need to get 1091 kB of archives. 358s After this operation, 13.1 MB of additional disk space will be used. 358s Get:1 http://ftpmaster.internal/ubuntu questing/main ppc64el gir1.2-glib-2.0-dev ppc64el 2.85.3-1 [868 kB] 358s Get:2 http://ftpmaster.internal/ubuntu questing/main ppc64el native-architecture all 0.2.6 [2140 B] 358s Get:3 http://ftpmaster.internal/ubuntu questing/main ppc64el libgirepository-2.0-0 ppc64el 2.85.3-1 [85.5 kB] 358s Get:4 http://ftpmaster.internal/ubuntu questing/main ppc64el girepository-tools ppc64el 2.85.3-1 [135 kB] 359s Fetched 1091 kB in 1s (1490 kB/s) 359s Selecting previously unselected package gir1.2-glib-2.0-dev:ppc64el. 359s (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 ... 118471 files and directories currently installed.) 359s Preparing to unpack .../gir1.2-glib-2.0-dev_2.85.3-1_ppc64el.deb ... 359s Unpacking gir1.2-glib-2.0-dev:ppc64el (2.85.3-1) ... 359s Selecting previously unselected package native-architecture. 359s Preparing to unpack .../native-architecture_0.2.6_all.deb ... 359s Unpacking native-architecture (0.2.6) ... 359s Selecting previously unselected package libgirepository-2.0-0:ppc64el. 359s Preparing to unpack .../libgirepository-2.0-0_2.85.3-1_ppc64el.deb ... 359s Unpacking libgirepository-2.0-0:ppc64el (2.85.3-1) ... 359s Selecting previously unselected package girepository-tools:ppc64el. 359s Preparing to unpack .../girepository-tools_2.85.3-1_ppc64el.deb ... 359s Unpacking girepository-tools:ppc64el (2.85.3-1) ... 359s Setting up native-architecture (0.2.6) ... 359s Setting up libgirepository-2.0-0:ppc64el (2.85.3-1) ... 359s Setting up gir1.2-glib-2.0-dev:ppc64el (2.85.3-1) ... 359s Setting up girepository-tools:ppc64el (2.85.3-1) ... 359s Processing triggers for man-db (2.13.1-1) ... 360s Processing triggers for libc-bin (2.42-0ubuntu1) ... 364s autopkgtest [12:31:49]: test girepository-tools: [----------------------- 365s + cd /tmp/autopkgtest.X7jYgQ/autopkgtest_tmp 365s + dpkg-architecture -qDEB_HOST_GNU_TYPE 365s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 365s + DEB_HOST_GNU_TYPE=powerpc64le-linux-gnu 365s + dpkg-architecture -qDEB_HOST_MULTIARCH 365s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 365s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu 365s + powerpc64le-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 365s typelib: GLib-2.0 365s + powerpc64le-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir 365s + powerpc64le-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 365s autopkgtest [12:31:50]: test girepository-tools: -----------------------] 366s girepository-tools PASS (superficial) 366s autopkgtest [12:31:51]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 367s autopkgtest [12:31:52]: test libgio-2.0-dev-bin: preparing testbed 374s Creating nova instance adt-questing-ppc64el-glib2.0-20250905-122545-juju-7f2275-prod-proposed-migration-environment-20-1e415192-182c-47d6-9ea1-bc370a3005ce from image adt/ubuntu-questing-ppc64el-server-20250904.img (UUID e972553c-60b1-4e41-bd5d-505dae6af81e)... 428s autopkgtest [12:32:53]: testbed dpkg architecture: ppc64el 428s autopkgtest [12:32:53]: testbed apt version: 3.1.5ubuntu1 429s autopkgtest [12:32:54]: @@@@@@@@@@@@@@@@@@@@ test bed setup 429s autopkgtest [12:32:54]: testbed release detected to be: questing 429s autopkgtest [12:32:54]: updating testbed package index (apt update) 430s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [265 kB] 430s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 430s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 430s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 430s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [236 kB] 431s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [38.3 kB] 431s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [14.1 kB] 431s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/restricted Sources [1748 B] 431s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el Packages [65.4 kB] 431s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el c-n-f Metadata [2600 B] 431s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/restricted ppc64el c-n-f Metadata [120 B] 431s Get:12 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el Packages [258 kB] 431s Get:13 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el c-n-f Metadata [7024 B] 431s Get:14 http://ftpmaster.internal/ubuntu questing-proposed/multiverse ppc64el Packages [4600 B] 431s Get:15 http://ftpmaster.internal/ubuntu questing-proposed/multiverse ppc64el c-n-f Metadata [300 B] 432s Fetched 893 kB in 1s (793 kB/s) 433s Reading package lists... 433s Failed to check for VM: Permission denied 433s autopkgtest [12:32:58]: upgrading testbed (apt dist-upgrade and autopurge) 434s Reading package lists... 434s Building dependency tree... 434s Reading state information... 434s Calculating upgrade... 434s The following NEW packages will be installed: 434s linux-headers-6.17.0-3 linux-headers-6.17.0-3-generic 434s linux-image-6.17.0-3-generic linux-modules-6.17.0-3-generic wireless-regdb 434s The following packages will be upgraded: 434s bpftool bpftrace coreutils coreutils-from-gnu cryptsetup-bin curl 434s dracut-install findutils libcryptsetup12 libcurl3t64-gnutls libcurl4t64 434s libfreetype6 linux-generic linux-headers-generic linux-headers-virtual 434s linux-image-generic linux-image-virtual linux-libc-dev linux-perf 434s linux-tools-common linux-virtual 434s 21 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 434s Need to get 238 MB of archives. 434s After this operation, 327 MB of additional disk space will be used. 434s Get:1 http://ftpmaster.internal/ubuntu questing/main ppc64el coreutils all 9.5-1ubuntu2+0.0.0~ubuntu22 [2942 B] 434s Get:2 http://ftpmaster.internal/ubuntu questing/main ppc64el coreutils-from-gnu all 0.0.0~ubuntu22 [6762 B] 434s Get:3 http://ftpmaster.internal/ubuntu questing/main ppc64el findutils ppc64el 4.10.0-3build1 [337 kB] 435s Get:4 http://ftpmaster.internal/ubuntu questing/main ppc64el libcryptsetup12 ppc64el 2:2.8.0-1ubuntu2 [404 kB] 435s Get:5 http://ftpmaster.internal/ubuntu questing/main ppc64el bpftool ppc64el 7.7.0+6.17.0-3.3 [1238 kB] 435s Get:6 http://ftpmaster.internal/ubuntu questing/main ppc64el bpftrace ppc64el 0.23.5-1ubuntu1 [2112 kB] 436s Get:7 http://ftpmaster.internal/ubuntu questing/main ppc64el cryptsetup-bin ppc64el 2:2.8.0-1ubuntu2 [250 kB] 436s Get:8 http://ftpmaster.internal/ubuntu questing/main ppc64el curl ppc64el 8.14.1-1ubuntu3 [272 kB] 436s Get:9 http://ftpmaster.internal/ubuntu questing/main ppc64el libcurl4t64 ppc64el 8.14.1-1ubuntu3 [536 kB] 436s Get:10 http://ftpmaster.internal/ubuntu questing/main ppc64el dracut-install ppc64el 108-3ubuntu3 [49.0 kB] 436s Get:11 http://ftpmaster.internal/ubuntu questing/main ppc64el libcurl3t64-gnutls ppc64el 8.14.1-1ubuntu3 [528 kB] 436s Get:12 http://ftpmaster.internal/ubuntu questing/main ppc64el libfreetype6 ppc64el 2.13.3+dfsg-1build1 [566 kB] 436s Get:13 http://ftpmaster.internal/ubuntu questing/main ppc64el wireless-regdb all 2025.07.10-0ubuntu1 [7454 B] 436s Get:14 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-modules-6.17.0-3-generic ppc64el 6.17.0-3.3 [144 MB] 441s Get:15 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-image-6.17.0-3-generic ppc64el 6.17.0-3.3 [64.4 MB] 443s Get:16 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-generic ppc64el 6.17.0-3.3 [1688 B] 443s Get:17 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-image-generic ppc64el 6.17.0-3.3 [11.7 kB] 443s Get:18 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-virtual ppc64el 6.17.0-3.3 [1690 B] 443s Get:19 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-image-virtual ppc64el 6.17.0-3.3 [11.7 kB] 443s Get:20 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-headers-virtual ppc64el 6.17.0-3.3 [1642 B] 443s Get:21 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-headers-6.17.0-3 all 6.17.0-3.3 [14.7 MB] 443s Get:22 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-headers-6.17.0-3-generic ppc64el 6.17.0-3.3 [4190 kB] 443s Get:23 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-headers-generic ppc64el 6.17.0-3.3 [11.6 kB] 443s Get:24 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-libc-dev ppc64el 6.17.0-3.3 [1797 kB] 443s Get:25 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-perf ppc64el 6.17.0-3.3 [2738 kB] 443s Get:26 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-tools-common all 6.17.0-3.3 [340 kB] 444s Fetched 238 MB in 9s (25.7 MB/s) 444s (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 ... 117956 files and directories currently installed.) 444s Preparing to unpack .../coreutils_9.5-1ubuntu2+0.0.0~ubuntu22_all.deb ... 444s Unpacking coreutils (9.5-1ubuntu2+0.0.0~ubuntu22) over (9.5-1ubuntu2+0.0.0~ubuntu20) ... 444s Setting up coreutils (9.5-1ubuntu2+0.0.0~ubuntu22) ... 444s (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 ... 117956 files and directories currently installed.) 444s Preparing to unpack .../coreutils-from-gnu_0.0.0~ubuntu22_all.deb ... 444s Unpacking coreutils-from-gnu (0.0.0~ubuntu22) over (0.0.0~ubuntu20) ... 444s Setting up coreutils-from-gnu (0.0.0~ubuntu22) ... 444s (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 ... 117956 files and directories currently installed.) 444s Preparing to unpack .../findutils_4.10.0-3build1_ppc64el.deb ... 444s Unpacking findutils (4.10.0-3build1) over (4.10.0-3) ... 444s Setting up findutils (4.10.0-3build1) ... 444s (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 ... 117956 files and directories currently installed.) 444s Preparing to unpack .../00-libcryptsetup12_2%3a2.8.0-1ubuntu2_ppc64el.deb ... 444s Unpacking libcryptsetup12:ppc64el (2:2.8.0-1ubuntu2) over (2:2.8.0-1ubuntu1) ... 444s Preparing to unpack .../01-bpftool_7.7.0+6.17.0-3.3_ppc64el.deb ... 444s Unpacking bpftool (7.7.0+6.17.0-3.3) over (7.6.0+6.16.0-16.16) ... 444s Preparing to unpack .../02-bpftrace_0.23.5-1ubuntu1_ppc64el.deb ... 444s Unpacking bpftrace (0.23.5-1ubuntu1) over (0.23.2-1ubuntu2) ... 445s Preparing to unpack .../03-cryptsetup-bin_2%3a2.8.0-1ubuntu2_ppc64el.deb ... 445s Unpacking cryptsetup-bin (2:2.8.0-1ubuntu2) over (2:2.8.0-1ubuntu1) ... 445s Preparing to unpack .../04-curl_8.14.1-1ubuntu3_ppc64el.deb ... 445s Unpacking curl (8.14.1-1ubuntu3) over (8.14.1-1ubuntu2) ... 445s Preparing to unpack .../05-libcurl4t64_8.14.1-1ubuntu3_ppc64el.deb ... 445s Unpacking libcurl4t64:ppc64el (8.14.1-1ubuntu3) over (8.14.1-1ubuntu2) ... 445s Preparing to unpack .../06-dracut-install_108-3ubuntu3_ppc64el.deb ... 445s Unpacking dracut-install (108-3ubuntu3) over (108-3ubuntu2) ... 445s Preparing to unpack .../07-libcurl3t64-gnutls_8.14.1-1ubuntu3_ppc64el.deb ... 445s Unpacking libcurl3t64-gnutls:ppc64el (8.14.1-1ubuntu3) over (8.14.1-1ubuntu2) ... 445s Preparing to unpack .../08-libfreetype6_2.13.3+dfsg-1build1_ppc64el.deb ... 445s Unpacking libfreetype6:ppc64el (2.13.3+dfsg-1build1) over (2.13.3+dfsg-1) ... 445s Selecting previously unselected package wireless-regdb. 445s Preparing to unpack .../09-wireless-regdb_2025.07.10-0ubuntu1_all.deb ... 445s Unpacking wireless-regdb (2025.07.10-0ubuntu1) ... 445s Selecting previously unselected package linux-modules-6.17.0-3-generic. 445s Preparing to unpack .../10-linux-modules-6.17.0-3-generic_6.17.0-3.3_ppc64el.deb ... 445s Unpacking linux-modules-6.17.0-3-generic (6.17.0-3.3) ... 446s Selecting previously unselected package linux-image-6.17.0-3-generic. 446s Preparing to unpack .../11-linux-image-6.17.0-3-generic_6.17.0-3.3_ppc64el.deb ... 446s Unpacking linux-image-6.17.0-3-generic (6.17.0-3.3) ... 446s Preparing to unpack .../12-linux-generic_6.17.0-3.3_ppc64el.deb ... 446s Unpacking linux-generic (6.17.0-3.3) over (6.16.0-16.16) ... 446s Preparing to unpack .../13-linux-image-generic_6.17.0-3.3_ppc64el.deb ... 446s Unpacking linux-image-generic (6.17.0-3.3) over (6.16.0-16.16) ... 446s Preparing to unpack .../14-linux-virtual_6.17.0-3.3_ppc64el.deb ... 446s Unpacking linux-virtual (6.17.0-3.3) over (6.16.0-16.16) ... 446s Preparing to unpack .../15-linux-image-virtual_6.17.0-3.3_ppc64el.deb ... 446s Unpacking linux-image-virtual (6.17.0-3.3) over (6.16.0-16.16) ... 446s Preparing to unpack .../16-linux-headers-virtual_6.17.0-3.3_ppc64el.deb ... 446s Unpacking linux-headers-virtual (6.17.0-3.3) over (6.16.0-16.16) ... 446s Selecting previously unselected package linux-headers-6.17.0-3. 446s Preparing to unpack .../17-linux-headers-6.17.0-3_6.17.0-3.3_all.deb ... 446s Unpacking linux-headers-6.17.0-3 (6.17.0-3.3) ... 448s Selecting previously unselected package linux-headers-6.17.0-3-generic. 448s Preparing to unpack .../18-linux-headers-6.17.0-3-generic_6.17.0-3.3_ppc64el.deb ... 448s Unpacking linux-headers-6.17.0-3-generic (6.17.0-3.3) ... 449s Preparing to unpack .../19-linux-headers-generic_6.17.0-3.3_ppc64el.deb ... 449s Unpacking linux-headers-generic (6.17.0-3.3) over (6.16.0-16.16) ... 449s Preparing to unpack .../20-linux-libc-dev_6.17.0-3.3_ppc64el.deb ... 449s Unpacking linux-libc-dev:ppc64el (6.17.0-3.3) over (6.16.0-16.16) ... 449s Preparing to unpack .../21-linux-perf_6.17.0-3.3_ppc64el.deb ... 449s Unpacking linux-perf (6.17.0-3.3) over (6.16.0-16.16) ... 449s Preparing to unpack .../22-linux-tools-common_6.17.0-3.3_all.deb ... 449s Unpacking linux-tools-common (6.17.0-3.3) over (6.16.0-16.16) ... 449s Setting up libcurl4t64:ppc64el (8.14.1-1ubuntu3) ... 449s Setting up bpftrace (0.23.5-1ubuntu1) ... 449s Setting up bpftool (7.7.0+6.17.0-3.3) ... 449s Setting up wireless-regdb (2025.07.10-0ubuntu1) ... 449s Setting up libcurl3t64-gnutls:ppc64el (8.14.1-1ubuntu3) ... 449s Setting up linux-libc-dev:ppc64el (6.17.0-3.3) ... 449s Setting up linux-perf (6.17.0-3.3) ... 449s Setting up libfreetype6:ppc64el (2.13.3+dfsg-1build1) ... 449s Setting up dracut-install (108-3ubuntu3) ... 449s Setting up libcryptsetup12:ppc64el (2:2.8.0-1ubuntu2) ... 449s Setting up curl (8.14.1-1ubuntu3) ... 449s Setting up linux-headers-6.17.0-3 (6.17.0-3.3) ... 449s Setting up linux-tools-common (6.17.0-3.3) ... 449s Setting up cryptsetup-bin (2:2.8.0-1ubuntu2) ... 449s Setting up linux-modules-6.17.0-3-generic (6.17.0-3.3) ... 451s Setting up linux-image-6.17.0-3-generic (6.17.0-3.3) ... 453s I: /boot/vmlinux.old is now a symlink to vmlinux-6.16.0-16-generic 453s I: /boot/initrd.img.old is now a symlink to initrd.img-6.16.0-16-generic 453s I: /boot/vmlinux is now a symlink to vmlinux-6.17.0-3-generic 453s I: /boot/initrd.img is now a symlink to initrd.img-6.17.0-3-generic 453s Setting up linux-headers-6.17.0-3-generic (6.17.0-3.3) ... 453s Setting up linux-image-virtual (6.17.0-3.3) ... 453s Setting up linux-image-generic (6.17.0-3.3) ... 453s Setting up linux-headers-generic (6.17.0-3.3) ... 453s Setting up linux-headers-virtual (6.17.0-3.3) ... 453s Setting up linux-generic (6.17.0-3.3) ... 453s Setting up linux-virtual (6.17.0-3.3) ... 453s Processing triggers for libc-bin (2.42-0ubuntu1) ... 453s Processing triggers for man-db (2.13.1-1) ... 454s Processing triggers for install-info (7.1.1-1) ... 454s Processing triggers for linux-image-6.17.0-3-generic (6.17.0-3.3) ... 454s /etc/kernel/postinst.d/initramfs-tools: 454s update-initramfs: Generating /boot/initrd.img-6.17.0-3-generic 461s /etc/kernel/postinst.d/zz-update-grub: 461s Sourcing file `/etc/default/grub' 461s Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' 461s Generating grub configuration file ... 462s Found linux image: /boot/vmlinux-6.17.0-3-generic 462s Found initrd image: /boot/initrd.img-6.17.0-3-generic 462s Found linux image: /boot/vmlinux-6.16.0-16-generic 462s Found initrd image: /boot/initrd.img-6.16.0-16-generic 462s Found linux image: /boot/vmlinux-6.15.0-4-generic 462s Found initrd image: /boot/initrd.img-6.15.0-4-generic 462s Warning: os-prober will not be executed to detect other bootable partitions. 462s Systems on them will not be added to the GRUB boot configuration. 462s Check GRUB_DISABLE_OS_PROBER documentation entry. 462s Adding boot menu entry for UEFI Firmware Settings ... 462s done 462s Reading package lists... 462s Building dependency tree... 462s Reading state information... 462s Solving dependencies... 462s The following packages will be REMOVED: 462s linux-headers-6.15.0-4* linux-headers-6.15.0-4-generic* 462s linux-image-6.15.0-4-generic* linux-modules-6.15.0-4-generic* 462s linux-tools-6.15.0-4* linux-tools-6.15.0-4-generic* 463s 0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded. 463s After this operation, 326 MB disk space will be freed. 463s (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 ... 156619 files and directories currently installed.) 463s Removing linux-headers-6.15.0-4-generic (6.15.0-4.4) ... 463s Removing linux-headers-6.15.0-4 (6.15.0-4.4) ... 466s Removing linux-image-6.15.0-4-generic (6.15.0-4.4) ... 466s /etc/kernel/postrm.d/initramfs-tools: 466s update-initramfs: Deleting /boot/initrd.img-6.15.0-4-generic 466s /etc/kernel/postrm.d/zz-update-grub: 466s Sourcing file `/etc/default/grub' 466s Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' 466s Generating grub configuration file ... 466s Found linux image: /boot/vmlinux-6.17.0-3-generic 466s Found initrd image: /boot/initrd.img-6.17.0-3-generic 466s Found linux image: /boot/vmlinux-6.16.0-16-generic 466s Found initrd image: /boot/initrd.img-6.16.0-16-generic 466s Warning: os-prober will not be executed to detect other bootable partitions. 466s Systems on them will not be added to the GRUB boot configuration. 466s Check GRUB_DISABLE_OS_PROBER documentation entry. 466s Adding boot menu entry for UEFI Firmware Settings ... 466s done 466s Removing linux-modules-6.15.0-4-generic (6.15.0-4.4) ... 467s Removing linux-tools-6.15.0-4-generic (6.15.0-4.4) ... 467s Removing linux-tools-6.15.0-4 (6.15.0-4.4) ... 467s (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 ... 118470 files and directories currently installed.) 467s Purging configuration files for linux-image-6.15.0-4-generic (6.15.0-4.4) ... 467s Purging configuration files for linux-modules-6.15.0-4-generic (6.15.0-4.4) ... 468s autopkgtest [12:33:33]: rebooting testbed after setup commands that affected boot 504s Reading package lists... 504s Building dependency tree... 504s Reading state information... 504s Solving dependencies... 504s The following NEW packages will be installed: 504s libgio-2.0-dev-bin 504s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 504s Need to get 131 kB of archives. 504s After this operation, 819 kB of additional disk space will be used. 504s Get:1 http://ftpmaster.internal/ubuntu questing/main ppc64el libgio-2.0-dev-bin ppc64el 2.85.3-1 [131 kB] 504s Fetched 131 kB in 0s (370 kB/s) 504s Selecting previously unselected package libgio-2.0-dev-bin. 504s (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 ... 118471 files and directories currently installed.) 504s Preparing to unpack .../libgio-2.0-dev-bin_2.85.3-1_ppc64el.deb ... 504s Unpacking libgio-2.0-dev-bin (2.85.3-1) ... 504s Setting up libgio-2.0-dev-bin (2.85.3-1) ... 505s Processing triggers for man-db (2.13.1-1) ... 511s autopkgtest [12:34:16]: test libgio-2.0-dev-bin: [----------------------- 511s + gdbus-codegen --help 511s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 511s [--c-namespace NAMESPACE] [--c-generate-object-manager] 511s [--c-generate-autocleanup {none,objects,all}] 511s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 511s [--generate-rst OUTFILES] [--pragma-once] 511s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 511s [--glib-min-required VERSION] 511s [--glib-max-allowed VERSION] 511s [--symbol-decorator SYMBOL_DECORATOR] 511s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 511s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 511s [--generate-c-code OUTFILES | --header | --body | 511s --interface-info-header | --interface-info-body] 511s [--output FILE | --output-directory OUTDIR] 511s FILE [FILE ...] 511s 511s D-Bus code and documentation generator 511s 511s positional arguments: 511s FILE D-Bus introspection XML file 511s 511s options: 511s -h, --help show this help message and exit 511s --interface-prefix PREFIX 511s String to strip from D-Bus interface names for code 511s and docs 511s --c-namespace NAMESPACE 511s The namespace to use for generated C code 511s --c-generate-object-manager 511s Generate a GDBusObjectManagerClient subclass when 511s generating C code 511s --c-generate-autocleanup {none,objects,all} 511s Generate autocleanup support 511s --generate-docbook OUTFILES 511s Generate Docbook in OUTFILES-org.Project.IFace.xml 511s --generate-md OUTFILES 511s Generate Markdown in OUTFILES-org.Project.IFace.md 511s --generate-rst OUTFILES 511s Generate reStructuredText in OUTFILES- 511s org.Project.IFace.rst 511s --pragma-once Use "pragma once" as the inclusion guard 511s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 511s Add annotation (may be used several times) 511s --glib-min-required VERSION 511s Minimum version of GLib to be supported by the 511s outputted code (default: 2.30) 511s --glib-max-allowed VERSION 511s Maximum version of GLib to be used by the outputted 511s code (default: current GLib version) 511s --symbol-decorator SYMBOL_DECORATOR 511s Macro used to decorate a symbol in the outputted 511s header, possibly to export symbols 511s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 511s Additional header required for decorator specified by 511s --symbol-decorator 511s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 511s Additional define required for decorator specified by 511s --symbol-decorator 511s --generate-c-code OUTFILES 511s Generate C code in OUTFILES.[ch] 511s --header Generate C headers 511s --body Generate C code 511s --interface-info-header 511s Generate GDBusInterfaceInfo C header 511s --interface-info-body 511s Generate GDBusInterfaceInfo C code 511s --output FILE Write output into the specified file 511s --output-directory OUTDIR 511s Location to output generated files 511s + glib-compile-resources --version 511s 2.85.3 511s + glib-genmarshal --version 511s glib-genmarshal version 2.85.3 511s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 511s You may redistribute copies of glib-genmarshal under the terms of 511s the GNU General Public License which can be found in the 511s GLib source package. Sources, examples and contact 511s information are available at http://www.gtk.org 511s + glib-gettextize --version 511s /usr/bin/glib-gettextize (GNU glib) 2.85.3 511s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 511s This is free software; see the source for copying conditions. There is NO 511s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 511s Written by Ulrich Drepper 511s + glib-mkenums --version 511s glib-mkenums version 2.85.3 511s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 511s You may redistribute copies of glib-mkenums under the terms of 511s the GNU General Public License which can be found in the 511s GLib source package. Sources, examples and contact 511s information are available at http://www.gtk.org 511s + gobject-query tree 511s GObject 511s + gtester --version 511s gtester version 2.85.3 511s + gtester-report --version 511s gtester-report (GLib utils) version 2.85.3. 511s autopkgtest [12:34:16]: test libgio-2.0-dev-bin: -----------------------] 512s autopkgtest [12:34:17]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 512s libgio-2.0-dev-bin PASS (superficial) 512s autopkgtest [12:34:17]: test libglib2.0-dev: preparing testbed 519s Creating nova instance adt-questing-ppc64el-glib2.0-20250905-122545-juju-7f2275-prod-proposed-migration-environment-20-1e415192-182c-47d6-9ea1-bc370a3005ce from image adt/ubuntu-questing-ppc64el-server-20250904.img (UUID e972553c-60b1-4e41-bd5d-505dae6af81e)... 572s autopkgtest [12:35:17]: testbed dpkg architecture: ppc64el 572s autopkgtest [12:35:17]: testbed apt version: 3.1.5ubuntu1 573s autopkgtest [12:35:18]: @@@@@@@@@@@@@@@@@@@@ test bed setup 573s autopkgtest [12:35:18]: testbed release detected to be: questing 574s autopkgtest [12:35:19]: updating testbed package index (apt update) 574s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [265 kB] 574s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 574s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 574s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 575s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [236 kB] 575s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [38.3 kB] 575s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [14.1 kB] 575s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/restricted Sources [1748 B] 575s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el Packages [65.4 kB] 575s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el c-n-f Metadata [2600 B] 575s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/restricted ppc64el c-n-f Metadata [120 B] 575s Get:12 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el Packages [258 kB] 575s Get:13 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el c-n-f Metadata [7024 B] 575s Get:14 http://ftpmaster.internal/ubuntu questing-proposed/multiverse ppc64el Packages [4600 B] 575s Get:15 http://ftpmaster.internal/ubuntu questing-proposed/multiverse ppc64el c-n-f Metadata [300 B] 576s Fetched 893 kB in 1s (956 kB/s) 577s Reading package lists... 577s Failed to check for VM: Permission denied 577s autopkgtest [12:35:22]: upgrading testbed (apt dist-upgrade and autopurge) 578s Reading package lists... 578s Building dependency tree... 578s Reading state information... 578s Calculating upgrade... 578s The following NEW packages will be installed: 578s linux-headers-6.17.0-3 linux-headers-6.17.0-3-generic 578s linux-image-6.17.0-3-generic linux-modules-6.17.0-3-generic wireless-regdb 578s The following packages will be upgraded: 578s bpftool bpftrace coreutils coreutils-from-gnu cryptsetup-bin curl 578s dracut-install findutils libcryptsetup12 libcurl3t64-gnutls libcurl4t64 578s libfreetype6 linux-generic linux-headers-generic linux-headers-virtual 578s linux-image-generic linux-image-virtual linux-libc-dev linux-perf 578s linux-tools-common linux-virtual 578s 21 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 578s Need to get 238 MB of archives. 578s After this operation, 327 MB of additional disk space will be used. 578s Get:1 http://ftpmaster.internal/ubuntu questing/main ppc64el coreutils all 9.5-1ubuntu2+0.0.0~ubuntu22 [2942 B] 578s Get:2 http://ftpmaster.internal/ubuntu questing/main ppc64el coreutils-from-gnu all 0.0.0~ubuntu22 [6762 B] 578s Get:3 http://ftpmaster.internal/ubuntu questing/main ppc64el findutils ppc64el 4.10.0-3build1 [337 kB] 578s Get:4 http://ftpmaster.internal/ubuntu questing/main ppc64el libcryptsetup12 ppc64el 2:2.8.0-1ubuntu2 [404 kB] 579s Get:5 http://ftpmaster.internal/ubuntu questing/main ppc64el bpftool ppc64el 7.7.0+6.17.0-3.3 [1238 kB] 579s Get:6 http://ftpmaster.internal/ubuntu questing/main ppc64el bpftrace ppc64el 0.23.5-1ubuntu1 [2112 kB] 579s Get:7 http://ftpmaster.internal/ubuntu questing/main ppc64el cryptsetup-bin ppc64el 2:2.8.0-1ubuntu2 [250 kB] 579s Get:8 http://ftpmaster.internal/ubuntu questing/main ppc64el curl ppc64el 8.14.1-1ubuntu3 [272 kB] 579s Get:9 http://ftpmaster.internal/ubuntu questing/main ppc64el libcurl4t64 ppc64el 8.14.1-1ubuntu3 [536 kB] 579s Get:10 http://ftpmaster.internal/ubuntu questing/main ppc64el dracut-install ppc64el 108-3ubuntu3 [49.0 kB] 579s Get:11 http://ftpmaster.internal/ubuntu questing/main ppc64el libcurl3t64-gnutls ppc64el 8.14.1-1ubuntu3 [528 kB] 579s Get:12 http://ftpmaster.internal/ubuntu questing/main ppc64el libfreetype6 ppc64el 2.13.3+dfsg-1build1 [566 kB] 579s Get:13 http://ftpmaster.internal/ubuntu questing/main ppc64el wireless-regdb all 2025.07.10-0ubuntu1 [7454 B] 579s Get:14 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-modules-6.17.0-3-generic ppc64el 6.17.0-3.3 [144 MB] 583s Get:15 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-image-6.17.0-3-generic ppc64el 6.17.0-3.3 [64.4 MB] 584s Get:16 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-generic ppc64el 6.17.0-3.3 [1688 B] 584s Get:17 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-image-generic ppc64el 6.17.0-3.3 [11.7 kB] 584s Get:18 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-virtual ppc64el 6.17.0-3.3 [1690 B] 584s Get:19 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-image-virtual ppc64el 6.17.0-3.3 [11.7 kB] 584s Get:20 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-headers-virtual ppc64el 6.17.0-3.3 [1642 B] 584s Get:21 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-headers-6.17.0-3 all 6.17.0-3.3 [14.7 MB] 584s Get:22 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-headers-6.17.0-3-generic ppc64el 6.17.0-3.3 [4190 kB] 585s Get:23 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-headers-generic ppc64el 6.17.0-3.3 [11.6 kB] 585s Get:24 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-libc-dev ppc64el 6.17.0-3.3 [1797 kB] 585s Get:25 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-perf ppc64el 6.17.0-3.3 [2738 kB] 585s Get:26 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-tools-common all 6.17.0-3.3 [340 kB] 585s Fetched 238 MB in 7s (35.1 MB/s) 585s (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 ... 117956 files and directories currently installed.) 585s Preparing to unpack .../coreutils_9.5-1ubuntu2+0.0.0~ubuntu22_all.deb ... 585s Unpacking coreutils (9.5-1ubuntu2+0.0.0~ubuntu22) over (9.5-1ubuntu2+0.0.0~ubuntu20) ... 586s Setting up coreutils (9.5-1ubuntu2+0.0.0~ubuntu22) ... 586s (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 ... 117956 files and directories currently installed.) 586s Preparing to unpack .../coreutils-from-gnu_0.0.0~ubuntu22_all.deb ... 586s Unpacking coreutils-from-gnu (0.0.0~ubuntu22) over (0.0.0~ubuntu20) ... 586s Setting up coreutils-from-gnu (0.0.0~ubuntu22) ... 586s (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 ... 117956 files and directories currently installed.) 586s Preparing to unpack .../findutils_4.10.0-3build1_ppc64el.deb ... 586s Unpacking findutils (4.10.0-3build1) over (4.10.0-3) ... 586s Setting up findutils (4.10.0-3build1) ... 586s (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 ... 117956 files and directories currently installed.) 586s Preparing to unpack .../00-libcryptsetup12_2%3a2.8.0-1ubuntu2_ppc64el.deb ... 586s Unpacking libcryptsetup12:ppc64el (2:2.8.0-1ubuntu2) over (2:2.8.0-1ubuntu1) ... 586s Preparing to unpack .../01-bpftool_7.7.0+6.17.0-3.3_ppc64el.deb ... 586s Unpacking bpftool (7.7.0+6.17.0-3.3) over (7.6.0+6.16.0-16.16) ... 586s Preparing to unpack .../02-bpftrace_0.23.5-1ubuntu1_ppc64el.deb ... 586s Unpacking bpftrace (0.23.5-1ubuntu1) over (0.23.2-1ubuntu2) ... 586s Preparing to unpack .../03-cryptsetup-bin_2%3a2.8.0-1ubuntu2_ppc64el.deb ... 586s Unpacking cryptsetup-bin (2:2.8.0-1ubuntu2) over (2:2.8.0-1ubuntu1) ... 586s Preparing to unpack .../04-curl_8.14.1-1ubuntu3_ppc64el.deb ... 586s Unpacking curl (8.14.1-1ubuntu3) over (8.14.1-1ubuntu2) ... 586s Preparing to unpack .../05-libcurl4t64_8.14.1-1ubuntu3_ppc64el.deb ... 586s Unpacking libcurl4t64:ppc64el (8.14.1-1ubuntu3) over (8.14.1-1ubuntu2) ... 586s Preparing to unpack .../06-dracut-install_108-3ubuntu3_ppc64el.deb ... 586s Unpacking dracut-install (108-3ubuntu3) over (108-3ubuntu2) ... 586s Preparing to unpack .../07-libcurl3t64-gnutls_8.14.1-1ubuntu3_ppc64el.deb ... 586s Unpacking libcurl3t64-gnutls:ppc64el (8.14.1-1ubuntu3) over (8.14.1-1ubuntu2) ... 586s Preparing to unpack .../08-libfreetype6_2.13.3+dfsg-1build1_ppc64el.deb ... 586s Unpacking libfreetype6:ppc64el (2.13.3+dfsg-1build1) over (2.13.3+dfsg-1) ... 586s Selecting previously unselected package wireless-regdb. 586s Preparing to unpack .../09-wireless-regdb_2025.07.10-0ubuntu1_all.deb ... 586s Unpacking wireless-regdb (2025.07.10-0ubuntu1) ... 586s Selecting previously unselected package linux-modules-6.17.0-3-generic. 586s Preparing to unpack .../10-linux-modules-6.17.0-3-generic_6.17.0-3.3_ppc64el.deb ... 586s Unpacking linux-modules-6.17.0-3-generic (6.17.0-3.3) ... 587s Selecting previously unselected package linux-image-6.17.0-3-generic. 587s Preparing to unpack .../11-linux-image-6.17.0-3-generic_6.17.0-3.3_ppc64el.deb ... 587s Unpacking linux-image-6.17.0-3-generic (6.17.0-3.3) ... 588s Preparing to unpack .../12-linux-generic_6.17.0-3.3_ppc64el.deb ... 588s Unpacking linux-generic (6.17.0-3.3) over (6.16.0-16.16) ... 588s Preparing to unpack .../13-linux-image-generic_6.17.0-3.3_ppc64el.deb ... 588s Unpacking linux-image-generic (6.17.0-3.3) over (6.16.0-16.16) ... 588s Preparing to unpack .../14-linux-virtual_6.17.0-3.3_ppc64el.deb ... 588s Unpacking linux-virtual (6.17.0-3.3) over (6.16.0-16.16) ... 588s Preparing to unpack .../15-linux-image-virtual_6.17.0-3.3_ppc64el.deb ... 588s Unpacking linux-image-virtual (6.17.0-3.3) over (6.16.0-16.16) ... 588s Preparing to unpack .../16-linux-headers-virtual_6.17.0-3.3_ppc64el.deb ... 588s Unpacking linux-headers-virtual (6.17.0-3.3) over (6.16.0-16.16) ... 588s Selecting previously unselected package linux-headers-6.17.0-3. 588s Preparing to unpack .../17-linux-headers-6.17.0-3_6.17.0-3.3_all.deb ... 588s Unpacking linux-headers-6.17.0-3 (6.17.0-3.3) ... 590s Selecting previously unselected package linux-headers-6.17.0-3-generic. 590s Preparing to unpack .../18-linux-headers-6.17.0-3-generic_6.17.0-3.3_ppc64el.deb ... 590s Unpacking linux-headers-6.17.0-3-generic (6.17.0-3.3) ... 590s Preparing to unpack .../19-linux-headers-generic_6.17.0-3.3_ppc64el.deb ... 590s Unpacking linux-headers-generic (6.17.0-3.3) over (6.16.0-16.16) ... 590s Preparing to unpack .../20-linux-libc-dev_6.17.0-3.3_ppc64el.deb ... 590s Unpacking linux-libc-dev:ppc64el (6.17.0-3.3) over (6.16.0-16.16) ... 591s Preparing to unpack .../21-linux-perf_6.17.0-3.3_ppc64el.deb ... 591s Unpacking linux-perf (6.17.0-3.3) over (6.16.0-16.16) ... 591s Preparing to unpack .../22-linux-tools-common_6.17.0-3.3_all.deb ... 591s Unpacking linux-tools-common (6.17.0-3.3) over (6.16.0-16.16) ... 591s Setting up libcurl4t64:ppc64el (8.14.1-1ubuntu3) ... 591s Setting up bpftrace (0.23.5-1ubuntu1) ... 591s Setting up bpftool (7.7.0+6.17.0-3.3) ... 591s Setting up wireless-regdb (2025.07.10-0ubuntu1) ... 591s Setting up libcurl3t64-gnutls:ppc64el (8.14.1-1ubuntu3) ... 591s Setting up linux-libc-dev:ppc64el (6.17.0-3.3) ... 591s Setting up linux-perf (6.17.0-3.3) ... 591s Setting up libfreetype6:ppc64el (2.13.3+dfsg-1build1) ... 591s Setting up dracut-install (108-3ubuntu3) ... 591s Setting up libcryptsetup12:ppc64el (2:2.8.0-1ubuntu2) ... 591s Setting up curl (8.14.1-1ubuntu3) ... 591s Setting up linux-headers-6.17.0-3 (6.17.0-3.3) ... 591s Setting up linux-tools-common (6.17.0-3.3) ... 591s Setting up cryptsetup-bin (2:2.8.0-1ubuntu2) ... 591s Setting up linux-modules-6.17.0-3-generic (6.17.0-3.3) ... 592s Setting up linux-image-6.17.0-3-generic (6.17.0-3.3) ... 594s I: /boot/vmlinux.old is now a symlink to vmlinux-6.16.0-16-generic 594s I: /boot/initrd.img.old is now a symlink to initrd.img-6.16.0-16-generic 594s I: /boot/vmlinux is now a symlink to vmlinux-6.17.0-3-generic 594s I: /boot/initrd.img is now a symlink to initrd.img-6.17.0-3-generic 594s Setting up linux-headers-6.17.0-3-generic (6.17.0-3.3) ... 594s Setting up linux-image-virtual (6.17.0-3.3) ... 594s Setting up linux-image-generic (6.17.0-3.3) ... 594s Setting up linux-headers-generic (6.17.0-3.3) ... 594s Setting up linux-headers-virtual (6.17.0-3.3) ... 594s Setting up linux-generic (6.17.0-3.3) ... 594s Setting up linux-virtual (6.17.0-3.3) ... 594s Processing triggers for libc-bin (2.42-0ubuntu1) ... 594s Processing triggers for man-db (2.13.1-1) ... 597s Processing triggers for install-info (7.1.1-1) ... 597s Processing triggers for linux-image-6.17.0-3-generic (6.17.0-3.3) ... 597s /etc/kernel/postinst.d/initramfs-tools: 597s update-initramfs: Generating /boot/initrd.img-6.17.0-3-generic 603s /etc/kernel/postinst.d/zz-update-grub: 603s Sourcing file `/etc/default/grub' 603s Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' 603s Generating grub configuration file ... 603s Found linux image: /boot/vmlinux-6.17.0-3-generic 603s Found initrd image: /boot/initrd.img-6.17.0-3-generic 603s Found linux image: /boot/vmlinux-6.16.0-16-generic 603s Found initrd image: /boot/initrd.img-6.16.0-16-generic 603s Found linux image: /boot/vmlinux-6.15.0-4-generic 603s Found initrd image: /boot/initrd.img-6.15.0-4-generic 603s Warning: os-prober will not be executed to detect other bootable partitions. 603s Systems on them will not be added to the GRUB boot configuration. 603s Check GRUB_DISABLE_OS_PROBER documentation entry. 603s Adding boot menu entry for UEFI Firmware Settings ... 603s done 604s Reading package lists... 604s Building dependency tree... 604s Reading state information... 604s Solving dependencies... 604s The following packages will be REMOVED: 604s linux-headers-6.15.0-4* linux-headers-6.15.0-4-generic* 604s linux-image-6.15.0-4-generic* linux-modules-6.15.0-4-generic* 604s linux-tools-6.15.0-4* linux-tools-6.15.0-4-generic* 604s 0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded. 604s After this operation, 326 MB disk space will be freed. 604s (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 ... 156619 files and directories currently installed.) 604s Removing linux-headers-6.15.0-4-generic (6.15.0-4.4) ... 605s Removing linux-headers-6.15.0-4 (6.15.0-4.4) ... 608s Removing linux-image-6.15.0-4-generic (6.15.0-4.4) ... 608s /etc/kernel/postrm.d/initramfs-tools: 608s update-initramfs: Deleting /boot/initrd.img-6.15.0-4-generic 609s /etc/kernel/postrm.d/zz-update-grub: 609s Sourcing file `/etc/default/grub' 609s Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' 609s Generating grub configuration file ... 609s Found linux image: /boot/vmlinux-6.17.0-3-generic 609s Found initrd image: /boot/initrd.img-6.17.0-3-generic 609s Found linux image: /boot/vmlinux-6.16.0-16-generic 609s Found initrd image: /boot/initrd.img-6.16.0-16-generic 609s Warning: os-prober will not be executed to detect other bootable partitions. 609s Systems on them will not be added to the GRUB boot configuration. 609s Check GRUB_DISABLE_OS_PROBER documentation entry. 609s Adding boot menu entry for UEFI Firmware Settings ... 609s done 609s Removing linux-modules-6.15.0-4-generic (6.15.0-4.4) ... 610s Removing linux-tools-6.15.0-4-generic (6.15.0-4.4) ... 610s Removing linux-tools-6.15.0-4 (6.15.0-4.4) ... 611s (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 ... 118470 files and directories currently installed.) 611s Purging configuration files for linux-image-6.15.0-4-generic (6.15.0-4.4) ... 611s Purging configuration files for linux-modules-6.15.0-4-generic (6.15.0-4.4) ... 611s autopkgtest [12:35:56]: rebooting testbed after setup commands that affected boot 652s Reading package lists... 652s Building dependency tree... 652s Reading state information... 652s Solving dependencies... 652s The following packages will be REMOVED: 652s coreutils-from-gnu 652s The following NEW packages will be installed: 652s build-essential coreutils-from-uutils cpp cpp-15 652s cpp-15-powerpc64le-linux-gnu cpp-powerpc64le-linux-gnu g++ g++-15 652s g++-15-powerpc64le-linux-gnu g++-powerpc64le-linux-gnu gcc gcc-15 652s gcc-15-powerpc64le-linux-gnu gcc-powerpc64le-linux-gnu gir1.2-glib-2.0-dev 652s girepository-tools libasan8 libblkid-dev libcc1-0 libffi-dev libgcc-15-dev 652s libgio-2.0-dev libgio-2.0-dev-bin libgirepository-2.0-0 libglib2.0-bin 652s libglib2.0-dev libglib2.0-dev-bin libgomp1 libisl23 libitm1 liblsan0 652s libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 652s libpcre2-posix3 libpkgconf3 libquadmath0 libselinux1-dev libsepol-dev 652s libstdc++-15-dev libsysprof-capture-4-dev libtsan2 libubsan1 652s native-architecture pkgconf pkgconf-bin rust-coreutils uuid-dev zlib1g-dev 653s 0 upgraded, 51 newly installed, 1 to remove and 0 not upgraded. 653s Need to get 266 MB of archives. 653s After this operation, 1022 MB of additional disk space will be used. 653s Get:1 http://ftpmaster.internal/ubuntu questing/main ppc64el rust-coreutils ppc64el 0.1.0+git20250813.4af2a84-0ubuntu6 [3472 kB] 654s Get:2 http://ftpmaster.internal/ubuntu questing/main ppc64el coreutils-from-uutils all 0.0.0~ubuntu22 [7002 B] 654s Get:3 http://ftpmaster.internal/ubuntu questing/main ppc64el libisl23 ppc64el 0.27-1 [882 kB] 654s Get:4 http://ftpmaster.internal/ubuntu questing/main ppc64el libmpc3 ppc64el 1.3.1-1build3 [62.6 kB] 654s Get:5 http://ftpmaster.internal/ubuntu questing/main ppc64el cpp-15-powerpc64le-linux-gnu ppc64el 15.2.0-2ubuntu1 [75.1 MB] 679s Get:6 http://ftpmaster.internal/ubuntu questing/main ppc64el cpp-15 ppc64el 15.2.0-2ubuntu1 [1034 B] 679s Get:7 http://ftpmaster.internal/ubuntu questing/main ppc64el cpp-powerpc64le-linux-gnu ppc64el 4:15.2.0-1ubuntu2 [5730 B] 679s Get:8 http://ftpmaster.internal/ubuntu questing/main ppc64el cpp ppc64el 4:15.2.0-1ubuntu2 [22.5 kB] 679s Get:9 http://ftpmaster.internal/ubuntu questing/main ppc64el libcc1-0 ppc64el 15.2.0-2ubuntu1 [49.0 kB] 679s Get:10 http://ftpmaster.internal/ubuntu questing/main ppc64el libgomp1 ppc64el 15.2.0-2ubuntu1 [169 kB] 679s Get:11 http://ftpmaster.internal/ubuntu questing/main ppc64el libitm1 ppc64el 15.2.0-2ubuntu1 [32.3 kB] 679s Get:12 http://ftpmaster.internal/ubuntu questing/main ppc64el libasan8 ppc64el 15.2.0-2ubuntu1 [3006 kB] 680s Get:13 http://ftpmaster.internal/ubuntu questing/main ppc64el liblsan0 ppc64el 15.2.0-2ubuntu1 [1374 kB] 680s Get:14 http://ftpmaster.internal/ubuntu questing/main ppc64el libtsan2 ppc64el 15.2.0-2ubuntu1 [2728 kB] 681s Get:15 http://ftpmaster.internal/ubuntu questing/main ppc64el libubsan1 ppc64el 15.2.0-2ubuntu1 [1231 kB] 681s Get:16 http://ftpmaster.internal/ubuntu questing/main ppc64el libquadmath0 ppc64el 15.2.0-2ubuntu1 [160 kB] 681s Get:17 http://ftpmaster.internal/ubuntu questing/main ppc64el libgcc-15-dev ppc64el 15.2.0-2ubuntu1 [1670 kB] 682s Get:18 http://ftpmaster.internal/ubuntu questing/main ppc64el gcc-15-powerpc64le-linux-gnu ppc64el 15.2.0-2ubuntu1 [84.0 MB] 712s Get:19 http://ftpmaster.internal/ubuntu questing/main ppc64el gcc-15 ppc64el 15.2.0-2ubuntu1 [520 kB] 713s Get:20 http://ftpmaster.internal/ubuntu questing/main ppc64el gcc-powerpc64le-linux-gnu ppc64el 4:15.2.0-1ubuntu2 [1220 B] 713s Get:21 http://ftpmaster.internal/ubuntu questing/main ppc64el gcc ppc64el 4:15.2.0-1ubuntu2 [5026 B] 713s Get:22 http://ftpmaster.internal/ubuntu questing/main ppc64el libstdc++-15-dev ppc64el 15.2.0-2ubuntu1 [2718 kB] 714s Get:23 http://ftpmaster.internal/ubuntu questing/main ppc64el g++-15-powerpc64le-linux-gnu ppc64el 15.2.0-2ubuntu1 [81.0 MB] 733s Get:24 http://ftpmaster.internal/ubuntu questing/main ppc64el g++-15 ppc64el 15.2.0-2ubuntu1 [23.1 kB] 733s Get:25 http://ftpmaster.internal/ubuntu questing/main ppc64el g++-powerpc64le-linux-gnu ppc64el 4:15.2.0-1ubuntu2 [966 B] 733s Get:26 http://ftpmaster.internal/ubuntu questing/main ppc64el g++ ppc64el 4:15.2.0-1ubuntu2 [1086 B] 733s Get:27 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el build-essential ppc64el 12.12ubuntu2 [5256 B] 733s Get:28 http://ftpmaster.internal/ubuntu questing/main ppc64el gir1.2-glib-2.0-dev ppc64el 2.85.3-1 [868 kB] 733s Get:29 http://ftpmaster.internal/ubuntu questing/main ppc64el native-architecture all 0.2.6 [2140 B] 733s Get:30 http://ftpmaster.internal/ubuntu questing/main ppc64el libgirepository-2.0-0 ppc64el 2.85.3-1 [85.5 kB] 733s Get:31 http://ftpmaster.internal/ubuntu questing/main ppc64el girepository-tools ppc64el 2.85.3-1 [135 kB] 733s Get:32 http://ftpmaster.internal/ubuntu questing/main ppc64el libffi-dev ppc64el 3.5.2-1 [69.9 kB] 733s Get:33 http://ftpmaster.internal/ubuntu questing/main ppc64el uuid-dev ppc64el 2.41-4ubuntu3 [58.5 kB] 733s Get:34 http://ftpmaster.internal/ubuntu questing/main ppc64el libblkid-dev ppc64el 2.41-4ubuntu3 [283 kB] 733s Get:35 http://ftpmaster.internal/ubuntu questing/main ppc64el libsepol-dev ppc64el 3.8.1-1 [505 kB] 734s Get:36 http://ftpmaster.internal/ubuntu questing/main ppc64el libpcre2-16-0 ppc64el 10.46-1 [292 kB] 734s Get:37 http://ftpmaster.internal/ubuntu questing/main ppc64el libpcre2-32-0 ppc64el 10.46-1 [275 kB] 734s Get:38 http://ftpmaster.internal/ubuntu questing/main ppc64el libpcre2-posix3 ppc64el 10.46-1 [7334 B] 734s Get:39 http://ftpmaster.internal/ubuntu questing/main ppc64el libpcre2-dev ppc64el 10.46-1 [937 kB] 734s Get:40 http://ftpmaster.internal/ubuntu questing/main ppc64el libselinux1-dev ppc64el 3.8.1-1 [204 kB] 734s Get:41 http://ftpmaster.internal/ubuntu questing/main ppc64el libmount-dev ppc64el 2.41-4ubuntu3 [36.2 kB] 734s Get:42 http://ftpmaster.internal/ubuntu questing/main ppc64el libsysprof-capture-4-dev ppc64el 48.0-2 [62.2 kB] 734s Get:43 http://ftpmaster.internal/ubuntu questing/main ppc64el libpkgconf3 ppc64el 1.8.1-4 [37.1 kB] 734s Get:44 http://ftpmaster.internal/ubuntu questing/main ppc64el pkgconf-bin ppc64el 1.8.1-4 [22.5 kB] 734s Get:45 http://ftpmaster.internal/ubuntu questing/main ppc64el pkgconf ppc64el 1.8.1-4 [16.7 kB] 734s Get:46 http://ftpmaster.internal/ubuntu questing/main ppc64el zlib1g-dev ppc64el 1:1.3.dfsg+really1.3.1-1ubuntu1 [902 kB] 734s Get:47 http://ftpmaster.internal/ubuntu questing/main ppc64el libgio-2.0-dev ppc64el 2.85.3-1 [2204 kB] 734s Get:48 http://ftpmaster.internal/ubuntu questing/main ppc64el libgio-2.0-dev-bin ppc64el 2.85.3-1 [131 kB] 734s Get:49 http://ftpmaster.internal/ubuntu questing/main ppc64el libglib2.0-bin ppc64el 2.85.3-1 [111 kB] 734s Get:50 http://ftpmaster.internal/ubuntu questing/main ppc64el libglib2.0-dev-bin ppc64el 2.85.3-1 [18.2 kB] 734s Get:51 http://ftpmaster.internal/ubuntu questing/main ppc64el libglib2.0-dev ppc64el 2.85.3-1 [18.9 kB] 735s Fetched 266 MB in 1min 22s (3239 kB/s) 735s Selecting previously unselected package rust-coreutils. 736s (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 ... 118471 files and directories currently installed.) 736s Preparing to unpack .../rust-coreutils_0.1.0+git20250813.4af2a84-0ubuntu6_ppc64el.deb ... 736s Unpacking rust-coreutils (0.1.0+git20250813.4af2a84-0ubuntu6) ... 736s Setting up rust-coreutils (0.1.0+git20250813.4af2a84-0ubuntu6) ... 736s dpkg: coreutils-from-gnu: dependency problems, but removing anyway as you requested: 736s coreutils depends on coreutils-from-uutils | coreutils-from-gnu; however: 736s Package coreutils-from-uutils is not installed. 736s Package coreutils-from-gnu is to be removed. 736s 736s (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 ... 119204 files and directories currently installed.) 736s Removing coreutils-from-gnu (0.0.0~ubuntu22) ... 736s Adding 'diversion of /usr/bin/[ to /usr/bin/[.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/arch to /usr/bin/arch.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/b2sum to /usr/bin/b2sum.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/base32 to /usr/bin/base32.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/base64 to /usr/bin/base64.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/basename to /usr/bin/basename.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/basenc to /usr/bin/basenc.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/cat to /usr/bin/cat.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/chcon to /usr/bin/chcon.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/chgrp to /usr/bin/chgrp.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/chmod to /usr/bin/chmod.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/chown to /usr/bin/chown.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/cksum to /usr/bin/cksum.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/comm to /usr/bin/comm.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/cp to /usr/bin/cp.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/csplit to /usr/bin/csplit.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/cut to /usr/bin/cut.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/date to /usr/bin/date.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/dd to /usr/bin/dd.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/df to /usr/bin/df.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/dir to /usr/bin/dir.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/dircolors to /usr/bin/dircolors.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/dirname to /usr/bin/dirname.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/du to /usr/bin/du.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/echo to /usr/bin/echo.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/env to /usr/bin/env.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/expand to /usr/bin/expand.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/expr to /usr/bin/expr.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/factor to /usr/bin/factor.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/false to /usr/bin/false.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/fmt to /usr/bin/fmt.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/fold to /usr/bin/fold.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/groups to /usr/bin/groups.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/head to /usr/bin/head.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/hostid to /usr/bin/hostid.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/id to /usr/bin/id.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/install to /usr/bin/install.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/join to /usr/bin/join.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/link to /usr/bin/link.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/ln to /usr/bin/ln.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/logname to /usr/bin/logname.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/ls to /usr/bin/ls.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/md5sum to /usr/bin/md5sum.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/mkdir to /usr/bin/mkdir.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/mkfifo to /usr/bin/mkfifo.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/mknod to /usr/bin/mknod.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/mktemp to /usr/bin/mktemp.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/mv to /usr/bin/mv.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/nice to /usr/bin/nice.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/nl to /usr/bin/nl.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/nohup to /usr/bin/nohup.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/nproc to /usr/bin/nproc.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/numfmt to /usr/bin/numfmt.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/od to /usr/bin/od.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/paste to /usr/bin/paste.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/pathchk to /usr/bin/pathchk.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/pinky to /usr/bin/pinky.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/pr to /usr/bin/pr.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/printenv to /usr/bin/printenv.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/printf to /usr/bin/printf.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/ptx to /usr/bin/ptx.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/pwd to /usr/bin/pwd.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/readlink to /usr/bin/readlink.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/realpath to /usr/bin/realpath.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/rm to /usr/bin/rm.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/rmdir to /usr/bin/rmdir.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/runcon to /usr/bin/runcon.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/seq to /usr/bin/seq.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/sha1sum to /usr/bin/sha1sum.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/sha224sum to /usr/bin/sha224sum.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/sha256sum to /usr/bin/sha256sum.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/sha384sum to /usr/bin/sha384sum.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/sha512sum to /usr/bin/sha512sum.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/shred to /usr/bin/shred.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/shuf to /usr/bin/shuf.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/sleep to /usr/bin/sleep.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/sort to /usr/bin/sort.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/split to /usr/bin/split.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/stat to /usr/bin/stat.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/stdbuf to /usr/bin/stdbuf.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/stty to /usr/bin/stty.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/sum to /usr/bin/sum.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/sync to /usr/bin/sync.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/tac to /usr/bin/tac.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/tail to /usr/bin/tail.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/tee to /usr/bin/tee.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/test to /usr/bin/test.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/timeout to /usr/bin/timeout.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/touch to /usr/bin/touch.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/tr to /usr/bin/tr.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/true to /usr/bin/true.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/truncate to /usr/bin/truncate.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/tsort to /usr/bin/tsort.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/tty to /usr/bin/tty.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/uname to /usr/bin/uname.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/unexpand to /usr/bin/unexpand.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/uniq to /usr/bin/uniq.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/unlink to /usr/bin/unlink.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/users to /usr/bin/users.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/vdir to /usr/bin/vdir.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/wc to /usr/bin/wc.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/who to /usr/bin/who.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/whoami to /usr/bin/whoami.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/bin/yes to /usr/bin/yes.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/sbin/chroot to /usr/sbin/chroot.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/share/man/man1/arch.1.gz to /usr/share/man/man1/arch.1.gz.remove-bak by coreutils-switch' 736s Adding 'diversion of /usr/share/man/man1/b2sum.1.gz to /usr/share/man/man1/b2sum.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/base32.1.gz to /usr/share/man/man1/base32.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/base64.1.gz to /usr/share/man/man1/base64.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/basename.1.gz to /usr/share/man/man1/basename.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/basenc.1.gz to /usr/share/man/man1/basenc.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/cat.1.gz to /usr/share/man/man1/cat.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/chcon.1.gz to /usr/share/man/man1/chcon.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/chgrp.1.gz to /usr/share/man/man1/chgrp.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/chmod.1.gz to /usr/share/man/man1/chmod.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/chown.1.gz to /usr/share/man/man1/chown.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/cksum.1.gz to /usr/share/man/man1/cksum.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/comm.1.gz to /usr/share/man/man1/comm.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/cp.1.gz to /usr/share/man/man1/cp.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/csplit.1.gz to /usr/share/man/man1/csplit.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/cut.1.gz to /usr/share/man/man1/cut.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/date.1.gz to /usr/share/man/man1/date.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/dd.1.gz to /usr/share/man/man1/dd.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/df.1.gz to /usr/share/man/man1/df.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/dir.1.gz to /usr/share/man/man1/dir.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/dircolors.1.gz to /usr/share/man/man1/dircolors.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/dirname.1.gz to /usr/share/man/man1/dirname.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/du.1.gz to /usr/share/man/man1/du.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/echo.1.gz to /usr/share/man/man1/echo.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/env.1.gz to /usr/share/man/man1/env.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/expand.1.gz to /usr/share/man/man1/expand.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/expr.1.gz to /usr/share/man/man1/expr.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/factor.1.gz to /usr/share/man/man1/factor.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/false.1.gz to /usr/share/man/man1/false.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/fmt.1.gz to /usr/share/man/man1/fmt.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/fold.1.gz to /usr/share/man/man1/fold.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/groups.1.gz to /usr/share/man/man1/groups.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/head.1.gz to /usr/share/man/man1/head.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/hostid.1.gz to /usr/share/man/man1/hostid.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/id.1.gz to /usr/share/man/man1/id.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/install.1.gz to /usr/share/man/man1/install.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/join.1.gz to /usr/share/man/man1/join.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/link.1.gz to /usr/share/man/man1/link.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/ln.1.gz to /usr/share/man/man1/ln.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/logname.1.gz to /usr/share/man/man1/logname.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/ls.1.gz to /usr/share/man/man1/ls.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/md5sum.1.gz to /usr/share/man/man1/md5sum.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/mkdir.1.gz to /usr/share/man/man1/mkdir.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/mkfifo.1.gz to /usr/share/man/man1/mkfifo.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/mknod.1.gz to /usr/share/man/man1/mknod.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/mktemp.1.gz to /usr/share/man/man1/mktemp.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/mv.1.gz to /usr/share/man/man1/mv.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/nice.1.gz to /usr/share/man/man1/nice.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/nl.1.gz to /usr/share/man/man1/nl.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/nohup.1.gz to /usr/share/man/man1/nohup.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/nproc.1.gz to /usr/share/man/man1/nproc.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/numfmt.1.gz to /usr/share/man/man1/numfmt.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/od.1.gz to /usr/share/man/man1/od.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/paste.1.gz to /usr/share/man/man1/paste.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/pathchk.1.gz to /usr/share/man/man1/pathchk.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/pinky.1.gz to /usr/share/man/man1/pinky.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/pr.1.gz to /usr/share/man/man1/pr.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/printenv.1.gz to /usr/share/man/man1/printenv.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/printf.1.gz to /usr/share/man/man1/printf.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/ptx.1.gz to /usr/share/man/man1/ptx.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/pwd.1.gz to /usr/share/man/man1/pwd.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/readlink.1.gz to /usr/share/man/man1/readlink.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/realpath.1.gz to /usr/share/man/man1/realpath.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/rm.1.gz to /usr/share/man/man1/rm.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/rmdir.1.gz to /usr/share/man/man1/rmdir.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/runcon.1.gz to /usr/share/man/man1/runcon.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/seq.1.gz to /usr/share/man/man1/seq.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/sha1sum.1.gz to /usr/share/man/man1/sha1sum.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/sha224sum.1.gz to /usr/share/man/man1/sha224sum.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/sha256sum.1.gz to /usr/share/man/man1/sha256sum.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/sha384sum.1.gz to /usr/share/man/man1/sha384sum.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/sha512sum.1.gz to /usr/share/man/man1/sha512sum.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/shred.1.gz to /usr/share/man/man1/shred.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/shuf.1.gz to /usr/share/man/man1/shuf.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/sleep.1.gz to /usr/share/man/man1/sleep.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/sort.1.gz to /usr/share/man/man1/sort.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/split.1.gz to /usr/share/man/man1/split.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/stat.1.gz to /usr/share/man/man1/stat.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/stdbuf.1.gz to /usr/share/man/man1/stdbuf.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/stty.1.gz to /usr/share/man/man1/stty.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/sum.1.gz to /usr/share/man/man1/sum.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/sync.1.gz to /usr/share/man/man1/sync.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/tac.1.gz to /usr/share/man/man1/tac.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/tail.1.gz to /usr/share/man/man1/tail.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/tee.1.gz to /usr/share/man/man1/tee.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/test.1.gz to /usr/share/man/man1/test.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/timeout.1.gz to /usr/share/man/man1/timeout.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/touch.1.gz to /usr/share/man/man1/touch.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/tr.1.gz to /usr/share/man/man1/tr.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/true.1.gz to /usr/share/man/man1/true.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/truncate.1.gz to /usr/share/man/man1/truncate.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/tsort.1.gz to /usr/share/man/man1/tsort.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/tty.1.gz to /usr/share/man/man1/tty.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/uname.1.gz to /usr/share/man/man1/uname.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/unexpand.1.gz to /usr/share/man/man1/unexpand.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/uniq.1.gz to /usr/share/man/man1/uniq.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/unlink.1.gz to /usr/share/man/man1/unlink.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/users.1.gz to /usr/share/man/man1/users.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/vdir.1.gz to /usr/share/man/man1/vdir.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/wc.1.gz to /usr/share/man/man1/wc.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/who.1.gz to /usr/share/man/man1/who.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/whoami.1.gz to /usr/share/man/man1/whoami.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/yes.1.gz to /usr/share/man/man1/yes.1.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man8/chroot.8.gz to /usr/share/man/man8/chroot.8.gz.remove-bak by coreutils-switch' 737s Adding 'diversion of /usr/share/man/man1/[.1.gz to /usr/share/man/man1/[.1.gz.remove-bak by coreutils-switch' 737s Selecting previously unselected package coreutils-from-uutils. 737s (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 ... 119413 files and directories currently installed.) 737s Preparing to unpack .../coreutils-from-uutils_0.0.0~ubuntu22_all.deb ... 737s Removing 'diversion of /usr/bin/[ to /usr/bin/[.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/arch to /usr/bin/arch.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/b2sum to /usr/bin/b2sum.remove-bak by coreutils-switch' 737s No diversion 'diversion of /usr/bin/b3sum to /usr/bin/b3sum.remove-bak by coreutils-switch', none removed. 737s Removing 'diversion of /usr/bin/base32 to /usr/bin/base32.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/base64 to /usr/bin/base64.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/basename to /usr/bin/basename.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/basenc to /usr/bin/basenc.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/cat to /usr/bin/cat.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/chcon to /usr/bin/chcon.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/chgrp to /usr/bin/chgrp.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/chmod to /usr/bin/chmod.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/chown to /usr/bin/chown.remove-bak by coreutils-switch' 737s No diversion 'diversion of /usr/bin/chroot to /usr/bin/chroot.remove-bak by coreutils-switch', none removed. 737s Removing 'diversion of /usr/bin/cksum to /usr/bin/cksum.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/comm to /usr/bin/comm.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/cp to /usr/bin/cp.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/csplit to /usr/bin/csplit.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/cut to /usr/bin/cut.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/date to /usr/bin/date.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/dd to /usr/bin/dd.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/df to /usr/bin/df.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/dir to /usr/bin/dir.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/dircolors to /usr/bin/dircolors.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/dirname to /usr/bin/dirname.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/du to /usr/bin/du.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/echo to /usr/bin/echo.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/env to /usr/bin/env.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/expand to /usr/bin/expand.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/expr to /usr/bin/expr.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/factor to /usr/bin/factor.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/false to /usr/bin/false.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/fmt to /usr/bin/fmt.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/fold to /usr/bin/fold.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/groups to /usr/bin/groups.remove-bak by coreutils-switch' 737s No diversion 'diversion of /usr/bin/hashsum to /usr/bin/hashsum.remove-bak by coreutils-switch', none removed. 737s Removing 'diversion of /usr/bin/head to /usr/bin/head.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/hostid to /usr/bin/hostid.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/id to /usr/bin/id.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/install to /usr/bin/install.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/join to /usr/bin/join.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/link to /usr/bin/link.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/ln to /usr/bin/ln.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/logname to /usr/bin/logname.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/ls to /usr/bin/ls.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/md5sum to /usr/bin/md5sum.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/mkdir to /usr/bin/mkdir.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/mkfifo to /usr/bin/mkfifo.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/mknod to /usr/bin/mknod.remove-bak by coreutils-switch' 737s Removing 'diversion of /usr/bin/mktemp to /usr/bin/mktemp.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/mv to /usr/bin/mv.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/nice to /usr/bin/nice.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/nl to /usr/bin/nl.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/nohup to /usr/bin/nohup.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/nproc to /usr/bin/nproc.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/numfmt to /usr/bin/numfmt.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/od to /usr/bin/od.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/paste to /usr/bin/paste.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/pathchk to /usr/bin/pathchk.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/pinky to /usr/bin/pinky.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/pr to /usr/bin/pr.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/printenv to /usr/bin/printenv.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/printf to /usr/bin/printf.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/ptx to /usr/bin/ptx.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/pwd to /usr/bin/pwd.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/readlink to /usr/bin/readlink.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/realpath to /usr/bin/realpath.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/rm to /usr/bin/rm.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/rmdir to /usr/bin/rmdir.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/runcon to /usr/bin/runcon.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/seq to /usr/bin/seq.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/sha1sum to /usr/bin/sha1sum.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/sha224sum to /usr/bin/sha224sum.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/sha256sum to /usr/bin/sha256sum.remove-bak by coreutils-switch' 738s No diversion 'diversion of /usr/bin/sha3-224sum to /usr/bin/sha3-224sum.remove-bak by coreutils-switch', none removed. 738s No diversion 'diversion of /usr/bin/sha3-256sum to /usr/bin/sha3-256sum.remove-bak by coreutils-switch', none removed. 738s No diversion 'diversion of /usr/bin/sha3-384sum to /usr/bin/sha3-384sum.remove-bak by coreutils-switch', none removed. 738s No diversion 'diversion of /usr/bin/sha3-512sum to /usr/bin/sha3-512sum.remove-bak by coreutils-switch', none removed. 738s Removing 'diversion of /usr/bin/sha384sum to /usr/bin/sha384sum.remove-bak by coreutils-switch' 738s No diversion 'diversion of /usr/bin/sha3sum to /usr/bin/sha3sum.remove-bak by coreutils-switch', none removed. 738s Removing 'diversion of /usr/bin/sha512sum to /usr/bin/sha512sum.remove-bak by coreutils-switch' 738s No diversion 'diversion of /usr/bin/shake128sum to /usr/bin/shake128sum.remove-bak by coreutils-switch', none removed. 738s No diversion 'diversion of /usr/bin/shake256sum to /usr/bin/shake256sum.remove-bak by coreutils-switch', none removed. 738s Removing 'diversion of /usr/bin/shred to /usr/bin/shred.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/shuf to /usr/bin/shuf.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/sleep to /usr/bin/sleep.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/sort to /usr/bin/sort.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/split to /usr/bin/split.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/stat to /usr/bin/stat.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/stdbuf to /usr/bin/stdbuf.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/stty to /usr/bin/stty.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/sum to /usr/bin/sum.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/sync to /usr/bin/sync.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/tac to /usr/bin/tac.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/tail to /usr/bin/tail.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/tee to /usr/bin/tee.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/test to /usr/bin/test.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/timeout to /usr/bin/timeout.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/touch to /usr/bin/touch.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/tr to /usr/bin/tr.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/true to /usr/bin/true.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/truncate to /usr/bin/truncate.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/tsort to /usr/bin/tsort.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/tty to /usr/bin/tty.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/uname to /usr/bin/uname.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/unexpand to /usr/bin/unexpand.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/uniq to /usr/bin/uniq.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/unlink to /usr/bin/unlink.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/users to /usr/bin/users.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/vdir to /usr/bin/vdir.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/wc to /usr/bin/wc.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/who to /usr/bin/who.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/whoami to /usr/bin/whoami.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/bin/yes to /usr/bin/yes.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/arch.1.gz to /usr/share/man/man1/arch.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/base32.1.gz to /usr/share/man/man1/base32.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/base64.1.gz to /usr/share/man/man1/base64.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/basename.1.gz to /usr/share/man/man1/basename.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/basenc.1.gz to /usr/share/man/man1/basenc.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/cat.1.gz to /usr/share/man/man1/cat.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/chcon.1.gz to /usr/share/man/man1/chcon.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/chgrp.1.gz to /usr/share/man/man1/chgrp.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/chmod.1.gz to /usr/share/man/man1/chmod.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/chown.1.gz to /usr/share/man/man1/chown.1.gz.remove-bak by coreutils-switch' 738s No diversion 'diversion of /usr/share/man/man1/chroot.1.gz to /usr/share/man/man1/chroot.1.gz.remove-bak by coreutils-switch', none removed. 738s Removing 'diversion of /usr/share/man/man1/cksum.1.gz to /usr/share/man/man1/cksum.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/comm.1.gz to /usr/share/man/man1/comm.1.gz.remove-bak by coreutils-switch' 738s No diversion 'diversion of /usr/share/man/man1/coreutils.1.gz to /usr/share/man/man1/coreutils.1.gz.remove-bak by coreutils-switch', none removed. 738s Removing 'diversion of /usr/share/man/man1/cp.1.gz to /usr/share/man/man1/cp.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/csplit.1.gz to /usr/share/man/man1/csplit.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/cut.1.gz to /usr/share/man/man1/cut.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/date.1.gz to /usr/share/man/man1/date.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/dd.1.gz to /usr/share/man/man1/dd.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/df.1.gz to /usr/share/man/man1/df.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/dir.1.gz to /usr/share/man/man1/dir.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/dircolors.1.gz to /usr/share/man/man1/dircolors.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/dirname.1.gz to /usr/share/man/man1/dirname.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/du.1.gz to /usr/share/man/man1/du.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/echo.1.gz to /usr/share/man/man1/echo.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/env.1.gz to /usr/share/man/man1/env.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/expand.1.gz to /usr/share/man/man1/expand.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/expr.1.gz to /usr/share/man/man1/expr.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/factor.1.gz to /usr/share/man/man1/factor.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/false.1.gz to /usr/share/man/man1/false.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/fmt.1.gz to /usr/share/man/man1/fmt.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/fold.1.gz to /usr/share/man/man1/fold.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/groups.1.gz to /usr/share/man/man1/groups.1.gz.remove-bak by coreutils-switch' 738s No diversion 'diversion of /usr/share/man/man1/hashsum.1.gz to /usr/share/man/man1/hashsum.1.gz.remove-bak by coreutils-switch', none removed. 738s Removing 'diversion of /usr/share/man/man1/head.1.gz to /usr/share/man/man1/head.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/hostid.1.gz to /usr/share/man/man1/hostid.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/id.1.gz to /usr/share/man/man1/id.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/install.1.gz to /usr/share/man/man1/install.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/join.1.gz to /usr/share/man/man1/join.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/link.1.gz to /usr/share/man/man1/link.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/ln.1.gz to /usr/share/man/man1/ln.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/logname.1.gz to /usr/share/man/man1/logname.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/ls.1.gz to /usr/share/man/man1/ls.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/mkdir.1.gz to /usr/share/man/man1/mkdir.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/mkfifo.1.gz to /usr/share/man/man1/mkfifo.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/mknod.1.gz to /usr/share/man/man1/mknod.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/mktemp.1.gz to /usr/share/man/man1/mktemp.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/mv.1.gz to /usr/share/man/man1/mv.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/nice.1.gz to /usr/share/man/man1/nice.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/nl.1.gz to /usr/share/man/man1/nl.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/nohup.1.gz to /usr/share/man/man1/nohup.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/nproc.1.gz to /usr/share/man/man1/nproc.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/numfmt.1.gz to /usr/share/man/man1/numfmt.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/od.1.gz to /usr/share/man/man1/od.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/paste.1.gz to /usr/share/man/man1/paste.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/pathchk.1.gz to /usr/share/man/man1/pathchk.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/pinky.1.gz to /usr/share/man/man1/pinky.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/pr.1.gz to /usr/share/man/man1/pr.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/printenv.1.gz to /usr/share/man/man1/printenv.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/printf.1.gz to /usr/share/man/man1/printf.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/ptx.1.gz to /usr/share/man/man1/ptx.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/pwd.1.gz to /usr/share/man/man1/pwd.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/readlink.1.gz to /usr/share/man/man1/readlink.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/realpath.1.gz to /usr/share/man/man1/realpath.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/rm.1.gz to /usr/share/man/man1/rm.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/rmdir.1.gz to /usr/share/man/man1/rmdir.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/runcon.1.gz to /usr/share/man/man1/runcon.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/seq.1.gz to /usr/share/man/man1/seq.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/shred.1.gz to /usr/share/man/man1/shred.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/shuf.1.gz to /usr/share/man/man1/shuf.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/sleep.1.gz to /usr/share/man/man1/sleep.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/sort.1.gz to /usr/share/man/man1/sort.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/split.1.gz to /usr/share/man/man1/split.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/stat.1.gz to /usr/share/man/man1/stat.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/stdbuf.1.gz to /usr/share/man/man1/stdbuf.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/stty.1.gz to /usr/share/man/man1/stty.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/sum.1.gz to /usr/share/man/man1/sum.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/sync.1.gz to /usr/share/man/man1/sync.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/tac.1.gz to /usr/share/man/man1/tac.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/tail.1.gz to /usr/share/man/man1/tail.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/tee.1.gz to /usr/share/man/man1/tee.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/test.1.gz to /usr/share/man/man1/test.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/timeout.1.gz to /usr/share/man/man1/timeout.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/touch.1.gz to /usr/share/man/man1/touch.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/tr.1.gz to /usr/share/man/man1/tr.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/true.1.gz to /usr/share/man/man1/true.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/truncate.1.gz to /usr/share/man/man1/truncate.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/tsort.1.gz to /usr/share/man/man1/tsort.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/tty.1.gz to /usr/share/man/man1/tty.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/uname.1.gz to /usr/share/man/man1/uname.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/unexpand.1.gz to /usr/share/man/man1/unexpand.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/uniq.1.gz to /usr/share/man/man1/uniq.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/unlink.1.gz to /usr/share/man/man1/unlink.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/users.1.gz to /usr/share/man/man1/users.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/vdir.1.gz to /usr/share/man/man1/vdir.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/wc.1.gz to /usr/share/man/man1/wc.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/who.1.gz to /usr/share/man/man1/who.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/whoami.1.gz to /usr/share/man/man1/whoami.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/yes.1.gz to /usr/share/man/man1/yes.1.gz.remove-bak by coreutils-switch' 738s Removing 'diversion of /usr/share/man/man1/[.1.gz to /usr/share/man/man1/[.1.gz.remove-bak by coreutils-switch' 738s Unpacking coreutils-from-uutils (0.0.0~ubuntu22) ... 738s Setting up coreutils-from-uutils (0.0.0~ubuntu22) ... 739s Removing 'diversion of /usr/share/man/man1/sha512sum.1.gz to /usr/share/man/man1/sha512sum.1.gz.remove-bak by coreutils-switch' 739s Removing 'diversion of /usr/share/man/man1/sha1sum.1.gz to /usr/share/man/man1/sha1sum.1.gz.remove-bak by coreutils-switch' 739s Removing 'diversion of /usr/share/man/man1/sha384sum.1.gz to /usr/share/man/man1/sha384sum.1.gz.remove-bak by coreutils-switch' 739s Removing 'diversion of /usr/share/man/man1/b2sum.1.gz to /usr/share/man/man1/b2sum.1.gz.remove-bak by coreutils-switch' 739s Removing 'diversion of /usr/share/man/man1/sha256sum.1.gz to /usr/share/man/man1/sha256sum.1.gz.remove-bak by coreutils-switch' 739s Removing 'diversion of /usr/sbin/chroot to /usr/sbin/chroot.remove-bak by coreutils-switch' 739s Removing 'diversion of /usr/share/man/man1/sha224sum.1.gz to /usr/share/man/man1/sha224sum.1.gz.remove-bak by coreutils-switch' 739s Removing 'diversion of /usr/share/man/man1/md5sum.1.gz to /usr/share/man/man1/md5sum.1.gz.remove-bak by coreutils-switch' 739s Removing 'diversion of /usr/share/man/man8/chroot.8.gz to /usr/share/man/man8/chroot.8.gz.remove-bak by coreutils-switch' 739s Selecting previously unselected package libisl23:ppc64el. 739s (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 ... 119210 files and directories currently installed.) 739s Preparing to unpack .../00-libisl23_0.27-1_ppc64el.deb ... 739s Unpacking libisl23:ppc64el (0.27-1) ... 739s Selecting previously unselected package libmpc3:ppc64el. 739s Preparing to unpack .../01-libmpc3_1.3.1-1build3_ppc64el.deb ... 739s Unpacking libmpc3:ppc64el (1.3.1-1build3) ... 739s Selecting previously unselected package cpp-15-powerpc64le-linux-gnu. 739s Preparing to unpack .../02-cpp-15-powerpc64le-linux-gnu_15.2.0-2ubuntu1_ppc64el.deb ... 739s Unpacking cpp-15-powerpc64le-linux-gnu (15.2.0-2ubuntu1) ... 740s Selecting previously unselected package cpp-15. 740s Preparing to unpack .../03-cpp-15_15.2.0-2ubuntu1_ppc64el.deb ... 740s Unpacking cpp-15 (15.2.0-2ubuntu1) ... 740s Selecting previously unselected package cpp-powerpc64le-linux-gnu. 740s Preparing to unpack .../04-cpp-powerpc64le-linux-gnu_4%3a15.2.0-1ubuntu2_ppc64el.deb ... 740s Unpacking cpp-powerpc64le-linux-gnu (4:15.2.0-1ubuntu2) ... 740s Selecting previously unselected package cpp. 740s Preparing to unpack .../05-cpp_4%3a15.2.0-1ubuntu2_ppc64el.deb ... 740s Unpacking cpp (4:15.2.0-1ubuntu2) ... 740s Selecting previously unselected package libcc1-0:ppc64el. 740s Preparing to unpack .../06-libcc1-0_15.2.0-2ubuntu1_ppc64el.deb ... 740s Unpacking libcc1-0:ppc64el (15.2.0-2ubuntu1) ... 740s Selecting previously unselected package libgomp1:ppc64el. 740s Preparing to unpack .../07-libgomp1_15.2.0-2ubuntu1_ppc64el.deb ... 740s Unpacking libgomp1:ppc64el (15.2.0-2ubuntu1) ... 740s Selecting previously unselected package libitm1:ppc64el. 740s Preparing to unpack .../08-libitm1_15.2.0-2ubuntu1_ppc64el.deb ... 740s Unpacking libitm1:ppc64el (15.2.0-2ubuntu1) ... 740s Selecting previously unselected package libasan8:ppc64el. 740s Preparing to unpack .../09-libasan8_15.2.0-2ubuntu1_ppc64el.deb ... 740s Unpacking libasan8:ppc64el (15.2.0-2ubuntu1) ... 740s Selecting previously unselected package liblsan0:ppc64el. 740s Preparing to unpack .../10-liblsan0_15.2.0-2ubuntu1_ppc64el.deb ... 740s Unpacking liblsan0:ppc64el (15.2.0-2ubuntu1) ... 740s Selecting previously unselected package libtsan2:ppc64el. 740s Preparing to unpack .../11-libtsan2_15.2.0-2ubuntu1_ppc64el.deb ... 740s Unpacking libtsan2:ppc64el (15.2.0-2ubuntu1) ... 740s Selecting previously unselected package libubsan1:ppc64el. 740s Preparing to unpack .../12-libubsan1_15.2.0-2ubuntu1_ppc64el.deb ... 740s Unpacking libubsan1:ppc64el (15.2.0-2ubuntu1) ... 740s Selecting previously unselected package libquadmath0:ppc64el. 740s Preparing to unpack .../13-libquadmath0_15.2.0-2ubuntu1_ppc64el.deb ... 740s Unpacking libquadmath0:ppc64el (15.2.0-2ubuntu1) ... 740s Selecting previously unselected package libgcc-15-dev:ppc64el. 740s Preparing to unpack .../14-libgcc-15-dev_15.2.0-2ubuntu1_ppc64el.deb ... 740s Unpacking libgcc-15-dev:ppc64el (15.2.0-2ubuntu1) ... 740s Selecting previously unselected package gcc-15-powerpc64le-linux-gnu. 740s Preparing to unpack .../15-gcc-15-powerpc64le-linux-gnu_15.2.0-2ubuntu1_ppc64el.deb ... 740s Unpacking gcc-15-powerpc64le-linux-gnu (15.2.0-2ubuntu1) ... 742s Selecting previously unselected package gcc-15. 742s Preparing to unpack .../16-gcc-15_15.2.0-2ubuntu1_ppc64el.deb ... 742s Unpacking gcc-15 (15.2.0-2ubuntu1) ... 742s Selecting previously unselected package gcc-powerpc64le-linux-gnu. 742s Preparing to unpack .../17-gcc-powerpc64le-linux-gnu_4%3a15.2.0-1ubuntu2_ppc64el.deb ... 742s Unpacking gcc-powerpc64le-linux-gnu (4:15.2.0-1ubuntu2) ... 742s Selecting previously unselected package gcc. 742s Preparing to unpack .../18-gcc_4%3a15.2.0-1ubuntu2_ppc64el.deb ... 742s Unpacking gcc (4:15.2.0-1ubuntu2) ... 742s Selecting previously unselected package libstdc++-15-dev:ppc64el. 742s Preparing to unpack .../19-libstdc++-15-dev_15.2.0-2ubuntu1_ppc64el.deb ... 742s Unpacking libstdc++-15-dev:ppc64el (15.2.0-2ubuntu1) ... 742s Selecting previously unselected package g++-15-powerpc64le-linux-gnu. 742s Preparing to unpack .../20-g++-15-powerpc64le-linux-gnu_15.2.0-2ubuntu1_ppc64el.deb ... 742s Unpacking g++-15-powerpc64le-linux-gnu (15.2.0-2ubuntu1) ... 743s Selecting previously unselected package g++-15. 743s Preparing to unpack .../21-g++-15_15.2.0-2ubuntu1_ppc64el.deb ... 743s Unpacking g++-15 (15.2.0-2ubuntu1) ... 743s Selecting previously unselected package g++-powerpc64le-linux-gnu. 743s Preparing to unpack .../22-g++-powerpc64le-linux-gnu_4%3a15.2.0-1ubuntu2_ppc64el.deb ... 743s Unpacking g++-powerpc64le-linux-gnu (4:15.2.0-1ubuntu2) ... 743s Selecting previously unselected package g++. 743s Preparing to unpack .../23-g++_4%3a15.2.0-1ubuntu2_ppc64el.deb ... 743s Unpacking g++ (4:15.2.0-1ubuntu2) ... 743s Selecting previously unselected package build-essential. 743s Preparing to unpack .../24-build-essential_12.12ubuntu2_ppc64el.deb ... 743s Unpacking build-essential (12.12ubuntu2) ... 743s Selecting previously unselected package gir1.2-glib-2.0-dev:ppc64el. 743s Preparing to unpack .../25-gir1.2-glib-2.0-dev_2.85.3-1_ppc64el.deb ... 743s Unpacking gir1.2-glib-2.0-dev:ppc64el (2.85.3-1) ... 743s Selecting previously unselected package native-architecture. 743s Preparing to unpack .../26-native-architecture_0.2.6_all.deb ... 743s Unpacking native-architecture (0.2.6) ... 743s Selecting previously unselected package libgirepository-2.0-0:ppc64el. 743s Preparing to unpack .../27-libgirepository-2.0-0_2.85.3-1_ppc64el.deb ... 743s Unpacking libgirepository-2.0-0:ppc64el (2.85.3-1) ... 743s Selecting previously unselected package girepository-tools:ppc64el. 743s Preparing to unpack .../28-girepository-tools_2.85.3-1_ppc64el.deb ... 743s Unpacking girepository-tools:ppc64el (2.85.3-1) ... 743s Selecting previously unselected package libffi-dev:ppc64el. 743s Preparing to unpack .../29-libffi-dev_3.5.2-1_ppc64el.deb ... 743s Unpacking libffi-dev:ppc64el (3.5.2-1) ... 743s Selecting previously unselected package uuid-dev:ppc64el. 743s Preparing to unpack .../30-uuid-dev_2.41-4ubuntu3_ppc64el.deb ... 743s Unpacking uuid-dev:ppc64el (2.41-4ubuntu3) ... 743s Selecting previously unselected package libblkid-dev:ppc64el. 743s Preparing to unpack .../31-libblkid-dev_2.41-4ubuntu3_ppc64el.deb ... 743s Unpacking libblkid-dev:ppc64el (2.41-4ubuntu3) ... 743s Selecting previously unselected package libsepol-dev:ppc64el. 743s Preparing to unpack .../32-libsepol-dev_3.8.1-1_ppc64el.deb ... 743s Unpacking libsepol-dev:ppc64el (3.8.1-1) ... 743s Selecting previously unselected package libpcre2-16-0:ppc64el. 743s Preparing to unpack .../33-libpcre2-16-0_10.46-1_ppc64el.deb ... 743s Unpacking libpcre2-16-0:ppc64el (10.46-1) ... 743s Selecting previously unselected package libpcre2-32-0:ppc64el. 743s Preparing to unpack .../34-libpcre2-32-0_10.46-1_ppc64el.deb ... 743s Unpacking libpcre2-32-0:ppc64el (10.46-1) ... 743s Selecting previously unselected package libpcre2-posix3:ppc64el. 743s Preparing to unpack .../35-libpcre2-posix3_10.46-1_ppc64el.deb ... 743s Unpacking libpcre2-posix3:ppc64el (10.46-1) ... 743s Selecting previously unselected package libpcre2-dev:ppc64el. 743s Preparing to unpack .../36-libpcre2-dev_10.46-1_ppc64el.deb ... 743s Unpacking libpcre2-dev:ppc64el (10.46-1) ... 743s Selecting previously unselected package libselinux1-dev:ppc64el. 743s Preparing to unpack .../37-libselinux1-dev_3.8.1-1_ppc64el.deb ... 743s Unpacking libselinux1-dev:ppc64el (3.8.1-1) ... 743s Selecting previously unselected package libmount-dev:ppc64el. 743s Preparing to unpack .../38-libmount-dev_2.41-4ubuntu3_ppc64el.deb ... 743s Unpacking libmount-dev:ppc64el (2.41-4ubuntu3) ... 743s Selecting previously unselected package libsysprof-capture-4-dev:ppc64el. 743s Preparing to unpack .../39-libsysprof-capture-4-dev_48.0-2_ppc64el.deb ... 743s Unpacking libsysprof-capture-4-dev:ppc64el (48.0-2) ... 743s Selecting previously unselected package libpkgconf3:ppc64el. 743s Preparing to unpack .../40-libpkgconf3_1.8.1-4_ppc64el.deb ... 744s Unpacking libpkgconf3:ppc64el (1.8.1-4) ... 744s Selecting previously unselected package pkgconf-bin. 744s Preparing to unpack .../41-pkgconf-bin_1.8.1-4_ppc64el.deb ... 744s Unpacking pkgconf-bin (1.8.1-4) ... 744s Selecting previously unselected package pkgconf:ppc64el. 744s Preparing to unpack .../42-pkgconf_1.8.1-4_ppc64el.deb ... 744s Unpacking pkgconf:ppc64el (1.8.1-4) ... 744s Selecting previously unselected package zlib1g-dev:ppc64el. 744s Preparing to unpack .../43-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_ppc64el.deb ... 744s Unpacking zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 744s Selecting previously unselected package libgio-2.0-dev:ppc64el. 744s Preparing to unpack .../44-libgio-2.0-dev_2.85.3-1_ppc64el.deb ... 744s Unpacking libgio-2.0-dev:ppc64el (2.85.3-1) ... 744s Selecting previously unselected package libgio-2.0-dev-bin. 744s Preparing to unpack .../45-libgio-2.0-dev-bin_2.85.3-1_ppc64el.deb ... 744s Unpacking libgio-2.0-dev-bin (2.85.3-1) ... 744s Selecting previously unselected package libglib2.0-bin. 744s Preparing to unpack .../46-libglib2.0-bin_2.85.3-1_ppc64el.deb ... 744s Unpacking libglib2.0-bin (2.85.3-1) ... 744s Selecting previously unselected package libglib2.0-dev-bin. 744s Preparing to unpack .../47-libglib2.0-dev-bin_2.85.3-1_ppc64el.deb ... 744s Unpacking libglib2.0-dev-bin (2.85.3-1) ... 744s Selecting previously unselected package libglib2.0-dev:ppc64el. 744s Preparing to unpack .../48-libglib2.0-dev_2.85.3-1_ppc64el.deb ... 744s Unpacking libglib2.0-dev:ppc64el (2.85.3-1) ... 744s Setting up libgio-2.0-dev-bin (2.85.3-1) ... 744s Setting up native-architecture (0.2.6) ... 744s Setting up libgirepository-2.0-0:ppc64el (2.85.3-1) ... 744s Setting up libglib2.0-bin (2.85.3-1) ... 744s Setting up libgomp1:ppc64el (15.2.0-2ubuntu1) ... 744s Setting up libffi-dev:ppc64el (3.5.2-1) ... 744s Setting up libpcre2-16-0:ppc64el (10.46-1) ... 744s Setting up libsysprof-capture-4-dev:ppc64el (48.0-2) ... 744s Setting up libpcre2-32-0:ppc64el (10.46-1) ... 744s Setting up libpkgconf3:ppc64el (1.8.1-4) ... 744s Setting up uuid-dev:ppc64el (2.41-4ubuntu3) ... 744s Setting up libquadmath0:ppc64el (15.2.0-2ubuntu1) ... 744s Setting up libmpc3:ppc64el (1.3.1-1build3) ... 744s Setting up libsepol-dev:ppc64el (3.8.1-1) ... 744s Setting up pkgconf-bin (1.8.1-4) ... 744s Setting up libubsan1:ppc64el (15.2.0-2ubuntu1) ... 744s Setting up zlib1g-dev:ppc64el (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 744s Setting up libpcre2-posix3:ppc64el (10.46-1) ... 744s Setting up gir1.2-glib-2.0-dev:ppc64el (2.85.3-1) ... 744s Setting up libasan8:ppc64el (15.2.0-2ubuntu1) ... 744s Setting up libtsan2:ppc64el (15.2.0-2ubuntu1) ... 744s Setting up libisl23:ppc64el (0.27-1) ... 744s Setting up libcc1-0:ppc64el (15.2.0-2ubuntu1) ... 744s Setting up liblsan0:ppc64el (15.2.0-2ubuntu1) ... 744s Setting up libitm1:ppc64el (15.2.0-2ubuntu1) ... 744s Setting up libblkid-dev:ppc64el (2.41-4ubuntu3) ... 744s Setting up girepository-tools:ppc64el (2.85.3-1) ... 744s Setting up libgcc-15-dev:ppc64el (15.2.0-2ubuntu1) ... 744s Setting up libpcre2-dev:ppc64el (10.46-1) ... 744s Setting up libselinux1-dev:ppc64el (3.8.1-1) ... 744s Setting up pkgconf:ppc64el (1.8.1-4) ... 744s Setting up cpp-15-powerpc64le-linux-gnu (15.2.0-2ubuntu1) ... 744s Setting up libstdc++-15-dev:ppc64el (15.2.0-2ubuntu1) ... 744s Setting up cpp-15 (15.2.0-2ubuntu1) ... 744s Setting up libmount-dev:ppc64el (2.41-4ubuntu3) ... 744s Setting up cpp-powerpc64le-linux-gnu (4:15.2.0-1ubuntu2) ... 744s Setting up libglib2.0-dev-bin (2.85.3-1) ... 744s Setting up libgio-2.0-dev:ppc64el (2.85.3-1) ... 744s Setting up gcc-15-powerpc64le-linux-gnu (15.2.0-2ubuntu1) ... 744s Setting up gcc-15 (15.2.0-2ubuntu1) ... 744s Setting up gcc-powerpc64le-linux-gnu (4:15.2.0-1ubuntu2) ... 744s Setting up cpp (4:15.2.0-1ubuntu2) ... 744s Setting up g++-15-powerpc64le-linux-gnu (15.2.0-2ubuntu1) ... 744s Setting up gcc (4:15.2.0-1ubuntu2) ... 744s Setting up g++-15 (15.2.0-2ubuntu1) ... 744s Setting up g++-powerpc64le-linux-gnu (4:15.2.0-1ubuntu2) ... 744s Setting up g++ (4:15.2.0-1ubuntu2) ... 744s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 744s Setting up build-essential (12.12ubuntu2) ... 744s Processing triggers for install-info (7.1.1-1) ... 744s Processing triggers for libc-bin (2.42-0ubuntu1) ... 744s Processing triggers for man-db (2.13.1-1) ... 747s Processing triggers for libglib2.0-0t64:ppc64el (2.85.3-1) ... 747s No schema files found: doing nothing. 747s Setting up libglib2.0-dev:ppc64el (2.85.3-1) ... 752s autopkgtest [12:38:17]: test libglib2.0-dev: [----------------------- 752s + debian/tests/build 752s + mode=dynamic 752s + getopt -o --long static -n debian/tests/build -- 752s + getopt_temp= -- 752s + eval set -- -- 752s + set -- -- 752s + true 752s + shift 752s + break 752s + mktemp -d 752s + WORKDIR=/tmp/tmp.kYc54NMf1K 752s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 752s + cd /tmp/tmp.kYc54NMf1K 752s + [ -n ] 752s + CROSS_COMPILE= 752s + cat 752s + cat 752s + cat 752s + cat 752s + cat 752s + cat 752s + cflags= 752s + pcflags= 752s + packages=glib-2.0 752s + pkg-config --cflags --libs glib-2.0 752s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 752s build (glib, dynamic): OK 752s run (glib, dynamic): OK 752s + echo build (glib, dynamic): OK 752s + [ -x glib-dynamic ] 752s + foo=bar ./glib-dynamic 752s + echo run (glib, dynamic): OK 752s + cflags= 752s + pcflags= 752s + packages=gobject-2.0 752s + pkg-config --cflags --libs gobject-2.0 752s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 752s + echo build (gobject, dynamic): OK 752s + [ -x gobject-dynamic ] 752s + foo=bar ./gobject-dynamic 752s + echo run (gobject, dynamic): OK 752s + cflags= 752s + pcflags= 752s + packages=gio-2.0 752s + pkg-config --cflags --libs gio-2.0 752s build (gobject, dynamic): OK 752s run (gobject, dynamic): OK 752s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 752s build (gio, dynamic): OK 752s + echo build (gio, dynamic): OK 752s + [ -x gio-dynamic ] 752s + foo=bar ./gio-dynamic 752s run (gio, dynamic): OK 752s + echo run (gio, dynamic): OK 752s + cflags= 752s + pcflags= 752s + packages=gio-unix-2.0 752s + pkg-config --cflags --libs gio-unix-2.0 752s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 753s build (gio-unix, dynamic): OK 753s + echo build (gio-unix, dynamic): OK 753s + [ -x gio-unix-dynamic ] 753s + foo=bar ./gio-unix-dynamic 753s + echo run (gio-unix, dynamic): OK 753s + cflags= 753s + pcflags= 753s + packages=gmodule-2.0 753s + pkg-config --cflags --libs gmodule-2.0 753s run (gio-unix, dynamic): OK 753s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 753s + echo build (gmodule, dynamic): OK 753s + [ -x gmodule-dynamic ] 753s + foo=bar ./gmodule-dynamic 753s + echo run (gmodule, dynamic): OK 753s + cflags= 753s + pcflags= 753s + packages=gthread-2.0 753s build (gmodule, dynamic): OK 753s run (gmodule, dynamic): OK 753s + pkg-config --cflags --libs gthread-2.0 753s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 753s build (gthread, dynamic): OK 753s run (gthread, dynamic): OK 753s + echo build (gthread, dynamic): OK 753s + [ -x gthread-dynamic ] 753s + foo=bar ./gthread-dynamic 753s + echo run (gthread, dynamic): OK 753s + rm -rf /tmp/tmp.kYc54NMf1K 753s + debian/tests/build-static 753s + mode=dynamic 753s + getopt -o --long static -n debian/tests/build -- --static 753s + getopt_temp= --static -- 753s + eval set -- --static -- 753s + set -- --static -- 753s + true 753s + mode=static 753s + shift 753s + continue 753s + true 753s + shift 753s + break 753s + mktemp -d 753s + WORKDIR=/tmp/tmp.hMPCuI8KQN 753s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 753s + cd /tmp/tmp.hMPCuI8KQN 753s + [ -n ] 753s + CROSS_COMPILE= 753s + cat 753s + cat 753s + cat 753s + cat 753s + cat 753s + cat 753s + cflags= 753s + pcflags= 753s + packages=glib-2.0 753s + cflags=-static 753s + pcflags=--static 753s + pkg-config --static --cflags --libs glib-2.0 753s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 753s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 753s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 753s /usr/bin/ld: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 753s /usr/bin/ld: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 753s build (glib, static): OK 753s run (glib, static): OK 753s + echo build (glib, static): OK 753s + [ -x glib-static ] 753s + foo=bar ./glib-static 753s + echo run (glib, static): OK 753s + cflags= 753s + pcflags= 753s + packages=gobject-2.0 753s + cflags=-static 753s + pcflags=--static 753s + pkg-config --static --cflags --libs gobject-2.0 753s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lffi 753s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 753s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 753s /usr/bin/ld: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 753s /usr/bin/ld: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 753s build (gobject, static): OK 753s run (gobject, static): OK 753s + echo build (gobject, static): OK 753s + [ -x gobject-static ] 753s + foo=bar ./gobject-static 753s + echo run (gobject, static): OK 753s + cflags= 753s + pcflags= 753s + packages=gio-2.0 753s + cflags=-static 753s + pcflags=--static 753s + continue 753s + cflags= 753s + pcflags= 753s + packages=gio-unix-2.0 753s + cflags=-static 753s + pcflags=--static 753s + continue 753s + cflags= 753s + pcflags= 753s + packages=gmodule-2.0 753s + cflags=-static 753s + pcflags=--static 753s + pkg-config --static --cflags --libs gmodule-2.0 753s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 753s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 753s (.text+0x944): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 753s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 753s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 753s /usr/bin/ld: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 753s /usr/bin/ld: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 753s build (gmodule, static): OK 753s run (gmodule, static): OK 753s + echo build (gmodule, static): OK 753s + [ -x gmodule-static ] 753s + foo=bar ./gmodule-static 753s + echo run (gmodule, static): OK 753s + cflags= 753s + pcflags= 753s + packages=gthread-2.0 753s + cflags=-static 753s + pcflags=--static 753s + pkg-config --static --cflags --libs gthread-2.0 753s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/powerpc64le-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 753s /usr/bin/ld: /usr/lib/gcc/powerpc64le-linux-gnu/15/../../../powerpc64le-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 753s (.text+0x154): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 753s /usr/bin/ld: (.text+0x438): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 753s /usr/bin/ld: (.text+0x1a4): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 753s + echo build (gthread, static): OK 753s + [ -x gthread-static ] 753s + foo=bar ./gthread-static 753s + echo run (gthread, static): OK 753s + rm -rf /tmp/tmp.hMPCuI8KQN 754s build (gthread, static): OK 754s run (gthread, static): OK 754s + debian/tests/girepository-tools 754s + cd /tmp/autopkgtest.X7jYgQ/autopkgtest_tmp 754s + dpkg-architecture -qDEB_HOST_GNU_TYPE 754s + DEB_HOST_GNU_TYPE=powerpc64le-linux-gnu 754s + dpkg-architecture -qDEB_HOST_MULTIARCH 754s typelib: GLib-2.0 754s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 754s [--c-namespace NAMESPACE] [--c-generate-object-manager] 754s [--c-generate-autocleanup {none,objects,all}] 754s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 754s [--generate-rst OUTFILES] [--pragma-once] 754s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 754s [--glib-min-required VERSION] 754s [--glib-max-allowed VERSION] 754s [--symbol-decorator SYMBOL_DECORATOR] 754s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 754s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 754s [--generate-c-code OUTFILES | --header | --body | 754s --interface-info-header | --interface-info-body] 754s [--output FILE | --output-directory OUTDIR] 754s FILE [FILE ...] 754s 754s D-Bus code and documentation generator 754s 754s positional arguments: 754s FILE D-Bus introspection XML file 754s 754s options: 754s -h, --help show this help message and exit 754s --interface-prefix PREFIX 754s String to strip from D-Bus interface names for code 754s and docs 754s --c-namespace NAMESPACE 754s The namespace to use for generated C code 754s --c-generate-object-manager 754s Generate a GDBusObjectManagerClient subclass when 754s generating C code 754s --c-generate-autocleanup {none,objects,all} 754s Generate autocleanup support 754s --generate-docbook OUTFILES 754s Generate Docbook in OUTFILES-org.Project.IFace.xml 754s --generate-md OUTFILES 754s Generate Markdown in OUTFILES-org.Project.IFace.md 754s --generate-rst OUTFILES 754s Generate reStructuredText in OUTFILES- 754s org.Project.IFace.rst 754s --pragma-once Use "pragma once" as the inclusion guard 754s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 754s Add annotation (may be used several times) 754s --glib-min-required VERSION 754s Minimum version of GLib to be supported by the 754s outputted code (default: 2.30) 754s --glib-max-allowed VERSION 754s Maximum version of GLib to be used by the outputted 754s code (default: current GLib version) 754s --symbol-decorator SYMBOL_DECORATOR 754s Macro used to decorate a symbol in the outputted 754s header, possibly to export symbols 754s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 754s Additional header required for decorator specified by 754s --symbol-decorator 754s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 754s Additional define required for decorator specified by 754s --symbol-decorator 754s --generate-c-code OUTFILES 754s Generate C code in OUTFILES.[ch] 754s --header Generate C headers 754s --body Generate C code 754s --interface-info-header 754s Generate GDBusInterfaceInfo C header 754s --interface-info-body 754s Generate GDBusInterfaceInfo C code 754s --output FILE Write output into the specified file 754s --output-directory OUTDIR 754s Location to output generated files 754s 2.85.3 754s glib-genmarshal version 2.85.3 754s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 754s You may redistribute copies of glib-genmarshal under the terms of 754s the GNU General Public License which can be found in the 754s GLib source package. Sources, examples and contact 754s information are available at http://www.gtk.org 754s /usr/bin/glib-gettextize (GNU glib) 2.85.3 754s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 754s This is free software; see the source for copying conditions. There is NO 754s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 754s Written by Ulrich Drepper 754s glib-mkenums version 2.85.3 754s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 754s You may redistribute copies of glib-mkenums under the terms of 754s the GNU General Public License which can be found in the 754s GLib source package. Sources, examples and contact 754s information are available at http://www.gtk.org 754s GObject 754s gtester version 2.85.3 754s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu 754s + powerpc64le-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 754s + powerpc64le-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir 754s + powerpc64le-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib 754s + debian/tests/libgio-2.0-dev-bin 754s + gdbus-codegen --help 754s + glib-compile-resources --version 754s + glib-genmarshal --version 754s + glib-gettextize --version 754s + glib-mkenums --version 754s + gobject-query tree 754s + gtester --version 754s + gtester-report --version 754s gtester-report (GLib utils) version 2.85.3. 754s + cd /tmp/autopkgtest.X7jYgQ/autopkgtest_tmp 754s + dpkg-architecture -qDEB_HOST_MULTIARCH 754s + DEB_HOST_MULTIARCH=powerpc64le-linux-gnu 754s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 754s typelib: GLib-2.0 754s + gi-compile-repository -o GLib.typelib /usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir 754s + gi-decompile-typelib -o GLib.gir GLib.typelib 754s autopkgtest [12:38:19]: test libglib2.0-dev: -----------------------] 755s autopkgtest [12:38:20]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 755s libglib2.0-dev PASS (superficial) 755s autopkgtest [12:38:20]: test installed-tests: preparing testbed 762s Creating nova instance adt-questing-ppc64el-glib2.0-20250905-122545-juju-7f2275-prod-proposed-migration-environment-20-1e415192-182c-47d6-9ea1-bc370a3005ce from image adt/ubuntu-questing-ppc64el-server-20250904.img (UUID e972553c-60b1-4e41-bd5d-505dae6af81e)... 815s autopkgtest [12:39:20]: testbed dpkg architecture: ppc64el 815s autopkgtest [12:39:20]: testbed apt version: 3.1.5ubuntu1 816s autopkgtest [12:39:21]: @@@@@@@@@@@@@@@@@@@@ test bed setup 816s autopkgtest [12:39:21]: testbed release detected to be: questing 817s autopkgtest [12:39:22]: updating testbed package index (apt update) 817s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [265 kB] 818s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 818s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 818s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 818s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/restricted Sources [1748 B] 818s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [14.1 kB] 818s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [38.3 kB] 818s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [236 kB] 818s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el Packages [65.4 kB] 818s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el c-n-f Metadata [2600 B] 818s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/restricted ppc64el c-n-f Metadata [120 B] 818s Get:12 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el Packages [258 kB] 818s Get:13 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el c-n-f Metadata [7024 B] 818s Get:14 http://ftpmaster.internal/ubuntu questing-proposed/multiverse ppc64el Packages [4600 B] 818s Get:15 http://ftpmaster.internal/ubuntu questing-proposed/multiverse ppc64el c-n-f Metadata [300 B] 819s Fetched 893 kB in 1s (806 kB/s) 820s Reading package lists... 821s Failed to check for VM: Permission denied 821s autopkgtest [12:39:26]: upgrading testbed (apt dist-upgrade and autopurge) 821s Reading package lists... 821s Building dependency tree... 821s Reading state information... 821s Calculating upgrade... 821s The following NEW packages will be installed: 821s linux-headers-6.17.0-3 linux-headers-6.17.0-3-generic 821s linux-image-6.17.0-3-generic linux-modules-6.17.0-3-generic wireless-regdb 821s The following packages will be upgraded: 821s bpftool bpftrace coreutils coreutils-from-gnu cryptsetup-bin curl 821s dracut-install findutils libcryptsetup12 libcurl3t64-gnutls libcurl4t64 821s libfreetype6 linux-generic linux-headers-generic linux-headers-virtual 821s linux-image-generic linux-image-virtual linux-libc-dev linux-perf 821s linux-tools-common linux-virtual 822s 21 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 822s Need to get 238 MB of archives. 822s After this operation, 327 MB of additional disk space will be used. 822s Get:1 http://ftpmaster.internal/ubuntu questing/main ppc64el coreutils all 9.5-1ubuntu2+0.0.0~ubuntu22 [2942 B] 822s Get:2 http://ftpmaster.internal/ubuntu questing/main ppc64el coreutils-from-gnu all 0.0.0~ubuntu22 [6762 B] 822s Get:3 http://ftpmaster.internal/ubuntu questing/main ppc64el findutils ppc64el 4.10.0-3build1 [337 kB] 822s Get:4 http://ftpmaster.internal/ubuntu questing/main ppc64el libcryptsetup12 ppc64el 2:2.8.0-1ubuntu2 [404 kB] 822s Get:5 http://ftpmaster.internal/ubuntu questing/main ppc64el bpftool ppc64el 7.7.0+6.17.0-3.3 [1238 kB] 822s Get:6 http://ftpmaster.internal/ubuntu questing/main ppc64el bpftrace ppc64el 0.23.5-1ubuntu1 [2112 kB] 823s Get:7 http://ftpmaster.internal/ubuntu questing/main ppc64el cryptsetup-bin ppc64el 2:2.8.0-1ubuntu2 [250 kB] 823s Get:8 http://ftpmaster.internal/ubuntu questing/main ppc64el curl ppc64el 8.14.1-1ubuntu3 [272 kB] 823s Get:9 http://ftpmaster.internal/ubuntu questing/main ppc64el libcurl4t64 ppc64el 8.14.1-1ubuntu3 [536 kB] 823s Get:10 http://ftpmaster.internal/ubuntu questing/main ppc64el dracut-install ppc64el 108-3ubuntu3 [49.0 kB] 823s Get:11 http://ftpmaster.internal/ubuntu questing/main ppc64el libcurl3t64-gnutls ppc64el 8.14.1-1ubuntu3 [528 kB] 823s Get:12 http://ftpmaster.internal/ubuntu questing/main ppc64el libfreetype6 ppc64el 2.13.3+dfsg-1build1 [566 kB] 823s Get:13 http://ftpmaster.internal/ubuntu questing/main ppc64el wireless-regdb all 2025.07.10-0ubuntu1 [7454 B] 823s Get:14 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-modules-6.17.0-3-generic ppc64el 6.17.0-3.3 [144 MB] 836s Get:15 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-image-6.17.0-3-generic ppc64el 6.17.0-3.3 [64.4 MB] 851s Get:16 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-generic ppc64el 6.17.0-3.3 [1688 B] 851s Get:17 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-image-generic ppc64el 6.17.0-3.3 [11.7 kB] 851s Get:18 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-virtual ppc64el 6.17.0-3.3 [1690 B] 851s Get:19 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-image-virtual ppc64el 6.17.0-3.3 [11.7 kB] 851s Get:20 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-headers-virtual ppc64el 6.17.0-3.3 [1642 B] 851s Get:21 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-headers-6.17.0-3 all 6.17.0-3.3 [14.7 MB] 852s Get:22 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-headers-6.17.0-3-generic ppc64el 6.17.0-3.3 [4190 kB] 853s Get:23 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-headers-generic ppc64el 6.17.0-3.3 [11.6 kB] 853s Get:24 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-libc-dev ppc64el 6.17.0-3.3 [1797 kB] 853s Get:25 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-perf ppc64el 6.17.0-3.3 [2738 kB] 853s Get:26 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-tools-common all 6.17.0-3.3 [340 kB] 854s Fetched 238 MB in 32s (7459 kB/s) 854s (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 ... 117956 files and directories currently installed.) 854s Preparing to unpack .../coreutils_9.5-1ubuntu2+0.0.0~ubuntu22_all.deb ... 854s Unpacking coreutils (9.5-1ubuntu2+0.0.0~ubuntu22) over (9.5-1ubuntu2+0.0.0~ubuntu20) ... 854s Setting up coreutils (9.5-1ubuntu2+0.0.0~ubuntu22) ... 854s (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 ... 117956 files and directories currently installed.) 854s Preparing to unpack .../coreutils-from-gnu_0.0.0~ubuntu22_all.deb ... 854s Unpacking coreutils-from-gnu (0.0.0~ubuntu22) over (0.0.0~ubuntu20) ... 854s Setting up coreutils-from-gnu (0.0.0~ubuntu22) ... 854s (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 ... 117956 files and directories currently installed.) 854s Preparing to unpack .../findutils_4.10.0-3build1_ppc64el.deb ... 854s Unpacking findutils (4.10.0-3build1) over (4.10.0-3) ... 854s Setting up findutils (4.10.0-3build1) ... 854s (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 ... 117956 files and directories currently installed.) 854s Preparing to unpack .../00-libcryptsetup12_2%3a2.8.0-1ubuntu2_ppc64el.deb ... 854s Unpacking libcryptsetup12:ppc64el (2:2.8.0-1ubuntu2) over (2:2.8.0-1ubuntu1) ... 854s Preparing to unpack .../01-bpftool_7.7.0+6.17.0-3.3_ppc64el.deb ... 854s Unpacking bpftool (7.7.0+6.17.0-3.3) over (7.6.0+6.16.0-16.16) ... 854s Preparing to unpack .../02-bpftrace_0.23.5-1ubuntu1_ppc64el.deb ... 854s Unpacking bpftrace (0.23.5-1ubuntu1) over (0.23.2-1ubuntu2) ... 854s Preparing to unpack .../03-cryptsetup-bin_2%3a2.8.0-1ubuntu2_ppc64el.deb ... 854s Unpacking cryptsetup-bin (2:2.8.0-1ubuntu2) over (2:2.8.0-1ubuntu1) ... 854s Preparing to unpack .../04-curl_8.14.1-1ubuntu3_ppc64el.deb ... 854s Unpacking curl (8.14.1-1ubuntu3) over (8.14.1-1ubuntu2) ... 854s Preparing to unpack .../05-libcurl4t64_8.14.1-1ubuntu3_ppc64el.deb ... 854s Unpacking libcurl4t64:ppc64el (8.14.1-1ubuntu3) over (8.14.1-1ubuntu2) ... 855s Preparing to unpack .../06-dracut-install_108-3ubuntu3_ppc64el.deb ... 855s Unpacking dracut-install (108-3ubuntu3) over (108-3ubuntu2) ... 855s Preparing to unpack .../07-libcurl3t64-gnutls_8.14.1-1ubuntu3_ppc64el.deb ... 855s Unpacking libcurl3t64-gnutls:ppc64el (8.14.1-1ubuntu3) over (8.14.1-1ubuntu2) ... 855s Preparing to unpack .../08-libfreetype6_2.13.3+dfsg-1build1_ppc64el.deb ... 855s Unpacking libfreetype6:ppc64el (2.13.3+dfsg-1build1) over (2.13.3+dfsg-1) ... 855s Selecting previously unselected package wireless-regdb. 855s Preparing to unpack .../09-wireless-regdb_2025.07.10-0ubuntu1_all.deb ... 855s Unpacking wireless-regdb (2025.07.10-0ubuntu1) ... 855s Selecting previously unselected package linux-modules-6.17.0-3-generic. 855s Preparing to unpack .../10-linux-modules-6.17.0-3-generic_6.17.0-3.3_ppc64el.deb ... 855s Unpacking linux-modules-6.17.0-3-generic (6.17.0-3.3) ... 856s Selecting previously unselected package linux-image-6.17.0-3-generic. 856s Preparing to unpack .../11-linux-image-6.17.0-3-generic_6.17.0-3.3_ppc64el.deb ... 856s Unpacking linux-image-6.17.0-3-generic (6.17.0-3.3) ... 856s Preparing to unpack .../12-linux-generic_6.17.0-3.3_ppc64el.deb ... 856s Unpacking linux-generic (6.17.0-3.3) over (6.16.0-16.16) ... 856s Preparing to unpack .../13-linux-image-generic_6.17.0-3.3_ppc64el.deb ... 856s Unpacking linux-image-generic (6.17.0-3.3) over (6.16.0-16.16) ... 856s Preparing to unpack .../14-linux-virtual_6.17.0-3.3_ppc64el.deb ... 856s Unpacking linux-virtual (6.17.0-3.3) over (6.16.0-16.16) ... 856s Preparing to unpack .../15-linux-image-virtual_6.17.0-3.3_ppc64el.deb ... 856s Unpacking linux-image-virtual (6.17.0-3.3) over (6.16.0-16.16) ... 856s Preparing to unpack .../16-linux-headers-virtual_6.17.0-3.3_ppc64el.deb ... 856s Unpacking linux-headers-virtual (6.17.0-3.3) over (6.16.0-16.16) ... 856s Selecting previously unselected package linux-headers-6.17.0-3. 856s Preparing to unpack .../17-linux-headers-6.17.0-3_6.17.0-3.3_all.deb ... 856s Unpacking linux-headers-6.17.0-3 (6.17.0-3.3) ... 858s Selecting previously unselected package linux-headers-6.17.0-3-generic. 858s Preparing to unpack .../18-linux-headers-6.17.0-3-generic_6.17.0-3.3_ppc64el.deb ... 858s Unpacking linux-headers-6.17.0-3-generic (6.17.0-3.3) ... 859s Preparing to unpack .../19-linux-headers-generic_6.17.0-3.3_ppc64el.deb ... 859s Unpacking linux-headers-generic (6.17.0-3.3) over (6.16.0-16.16) ... 859s Preparing to unpack .../20-linux-libc-dev_6.17.0-3.3_ppc64el.deb ... 859s Unpacking linux-libc-dev:ppc64el (6.17.0-3.3) over (6.16.0-16.16) ... 859s Preparing to unpack .../21-linux-perf_6.17.0-3.3_ppc64el.deb ... 859s Unpacking linux-perf (6.17.0-3.3) over (6.16.0-16.16) ... 859s Preparing to unpack .../22-linux-tools-common_6.17.0-3.3_all.deb ... 859s Unpacking linux-tools-common (6.17.0-3.3) over (6.16.0-16.16) ... 859s Setting up libcurl4t64:ppc64el (8.14.1-1ubuntu3) ... 859s Setting up bpftrace (0.23.5-1ubuntu1) ... 859s Setting up bpftool (7.7.0+6.17.0-3.3) ... 859s Setting up wireless-regdb (2025.07.10-0ubuntu1) ... 859s Setting up libcurl3t64-gnutls:ppc64el (8.14.1-1ubuntu3) ... 859s Setting up linux-libc-dev:ppc64el (6.17.0-3.3) ... 859s Setting up linux-perf (6.17.0-3.3) ... 859s Setting up libfreetype6:ppc64el (2.13.3+dfsg-1build1) ... 859s Setting up dracut-install (108-3ubuntu3) ... 859s Setting up libcryptsetup12:ppc64el (2:2.8.0-1ubuntu2) ... 859s Setting up curl (8.14.1-1ubuntu3) ... 859s Setting up linux-headers-6.17.0-3 (6.17.0-3.3) ... 859s Setting up linux-tools-common (6.17.0-3.3) ... 859s Setting up cryptsetup-bin (2:2.8.0-1ubuntu2) ... 859s Setting up linux-modules-6.17.0-3-generic (6.17.0-3.3) ... 861s Setting up linux-image-6.17.0-3-generic (6.17.0-3.3) ... 862s I: /boot/vmlinux.old is now a symlink to vmlinux-6.16.0-16-generic 862s I: /boot/initrd.img.old is now a symlink to initrd.img-6.16.0-16-generic 862s I: /boot/vmlinux is now a symlink to vmlinux-6.17.0-3-generic 862s I: /boot/initrd.img is now a symlink to initrd.img-6.17.0-3-generic 862s Setting up linux-headers-6.17.0-3-generic (6.17.0-3.3) ... 862s Setting up linux-image-virtual (6.17.0-3.3) ... 862s Setting up linux-image-generic (6.17.0-3.3) ... 862s Setting up linux-headers-generic (6.17.0-3.3) ... 862s Setting up linux-headers-virtual (6.17.0-3.3) ... 862s Setting up linux-generic (6.17.0-3.3) ... 862s Setting up linux-virtual (6.17.0-3.3) ... 862s Processing triggers for libc-bin (2.42-0ubuntu1) ... 862s Processing triggers for man-db (2.13.1-1) ... 864s Processing triggers for install-info (7.1.1-1) ... 864s Processing triggers for linux-image-6.17.0-3-generic (6.17.0-3.3) ... 864s /etc/kernel/postinst.d/initramfs-tools: 864s update-initramfs: Generating /boot/initrd.img-6.17.0-3-generic 870s /etc/kernel/postinst.d/zz-update-grub: 870s Sourcing file `/etc/default/grub' 870s Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' 870s Generating grub configuration file ... 870s Found linux image: /boot/vmlinux-6.17.0-3-generic 870s Found initrd image: /boot/initrd.img-6.17.0-3-generic 870s Found linux image: /boot/vmlinux-6.16.0-16-generic 870s Found initrd image: /boot/initrd.img-6.16.0-16-generic 870s Found linux image: /boot/vmlinux-6.15.0-4-generic 870s Found initrd image: /boot/initrd.img-6.15.0-4-generic 870s Warning: os-prober will not be executed to detect other bootable partitions. 870s Systems on them will not be added to the GRUB boot configuration. 870s Check GRUB_DISABLE_OS_PROBER documentation entry. 870s Adding boot menu entry for UEFI Firmware Settings ... 871s done 871s Reading package lists... 871s Building dependency tree... 871s Reading state information... 871s Solving dependencies... 871s The following packages will be REMOVED: 871s linux-headers-6.15.0-4* linux-headers-6.15.0-4-generic* 871s linux-image-6.15.0-4-generic* linux-modules-6.15.0-4-generic* 871s linux-tools-6.15.0-4* linux-tools-6.15.0-4-generic* 871s 0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded. 871s After this operation, 326 MB disk space will be freed. 871s (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 ... 156619 files and directories currently installed.) 871s Removing linux-headers-6.15.0-4-generic (6.15.0-4.4) ... 872s Removing linux-headers-6.15.0-4 (6.15.0-4.4) ... 874s Removing linux-image-6.15.0-4-generic (6.15.0-4.4) ... 875s /etc/kernel/postrm.d/initramfs-tools: 875s update-initramfs: Deleting /boot/initrd.img-6.15.0-4-generic 875s /etc/kernel/postrm.d/zz-update-grub: 875s Sourcing file `/etc/default/grub' 875s Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' 875s Generating grub configuration file ... 875s Found linux image: /boot/vmlinux-6.17.0-3-generic 875s Found initrd image: /boot/initrd.img-6.17.0-3-generic 875s Found linux image: /boot/vmlinux-6.16.0-16-generic 875s Found initrd image: /boot/initrd.img-6.16.0-16-generic 875s Warning: os-prober will not be executed to detect other bootable partitions. 875s Systems on them will not be added to the GRUB boot configuration. 875s Check GRUB_DISABLE_OS_PROBER documentation entry. 875s Adding boot menu entry for UEFI Firmware Settings ... 875s done 875s Removing linux-modules-6.15.0-4-generic (6.15.0-4.4) ... 876s Removing linux-tools-6.15.0-4-generic (6.15.0-4.4) ... 876s Removing linux-tools-6.15.0-4 (6.15.0-4.4) ... 876s (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 ... 118470 files and directories currently installed.) 876s Purging configuration files for linux-image-6.15.0-4-generic (6.15.0-4.4) ... 876s Purging configuration files for linux-modules-6.15.0-4-generic (6.15.0-4.4) ... 876s autopkgtest [12:40:21]: rebooting testbed after setup commands that affected boot 917s Reading package lists... 917s Building dependency tree... 917s Reading state information... 917s Solving dependencies... 918s The following NEW packages will be installed: 918s dbus-x11 desktop-file-utils gir1.2-glib-2.0-dev girepository-tools 918s gnome-desktop-testing libfontenc1 libgbm1 libgio-2.0-dev-bin 918s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglib2.0-bin 918s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 918s libpixman-1-0 libsm6 libunwind8 libvulkan1 libx11-xcb1 libxaw7 libxcb-dri3-0 918s libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 libxcb-sync1 918s libxcb-xfixes0 libxfont2 libxkbfile1 libxmu6 libxpm4 libxrandr2 libxrender1 918s libxshmfence1 libxt6t64 libxxf86vm1 mesa-libgallium native-architecture 918s python3-dbusmock tzdata-legacy x11-common x11-xkb-utils xserver-common xvfb 918s 0 upgraded, 48 newly installed, 0 to remove and 0 not upgraded. 918s Need to get 20.0 MB of archives. 918s After this operation, 114 MB of additional disk space will be used. 918s Get:1 http://ftpmaster.internal/ubuntu questing/main ppc64el dbus-x11 ppc64el 1.16.2-2ubuntu1 [24.3 kB] 918s Get:2 http://ftpmaster.internal/ubuntu questing/main ppc64el desktop-file-utils ppc64el 0.28-1 [62.3 kB] 918s Get:3 http://ftpmaster.internal/ubuntu questing/main ppc64el gir1.2-glib-2.0-dev ppc64el 2.85.3-1 [868 kB] 918s Get:4 http://ftpmaster.internal/ubuntu questing/main ppc64el native-architecture all 0.2.6 [2140 B] 918s Get:5 http://ftpmaster.internal/ubuntu questing/main ppc64el libgirepository-2.0-0 ppc64el 2.85.3-1 [85.5 kB] 918s Get:6 http://ftpmaster.internal/ubuntu questing/main ppc64el girepository-tools ppc64el 2.85.3-1 [135 kB] 918s Get:7 http://ftpmaster.internal/ubuntu questing/universe ppc64el gnome-desktop-testing ppc64el 2021.1-4 [17.7 kB] 918s Get:8 http://ftpmaster.internal/ubuntu questing/main ppc64el libfontenc1 ppc64el 1:1.1.8-1build1 [15.8 kB] 918s Get:9 http://ftpmaster.internal/ubuntu questing/main ppc64el libx11-xcb1 ppc64el 2:1.8.12-1 [8014 B] 918s Get:10 http://ftpmaster.internal/ubuntu questing/main ppc64el libxcb-dri3-0 ppc64el 1.17.0-2 [7842 B] 918s Get:11 http://ftpmaster.internal/ubuntu questing/main ppc64el libxcb-present0 ppc64el 1.17.0-2 [6276 B] 918s Get:12 http://ftpmaster.internal/ubuntu questing/main ppc64el libxcb-randr0 ppc64el 1.17.0-2 [19.1 kB] 918s Get:13 http://ftpmaster.internal/ubuntu questing/main ppc64el libxcb-sync1 ppc64el 1.17.0-2 [9804 B] 918s Get:14 http://ftpmaster.internal/ubuntu questing/main ppc64el libxcb-xfixes0 ppc64el 1.17.0-2 [10.7 kB] 918s Get:15 http://ftpmaster.internal/ubuntu questing/main ppc64el libxshmfence1 ppc64el 1.3.3-1 [5364 B] 918s Get:16 http://ftpmaster.internal/ubuntu questing/main ppc64el mesa-libgallium ppc64el 25.2.2-1ubuntu1 [12.6 MB] 921s Get:17 http://ftpmaster.internal/ubuntu questing/main ppc64el libgbm1 ppc64el 25.2.2-1ubuntu1 [41.3 kB] 921s Get:18 http://ftpmaster.internal/ubuntu questing/main ppc64el libgio-2.0-dev-bin ppc64el 2.85.3-1 [131 kB] 921s Get:19 http://ftpmaster.internal/ubuntu questing/main ppc64el libvulkan1 ppc64el 1.4.321.0-1 [167 kB] 921s Get:20 http://ftpmaster.internal/ubuntu questing/main ppc64el libgl1-mesa-dri ppc64el 25.2.2-1ubuntu1 [35.4 kB] 921s Get:21 http://ftpmaster.internal/ubuntu questing/main ppc64el libglib2.0-bin ppc64el 2.85.3-1 [111 kB] 921s Get:22 http://ftpmaster.internal/ubuntu questing/main ppc64el libglib2.0-dev-bin ppc64el 2.85.3-1 [18.2 kB] 921s Get:23 http://ftpmaster.internal/ubuntu questing/universe ppc64el python3-dbusmock all 0.36.0-1 [93.3 kB] 921s Get:24 http://ftpmaster.internal/ubuntu questing/main ppc64el tzdata-legacy all 2025b-3ubuntu1 [99.3 kB] 921s Get:25 http://ftpmaster.internal/ubuntu questing/universe ppc64el libglib2.0-tests ppc64el 2.85.3-1 [2425 kB] 922s Get:26 http://ftpmaster.internal/ubuntu questing/main ppc64el libxcb-glx0 ppc64el 1.17.0-2 [26.3 kB] 922s Get:27 http://ftpmaster.internal/ubuntu questing/main ppc64el libxcb-shm0 ppc64el 1.17.0-2 [5980 B] 922s Get:28 http://ftpmaster.internal/ubuntu questing/main ppc64el libxxf86vm1 ppc64el 1:1.1.4-1build4 [11.1 kB] 922s Get:29 http://ftpmaster.internal/ubuntu questing/main ppc64el libglx-mesa0 ppc64el 25.2.2-1ubuntu1 [132 kB] 922s Get:30 http://ftpmaster.internal/ubuntu questing/main ppc64el x11-common all 1:7.7+24ubuntu1 [22.4 kB] 922s Get:31 http://ftpmaster.internal/ubuntu questing/main ppc64el libice6 ppc64el 2:1.1.1-1 [49.9 kB] 922s Get:32 http://ftpmaster.internal/ubuntu questing/main ppc64el libpixman-1-0 ppc64el 0.44.0-3 [334 kB] 922s Get:33 http://ftpmaster.internal/ubuntu questing/main ppc64el libsm6 ppc64el 2:1.2.6-1 [18.6 kB] 922s Get:34 http://ftpmaster.internal/ubuntu questing/main ppc64el libunwind8 ppc64el 1.8.1-0.1ubuntu1 [67.7 kB] 922s Get:35 http://ftpmaster.internal/ubuntu questing/main ppc64el libxt6t64 ppc64el 1:1.2.1-1.2build1 [202 kB] 922s Get:36 http://ftpmaster.internal/ubuntu questing/main ppc64el libxmu6 ppc64el 2:1.1.3-3build2 [56.8 kB] 922s Get:37 http://ftpmaster.internal/ubuntu questing/main ppc64el libxpm4 ppc64el 1:3.5.17-1build2 [49.9 kB] 922s Get:38 http://ftpmaster.internal/ubuntu questing/main ppc64el libxaw7 ppc64el 2:1.0.16-1 [230 kB] 922s Get:39 http://ftpmaster.internal/ubuntu questing/main ppc64el libxfont2 ppc64el 1:2.0.6-1build1 [116 kB] 922s Get:40 http://ftpmaster.internal/ubuntu questing/main ppc64el libxkbfile1 ppc64el 1:1.1.0-1build4 [88.9 kB] 922s Get:41 http://ftpmaster.internal/ubuntu questing/main ppc64el libxrender1 ppc64el 1:0.9.12-1 [23.0 kB] 922s Get:42 http://ftpmaster.internal/ubuntu questing/main ppc64el libxrandr2 ppc64el 2:1.5.4-1 [21.7 kB] 922s Get:43 http://ftpmaster.internal/ubuntu questing/main ppc64el x11-xkb-utils ppc64el 7.7+9 [201 kB] 922s Get:44 http://ftpmaster.internal/ubuntu questing/main ppc64el xserver-common all 2:21.1.18-1ubuntu1 [34.6 kB] 922s Get:45 http://ftpmaster.internal/ubuntu questing/main ppc64el libglvnd0 ppc64el 1.7.0-1build1 [72.4 kB] 922s Get:46 http://ftpmaster.internal/ubuntu questing/main ppc64el libglx0 ppc64el 1.7.0-1build1 [42.7 kB] 922s Get:47 http://ftpmaster.internal/ubuntu questing/main ppc64el libgl1 ppc64el 1.7.0-1build1 [107 kB] 922s Get:48 http://ftpmaster.internal/ubuntu questing/universe ppc64el xvfb ppc64el 2:21.1.18-1ubuntu1 [1101 kB] 923s Fetched 20.0 MB in 5s (3945 kB/s) 923s Selecting previously unselected package dbus-x11. 923s (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 ... 118471 files and directories currently installed.) 923s Preparing to unpack .../00-dbus-x11_1.16.2-2ubuntu1_ppc64el.deb ... 923s Unpacking dbus-x11 (1.16.2-2ubuntu1) ... 923s Selecting previously unselected package desktop-file-utils. 923s Preparing to unpack .../01-desktop-file-utils_0.28-1_ppc64el.deb ... 923s Unpacking desktop-file-utils (0.28-1) ... 923s Selecting previously unselected package gir1.2-glib-2.0-dev:ppc64el. 923s Preparing to unpack .../02-gir1.2-glib-2.0-dev_2.85.3-1_ppc64el.deb ... 923s Unpacking gir1.2-glib-2.0-dev:ppc64el (2.85.3-1) ... 923s Selecting previously unselected package native-architecture. 923s Preparing to unpack .../03-native-architecture_0.2.6_all.deb ... 923s Unpacking native-architecture (0.2.6) ... 923s Selecting previously unselected package libgirepository-2.0-0:ppc64el. 923s Preparing to unpack .../04-libgirepository-2.0-0_2.85.3-1_ppc64el.deb ... 923s Unpacking libgirepository-2.0-0:ppc64el (2.85.3-1) ... 923s Selecting previously unselected package girepository-tools:ppc64el. 923s Preparing to unpack .../05-girepository-tools_2.85.3-1_ppc64el.deb ... 923s Unpacking girepository-tools:ppc64el (2.85.3-1) ... 923s Selecting previously unselected package gnome-desktop-testing. 923s Preparing to unpack .../06-gnome-desktop-testing_2021.1-4_ppc64el.deb ... 923s Unpacking gnome-desktop-testing (2021.1-4) ... 923s Selecting previously unselected package libfontenc1:ppc64el. 923s Preparing to unpack .../07-libfontenc1_1%3a1.1.8-1build1_ppc64el.deb ... 923s Unpacking libfontenc1:ppc64el (1:1.1.8-1build1) ... 923s Selecting previously unselected package libx11-xcb1:ppc64el. 923s Preparing to unpack .../08-libx11-xcb1_2%3a1.8.12-1_ppc64el.deb ... 923s Unpacking libx11-xcb1:ppc64el (2:1.8.12-1) ... 923s Selecting previously unselected package libxcb-dri3-0:ppc64el. 923s Preparing to unpack .../09-libxcb-dri3-0_1.17.0-2_ppc64el.deb ... 923s Unpacking libxcb-dri3-0:ppc64el (1.17.0-2) ... 923s Selecting previously unselected package libxcb-present0:ppc64el. 923s Preparing to unpack .../10-libxcb-present0_1.17.0-2_ppc64el.deb ... 923s Unpacking libxcb-present0:ppc64el (1.17.0-2) ... 923s Selecting previously unselected package libxcb-randr0:ppc64el. 923s Preparing to unpack .../11-libxcb-randr0_1.17.0-2_ppc64el.deb ... 923s Unpacking libxcb-randr0:ppc64el (1.17.0-2) ... 923s Selecting previously unselected package libxcb-sync1:ppc64el. 923s Preparing to unpack .../12-libxcb-sync1_1.17.0-2_ppc64el.deb ... 923s Unpacking libxcb-sync1:ppc64el (1.17.0-2) ... 923s Selecting previously unselected package libxcb-xfixes0:ppc64el. 923s Preparing to unpack .../13-libxcb-xfixes0_1.17.0-2_ppc64el.deb ... 923s Unpacking libxcb-xfixes0:ppc64el (1.17.0-2) ... 923s Selecting previously unselected package libxshmfence1:ppc64el. 923s Preparing to unpack .../14-libxshmfence1_1.3.3-1_ppc64el.deb ... 923s Unpacking libxshmfence1:ppc64el (1.3.3-1) ... 923s Selecting previously unselected package mesa-libgallium:ppc64el. 923s Preparing to unpack .../15-mesa-libgallium_25.2.2-1ubuntu1_ppc64el.deb ... 923s Unpacking mesa-libgallium:ppc64el (25.2.2-1ubuntu1) ... 924s Selecting previously unselected package libgbm1:ppc64el. 924s Preparing to unpack .../16-libgbm1_25.2.2-1ubuntu1_ppc64el.deb ... 924s Unpacking libgbm1:ppc64el (25.2.2-1ubuntu1) ... 924s Selecting previously unselected package libgio-2.0-dev-bin. 924s Preparing to unpack .../17-libgio-2.0-dev-bin_2.85.3-1_ppc64el.deb ... 924s Unpacking libgio-2.0-dev-bin (2.85.3-1) ... 924s Selecting previously unselected package libvulkan1:ppc64el. 924s Preparing to unpack .../18-libvulkan1_1.4.321.0-1_ppc64el.deb ... 924s Unpacking libvulkan1:ppc64el (1.4.321.0-1) ... 924s Selecting previously unselected package libgl1-mesa-dri:ppc64el. 924s Preparing to unpack .../19-libgl1-mesa-dri_25.2.2-1ubuntu1_ppc64el.deb ... 924s Unpacking libgl1-mesa-dri:ppc64el (25.2.2-1ubuntu1) ... 924s Selecting previously unselected package libglib2.0-bin. 924s Preparing to unpack .../20-libglib2.0-bin_2.85.3-1_ppc64el.deb ... 924s Unpacking libglib2.0-bin (2.85.3-1) ... 924s Selecting previously unselected package libglib2.0-dev-bin. 924s Preparing to unpack .../21-libglib2.0-dev-bin_2.85.3-1_ppc64el.deb ... 924s Unpacking libglib2.0-dev-bin (2.85.3-1) ... 924s Selecting previously unselected package python3-dbusmock. 924s Preparing to unpack .../22-python3-dbusmock_0.36.0-1_all.deb ... 924s Unpacking python3-dbusmock (0.36.0-1) ... 924s Selecting previously unselected package tzdata-legacy. 924s Preparing to unpack .../23-tzdata-legacy_2025b-3ubuntu1_all.deb ... 924s Unpacking tzdata-legacy (2025b-3ubuntu1) ... 924s Selecting previously unselected package libglib2.0-tests. 924s Preparing to unpack .../24-libglib2.0-tests_2.85.3-1_ppc64el.deb ... 924s Unpacking libglib2.0-tests (2.85.3-1) ... 924s Selecting previously unselected package libxcb-glx0:ppc64el. 924s Preparing to unpack .../25-libxcb-glx0_1.17.0-2_ppc64el.deb ... 924s Unpacking libxcb-glx0:ppc64el (1.17.0-2) ... 924s Selecting previously unselected package libxcb-shm0:ppc64el. 924s Preparing to unpack .../26-libxcb-shm0_1.17.0-2_ppc64el.deb ... 924s Unpacking libxcb-shm0:ppc64el (1.17.0-2) ... 924s Selecting previously unselected package libxxf86vm1:ppc64el. 924s Preparing to unpack .../27-libxxf86vm1_1%3a1.1.4-1build4_ppc64el.deb ... 924s Unpacking libxxf86vm1:ppc64el (1:1.1.4-1build4) ... 924s Selecting previously unselected package libglx-mesa0:ppc64el. 924s Preparing to unpack .../28-libglx-mesa0_25.2.2-1ubuntu1_ppc64el.deb ... 924s Unpacking libglx-mesa0:ppc64el (25.2.2-1ubuntu1) ... 924s Selecting previously unselected package x11-common. 924s Preparing to unpack .../29-x11-common_1%3a7.7+24ubuntu1_all.deb ... 924s Unpacking x11-common (1:7.7+24ubuntu1) ... 924s Selecting previously unselected package libice6:ppc64el. 924s Preparing to unpack .../30-libice6_2%3a1.1.1-1_ppc64el.deb ... 924s Unpacking libice6:ppc64el (2:1.1.1-1) ... 924s Selecting previously unselected package libpixman-1-0:ppc64el. 924s Preparing to unpack .../31-libpixman-1-0_0.44.0-3_ppc64el.deb ... 924s Unpacking libpixman-1-0:ppc64el (0.44.0-3) ... 924s Selecting previously unselected package libsm6:ppc64el. 924s Preparing to unpack .../32-libsm6_2%3a1.2.6-1_ppc64el.deb ... 924s Unpacking libsm6:ppc64el (2:1.2.6-1) ... 924s Selecting previously unselected package libunwind8:ppc64el. 924s Preparing to unpack .../33-libunwind8_1.8.1-0.1ubuntu1_ppc64el.deb ... 924s Unpacking libunwind8:ppc64el (1.8.1-0.1ubuntu1) ... 924s Selecting previously unselected package libxt6t64:ppc64el. 924s Preparing to unpack .../34-libxt6t64_1%3a1.2.1-1.2build1_ppc64el.deb ... 924s Unpacking libxt6t64:ppc64el (1:1.2.1-1.2build1) ... 924s Selecting previously unselected package libxmu6:ppc64el. 924s Preparing to unpack .../35-libxmu6_2%3a1.1.3-3build2_ppc64el.deb ... 924s Unpacking libxmu6:ppc64el (2:1.1.3-3build2) ... 924s Selecting previously unselected package libxpm4:ppc64el. 924s Preparing to unpack .../36-libxpm4_1%3a3.5.17-1build2_ppc64el.deb ... 924s Unpacking libxpm4:ppc64el (1:3.5.17-1build2) ... 924s Selecting previously unselected package libxaw7:ppc64el. 924s Preparing to unpack .../37-libxaw7_2%3a1.0.16-1_ppc64el.deb ... 924s Unpacking libxaw7:ppc64el (2:1.0.16-1) ... 924s Selecting previously unselected package libxfont2:ppc64el. 924s Preparing to unpack .../38-libxfont2_1%3a2.0.6-1build1_ppc64el.deb ... 924s Unpacking libxfont2:ppc64el (1:2.0.6-1build1) ... 924s Selecting previously unselected package libxkbfile1:ppc64el. 924s Preparing to unpack .../39-libxkbfile1_1%3a1.1.0-1build4_ppc64el.deb ... 924s Unpacking libxkbfile1:ppc64el (1:1.1.0-1build4) ... 924s Selecting previously unselected package libxrender1:ppc64el. 924s Preparing to unpack .../40-libxrender1_1%3a0.9.12-1_ppc64el.deb ... 924s Unpacking libxrender1:ppc64el (1:0.9.12-1) ... 924s Selecting previously unselected package libxrandr2:ppc64el. 924s Preparing to unpack .../41-libxrandr2_2%3a1.5.4-1_ppc64el.deb ... 924s Unpacking libxrandr2:ppc64el (2:1.5.4-1) ... 924s Selecting previously unselected package x11-xkb-utils. 924s Preparing to unpack .../42-x11-xkb-utils_7.7+9_ppc64el.deb ... 924s Unpacking x11-xkb-utils (7.7+9) ... 924s Selecting previously unselected package xserver-common. 924s Preparing to unpack .../43-xserver-common_2%3a21.1.18-1ubuntu1_all.deb ... 924s Unpacking xserver-common (2:21.1.18-1ubuntu1) ... 924s Selecting previously unselected package libglvnd0:ppc64el. 924s Preparing to unpack .../44-libglvnd0_1.7.0-1build1_ppc64el.deb ... 924s Unpacking libglvnd0:ppc64el (1.7.0-1build1) ... 924s Selecting previously unselected package libglx0:ppc64el. 924s Preparing to unpack .../45-libglx0_1.7.0-1build1_ppc64el.deb ... 924s Unpacking libglx0:ppc64el (1.7.0-1build1) ... 924s Selecting previously unselected package libgl1:ppc64el. 924s Preparing to unpack .../46-libgl1_1.7.0-1build1_ppc64el.deb ... 924s Unpacking libgl1:ppc64el (1.7.0-1build1) ... 925s Selecting previously unselected package xvfb. 925s Preparing to unpack .../47-xvfb_2%3a21.1.18-1ubuntu1_ppc64el.deb ... 925s Unpacking xvfb (2:21.1.18-1ubuntu1) ... 925s Setting up gnome-desktop-testing (2021.1-4) ... 925s Setting up libxcb-dri3-0:ppc64el (1.17.0-2) ... 925s Setting up libpixman-1-0:ppc64el (0.44.0-3) ... 925s Setting up libx11-xcb1:ppc64el (2:1.8.12-1) ... 925s Setting up libgio-2.0-dev-bin (2.85.3-1) ... 925s Setting up native-architecture (0.2.6) ... 925s Setting up libxcb-xfixes0:ppc64el (1.17.0-2) ... 925s Setting up desktop-file-utils (0.28-1) ... 925s Setting up libxpm4:ppc64el (1:3.5.17-1build2) ... 925s Setting up libxrender1:ppc64el (1:0.9.12-1) ... 925s Setting up libgirepository-2.0-0:ppc64el (2.85.3-1) ... 925s Setting up libglvnd0:ppc64el (1.7.0-1build1) ... 925s Setting up libxcb-glx0:ppc64el (1.17.0-2) ... 925s Setting up x11-common (1:7.7+24ubuntu1) ... 925s Setting up libglib2.0-bin (2.85.3-1) ... 925s Setting up libxcb-shm0:ppc64el (1.17.0-2) ... 925s Setting up python3-dbusmock (0.36.0-1) ... 925s Setting up libunwind8:ppc64el (1.8.1-0.1ubuntu1) ... 925s Setting up tzdata-legacy (2025b-3ubuntu1) ... 925s Setting up libxxf86vm1:ppc64el (1:1.1.4-1build4) ... 925s Setting up libxcb-present0:ppc64el (1.17.0-2) ... 925s Setting up libfontenc1:ppc64el (1:1.1.8-1build1) ... 925s Setting up libxcb-sync1:ppc64el (1.17.0-2) ... 925s Setting up libxrandr2:ppc64el (2:1.5.4-1) ... 925s Setting up libvulkan1:ppc64el (1.4.321.0-1) ... 925s Setting up gir1.2-glib-2.0-dev:ppc64el (2.85.3-1) ... 925s Setting up libxshmfence1:ppc64el (1.3.3-1) ... 925s Setting up dbus-x11 (1.16.2-2ubuntu1) ... 925s Setting up libxcb-randr0:ppc64el (1.17.0-2) ... 925s Setting up libxkbfile1:ppc64el (1:1.1.0-1build4) ... 925s Setting up libxfont2:ppc64el (1:2.0.6-1build1) ... 925s Setting up libice6:ppc64el (2:1.1.1-1) ... 925s Setting up mesa-libgallium:ppc64el (25.2.2-1ubuntu1) ... 925s Setting up girepository-tools:ppc64el (2.85.3-1) ... 925s Setting up libgbm1:ppc64el (25.2.2-1ubuntu1) ... 925s Setting up libgl1-mesa-dri:ppc64el (25.2.2-1ubuntu1) ... 925s Setting up libsm6:ppc64el (2:1.2.6-1) ... 925s Setting up libglib2.0-dev-bin (2.85.3-1) ... 925s Setting up libglx-mesa0:ppc64el (25.2.2-1ubuntu1) ... 925s Setting up libglx0:ppc64el (1.7.0-1build1) ... 925s Setting up libgl1:ppc64el (1.7.0-1build1) ... 925s Setting up libxt6t64:ppc64el (1:1.2.1-1.2build1) ... 925s Setting up libglib2.0-tests (2.85.3-1) ... 925s Setting up libxmu6:ppc64el (2:1.1.3-3build2) ... 925s Setting up libxaw7:ppc64el (2:1.0.16-1) ... 925s Setting up x11-xkb-utils (7.7+9) ... 925s Setting up xserver-common (2:21.1.18-1ubuntu1) ... 925s Setting up xvfb (2:21.1.18-1ubuntu1) ... 925s Processing triggers for man-db (2.13.1-1) ... 926s Processing triggers for libc-bin (2.42-0ubuntu1) ... 939s autopkgtest [12:41:24]: test installed-tests: [----------------------- 939s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd) 939s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 939s group entry: ubuntu:x:1000: 939s Environment: 939s ADTTMP=/tmp/autopkgtest.X7jYgQ/autopkgtest_tmp 939s ADT_ARTIFACTS=/tmp/autopkgtest.X7jYgQ/installed-tests-artifacts 939s ADT_TEST_TRIGGERS=build-essential/12.12ubuntu2 939s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.X7jYgQ/installed-tests-artifacts 939s AUTOPKGTEST_TESTBED_ARCH=ppc64el 939s AUTOPKGTEST_TEST_ARCH=ppc64el 939s AUTOPKGTEST_TMP=/tmp/autopkgtest.X7jYgQ/autopkgtest_tmp 939s DEBIAN_FRONTEND=noninteractive 939s DEBUGINFOD_URLS=https://debuginfod.ubuntu.com 939s DEB_BUILD_OPTIONS=parallel=2 939s GIO_USE_VFS=local 939s GIO_USE_VOLUME_MONITOR=unix 939s HOME=/home/ubuntu 939s LANG=C.UTF-8 939s LOGNAME=ubuntu 939s MAIL=/var/mail/ubuntu 939s OLDPWD=/home/ubuntu 939s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 939s PWD=/tmp/autopkgtest.X7jYgQ/build.X2Z/src 939s SHELL=/bin/bash 939s SHLVL=1 939s SUDO_COMMAND=/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.X7jYgQ/wrapper.sh --artifacts=/tmp/autopkgtest.X7jYgQ/installed-tests-artifacts --chdir=/tmp/autopkgtest.X7jYgQ/build.X2Z/src --env=AUTOPKGTEST_TESTBED_ARCH=ppc64el --env=AUTOPKGTEST_TEST_ARCH=ppc64el --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.X7jYgQ/installed-tests-stderr --stdout=/tmp/autopkgtest.X7jYgQ/installed-tests-stdout --tmp=/tmp/autopkgtest.X7jYgQ/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=build-essential/12.12ubuntu2 --make-executable=/tmp/autopkgtest.X7jYgQ/build.X2Z/src/debian/tests/installed-tests -- /tmp/autopkgtest.X7jYgQ/build.X2Z/src/debian/tests/installed-tests 939s SUDO_GID=1000 939s SUDO_UID=1000 939s SUDO_USER=ubuntu 939s TERM=linux 939s USER=ubuntu 939s XDG_RUNTIME_DIR=/tmp/autopkgtest.X7jYgQ/autopkgtest_tmp 939s http_proxy=http://squid.internal:3128/ 939s https_proxy=http://squid.internal:3128/ 939s no_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,internal,login.ubuntu.com,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net 939s run-with-locales: de_DE=ISO-8859-1... 939s Character set: ISO-8859-1 939s Source file: de_DE 939s Output: /tmp/tmp.HLqZXdkMJK/de_DE 940s run-with-locales: de_DE.utf8... 940s Character set: UTF-8 940s Source file: de_DE 940s Output: /tmp/tmp.HLqZXdkMJK/de_DE.utf8 941s run-with-locales: de_DE@euro.utf8... 941s Character set: UTF-8 941s Source file: de_DE@euro 941s Output: /tmp/tmp.HLqZXdkMJK/de_DE@euro.utf8 942s run-with-locales: el_GR.utf8... 942s Character set: UTF-8 942s Source file: el_GR 942s Output: /tmp/tmp.HLqZXdkMJK/el_GR.utf8 944s run-with-locales: en_GB=ISO-8859-1... 944s Character set: ISO-8859-1 944s Source file: en_GB 944s Output: /tmp/tmp.HLqZXdkMJK/en_GB 944s run-with-locales: en_GB.utf8... 944s Character set: UTF-8 944s Source file: en_GB 944s Output: /tmp/tmp.HLqZXdkMJK/en_GB.utf8 945s run-with-locales: en_US=ISO-8859-1... 945s Character set: ISO-8859-1 945s Source file: en_US 945s Output: /tmp/tmp.HLqZXdkMJK/en_US 946s run-with-locales: en_US.utf8... 946s Character set: UTF-8 946s Source file: en_US 946s Output: /tmp/tmp.HLqZXdkMJK/en_US.utf8 947s run-with-locales: es_ES.utf8... 947s Character set: UTF-8 947s Source file: es_ES 947s Output: /tmp/tmp.HLqZXdkMJK/es_ES.utf8 948s run-with-locales: fa_IR=UTF-8... 948s Character set: UTF-8 948s Source file: fa_IR 948s Output: /tmp/tmp.HLqZXdkMJK/fa_IR 949s run-with-locales: fa_IR.utf8... 949s Character set: UTF-8 949s Source file: fa_IR 949s Output: /tmp/tmp.HLqZXdkMJK/fa_IR.utf8 951s run-with-locales: fr_FR.utf8... 951s Character set: UTF-8 951s Source file: fr_FR 951s Output: /tmp/tmp.HLqZXdkMJK/fr_FR.utf8 952s run-with-locales: hr_HR.utf8... 952s Character set: UTF-8 952s Source file: hr_HR 952s Output: /tmp/tmp.HLqZXdkMJK/hr_HR.utf8 953s run-with-locales: ja_JP.utf8... 953s Character set: UTF-8 953s Source file: ja_JP 953s Output: /tmp/tmp.HLqZXdkMJK/ja_JP.utf8 954s run-with-locales: ja_JP.EUC-JP... 954s Character set: EUC-JP 954s Source file: ja_JP 954s Output: /tmp/tmp.HLqZXdkMJK/ja_JP.eucjp 954s run-with-locales: lt_LT.utf8... 954s Character set: UTF-8 954s Source file: lt_LT 954s Output: /tmp/tmp.HLqZXdkMJK/lt_LT.utf8 955s run-with-locales: pl_PL=ISO-8859-2... 955s Character set: ISO-8859-2 955s Source file: pl_PL 955s Output: /tmp/tmp.HLqZXdkMJK/pl_PL 956s run-with-locales: pl_PL.ISO-8859-2... 956s Character set: ISO-8859-2 956s Source file: pl_PL 956s Output: /tmp/tmp.HLqZXdkMJK/pl_PL.iso88592 956s run-with-locales: pl_PL.utf8... 956s Character set: UTF-8 956s Source file: pl_PL 956s Output: /tmp/tmp.HLqZXdkMJK/pl_PL.utf8 957s run-with-locales: ru_RU=ISO-8859-5... 957s Character set: ISO-8859-5 957s Source file: ru_RU 957s Output: /tmp/tmp.HLqZXdkMJK/ru_RU 958s run-with-locales: ru_RU.utf8... 958s Character set: UTF-8 958s Source file: ru_RU 958s Output: /tmp/tmp.HLqZXdkMJK/ru_RU.utf8 959s run-with-locales: sr_RS=UTF-8... 959s Character set: UTF-8 959s Source file: sr_RS 959s Output: /tmp/tmp.HLqZXdkMJK/sr_RS 960s run-with-locales: sr_RS@latin=UTF-8... 960s Character set: UTF-8 960s Source file: sr_RS@latin 960s Output: /tmp/tmp.HLqZXdkMJK/sr_RS@latin 961s run-with-locales: sv_SE=ISO-8859-1... 961s Character set: ISO-8859-1 961s Source file: sv_SE 961s Output: /tmp/tmp.HLqZXdkMJK/sv_SE 962s run-with-locales: sv_SE.utf8... 962s Character set: UTF-8 962s Source file: sv_SE 962s Output: /tmp/tmp.HLqZXdkMJK/sv_SE.utf8 963s run-with-locales: tr_TR=ISO-8859-9... 963s Character set: ISO-8859-9 963s Source file: tr_TR 963s Output: /tmp/tmp.HLqZXdkMJK/tr_TR 963s run-with-locales: tr_TR.utf8... 963s Character set: UTF-8 963s Source file: tr_TR 963s Output: /tmp/tmp.HLqZXdkMJK/tr_TR.utf8 965s run-with-locales: tt_RU=UTF-8... 965s Character set: UTF-8 965s Source file: tt_RU 965s Output: /tmp/tmp.HLqZXdkMJK/tt_RU 966s run-with-locales: tt_RU.utf8... 966s Character set: UTF-8 966s Source file: tt_RU 966s Output: /tmp/tmp.HLqZXdkMJK/tt_RU.utf8 967s run-with-locales: tt_RU@iqtelif=UTF-8... 967s Character set: UTF-8 967s Source file: tt_RU@iqtelif 967s Output: /tmp/tmp.HLqZXdkMJK/tt_RU@iqtelif 968s /tmp/tmp.HLqZXdkMJK 968s /tmp/tmp.HLqZXdkMJK/ja_JP.utf8 968s /tmp/tmp.HLqZXdkMJK/ja_JP.utf8/LC_IDENTIFICATION 968s /tmp/tmp.HLqZXdkMJK/ja_JP.utf8/LC_CTYPE 968s /tmp/tmp.HLqZXdkMJK/ja_JP.utf8/LC_COLLATE 968s /tmp/tmp.HLqZXdkMJK/ja_JP.utf8/LC_MEASUREMENT 968s /tmp/tmp.HLqZXdkMJK/ja_JP.utf8/LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/ja_JP.utf8/LC_ADDRESS 968s /tmp/tmp.HLqZXdkMJK/ja_JP.utf8/LC_NAME 968s /tmp/tmp.HLqZXdkMJK/ja_JP.utf8/LC_TIME 968s /tmp/tmp.HLqZXdkMJK/ja_JP.utf8/LC_TELEPHONE 968s /tmp/tmp.HLqZXdkMJK/ja_JP.utf8/LC_MONETARY 968s /tmp/tmp.HLqZXdkMJK/ja_JP.utf8/LC_PAPER 968s /tmp/tmp.HLqZXdkMJK/ja_JP.utf8/LC_NUMERIC 968s /tmp/tmp.HLqZXdkMJK/fa_IR.utf8 968s /tmp/tmp.HLqZXdkMJK/fa_IR.utf8/LC_IDENTIFICATION 968s /tmp/tmp.HLqZXdkMJK/fa_IR.utf8/LC_CTYPE 968s /tmp/tmp.HLqZXdkMJK/fa_IR.utf8/LC_COLLATE 968s /tmp/tmp.HLqZXdkMJK/fa_IR.utf8/LC_MEASUREMENT 968s /tmp/tmp.HLqZXdkMJK/fa_IR.utf8/LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/fa_IR.utf8/LC_ADDRESS 968s /tmp/tmp.HLqZXdkMJK/fa_IR.utf8/LC_NAME 968s /tmp/tmp.HLqZXdkMJK/fa_IR.utf8/LC_TIME 968s /tmp/tmp.HLqZXdkMJK/fa_IR.utf8/LC_TELEPHONE 968s /tmp/tmp.HLqZXdkMJK/fa_IR.utf8/LC_MONETARY 968s /tmp/tmp.HLqZXdkMJK/fa_IR.utf8/LC_PAPER 968s /tmp/tmp.HLqZXdkMJK/fa_IR.utf8/LC_NUMERIC 968s /tmp/tmp.HLqZXdkMJK/tr_TR 968s /tmp/tmp.HLqZXdkMJK/tr_TR/LC_IDENTIFICATION 968s /tmp/tmp.HLqZXdkMJK/tr_TR/LC_CTYPE 968s /tmp/tmp.HLqZXdkMJK/tr_TR/LC_COLLATE 968s /tmp/tmp.HLqZXdkMJK/tr_TR/LC_MEASUREMENT 968s /tmp/tmp.HLqZXdkMJK/tr_TR/LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/tr_TR/LC_ADDRESS 968s /tmp/tmp.HLqZXdkMJK/tr_TR/LC_NAME 968s /tmp/tmp.HLqZXdkMJK/tr_TR/LC_TIME 968s /tmp/tmp.HLqZXdkMJK/tr_TR/LC_TELEPHONE 968s /tmp/tmp.HLqZXdkMJK/tr_TR/LC_MONETARY 968s /tmp/tmp.HLqZXdkMJK/tr_TR/LC_PAPER 968s /tmp/tmp.HLqZXdkMJK/tr_TR/LC_NUMERIC 968s /tmp/tmp.HLqZXdkMJK/tt_RU@iqtelif 968s /tmp/tmp.HLqZXdkMJK/tt_RU@iqtelif/LC_IDENTIFICATION 968s /tmp/tmp.HLqZXdkMJK/tt_RU@iqtelif/LC_CTYPE 968s /tmp/tmp.HLqZXdkMJK/tt_RU@iqtelif/LC_COLLATE 968s /tmp/tmp.HLqZXdkMJK/tt_RU@iqtelif/LC_MEASUREMENT 968s /tmp/tmp.HLqZXdkMJK/tt_RU@iqtelif/LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/tt_RU@iqtelif/LC_ADDRESS 968s /tmp/tmp.HLqZXdkMJK/tt_RU@iqtelif/LC_NAME 968s /tmp/tmp.HLqZXdkMJK/tt_RU@iqtelif/LC_TIME 968s /tmp/tmp.HLqZXdkMJK/tt_RU@iqtelif/LC_TELEPHONE 968s /tmp/tmp.HLqZXdkMJK/tt_RU@iqtelif/LC_MONETARY 968s /tmp/tmp.HLqZXdkMJK/tt_RU@iqtelif/LC_PAPER 968s /tmp/tmp.HLqZXdkMJK/tt_RU@iqtelif/LC_NUMERIC 968s /tmp/tmp.HLqZXdkMJK/ru_RU 968s /tmp/tmp.HLqZXdkMJK/ru_RU/LC_IDENTIFICATION 968s /tmp/tmp.HLqZXdkMJK/ru_RU/LC_CTYPE 968s /tmp/tmp.HLqZXdkMJK/ru_RU/LC_COLLATE 968s /tmp/tmp.HLqZXdkMJK/ru_RU/LC_MEASUREMENT 968s /tmp/tmp.HLqZXdkMJK/ru_RU/LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/ru_RU/LC_ADDRESS 968s /tmp/tmp.HLqZXdkMJK/ru_RU/LC_NAME 968s /tmp/tmp.HLqZXdkMJK/ru_RU/LC_TIME 968s /tmp/tmp.HLqZXdkMJK/ru_RU/LC_TELEPHONE 968s /tmp/tmp.HLqZXdkMJK/ru_RU/LC_MONETARY 968s /tmp/tmp.HLqZXdkMJK/ru_RU/LC_PAPER 968s /tmp/tmp.HLqZXdkMJK/ru_RU/LC_NUMERIC 968s /tmp/tmp.HLqZXdkMJK/sr_RS@latin 968s /tmp/tmp.HLqZXdkMJK/sr_RS@latin/LC_IDENTIFICATION 968s /tmp/tmp.HLqZXdkMJK/sr_RS@latin/LC_CTYPE 968s /tmp/tmp.HLqZXdkMJK/sr_RS@latin/LC_COLLATE 968s /tmp/tmp.HLqZXdkMJK/sr_RS@latin/LC_MEASUREMENT 968s /tmp/tmp.HLqZXdkMJK/sr_RS@latin/LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/sr_RS@latin/LC_ADDRESS 968s /tmp/tmp.HLqZXdkMJK/sr_RS@latin/LC_NAME 968s /tmp/tmp.HLqZXdkMJK/sr_RS@latin/LC_TIME 968s /tmp/tmp.HLqZXdkMJK/sr_RS@latin/LC_TELEPHONE 968s /tmp/tmp.HLqZXdkMJK/sr_RS@latin/LC_MONETARY 968s /tmp/tmp.HLqZXdkMJK/sr_RS@latin/LC_PAPER 968s /tmp/tmp.HLqZXdkMJK/sr_RS@latin/LC_NUMERIC 968s /tmp/tmp.HLqZXdkMJK/tt_RU.utf8 968s /tmp/tmp.HLqZXdkMJK/tt_RU.utf8/LC_IDENTIFICATION 968s /tmp/tmp.HLqZXdkMJK/tt_RU.utf8/LC_CTYPE 968s /tmp/tmp.HLqZXdkMJK/tt_RU.utf8/LC_COLLATE 968s /tmp/tmp.HLqZXdkMJK/tt_RU.utf8/LC_MEASUREMENT 968s /tmp/tmp.HLqZXdkMJK/tt_RU.utf8/LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/tt_RU.utf8/LC_ADDRESS 968s /tmp/tmp.HLqZXdkMJK/tt_RU.utf8/LC_NAME 968s /tmp/tmp.HLqZXdkMJK/tt_RU.utf8/LC_TIME 968s /tmp/tmp.HLqZXdkMJK/tt_RU.utf8/LC_TELEPHONE 968s /tmp/tmp.HLqZXdkMJK/tt_RU.utf8/LC_MONETARY 968s /tmp/tmp.HLqZXdkMJK/tt_RU.utf8/LC_PAPER 968s /tmp/tmp.HLqZXdkMJK/tt_RU.utf8/LC_NUMERIC 968s /tmp/tmp.HLqZXdkMJK/fa_IR 968s /tmp/tmp.HLqZXdkMJK/fa_IR/LC_IDENTIFICATION 968s /tmp/tmp.HLqZXdkMJK/fa_IR/LC_CTYPE 968s /tmp/tmp.HLqZXdkMJK/fa_IR/LC_COLLATE 968s /tmp/tmp.HLqZXdkMJK/fa_IR/LC_MEASUREMENT 968s /tmp/tmp.HLqZXdkMJK/fa_IR/LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/fa_IR/LC_ADDRESS 968s /tmp/tmp.HLqZXdkMJK/fa_IR/LC_NAME 968s /tmp/tmp.HLqZXdkMJK/fa_IR/LC_TIME 968s /tmp/tmp.HLqZXdkMJK/fa_IR/LC_TELEPHONE 968s /tmp/tmp.HLqZXdkMJK/fa_IR/LC_MONETARY 968s /tmp/tmp.HLqZXdkMJK/fa_IR/LC_PAPER 968s /tmp/tmp.HLqZXdkMJK/fa_IR/LC_NUMERIC 968s /tmp/tmp.HLqZXdkMJK/en_US 968s /tmp/tmp.HLqZXdkMJK/en_US/LC_IDENTIFICATION 968s /tmp/tmp.HLqZXdkMJK/en_US/LC_CTYPE 968s /tmp/tmp.HLqZXdkMJK/en_US/LC_COLLATE 968s /tmp/tmp.HLqZXdkMJK/en_US/LC_MEASUREMENT 968s /tmp/tmp.HLqZXdkMJK/en_US/LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/en_US/LC_MESSAGES/SYS_LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/en_US/LC_ADDRESS 968s /tmp/tmp.HLqZXdkMJK/en_US/LC_NAME 968s /tmp/tmp.HLqZXdkMJK/en_US/LC_TIME 968s /tmp/tmp.HLqZXdkMJK/en_US/LC_TELEPHONE 968s /tmp/tmp.HLqZXdkMJK/en_US/LC_MONETARY 968s /tmp/tmp.HLqZXdkMJK/en_US/LC_PAPER 968s /tmp/tmp.HLqZXdkMJK/en_US/LC_NUMERIC 968s /tmp/tmp.HLqZXdkMJK/de_DE 968s /tmp/tmp.HLqZXdkMJK/de_DE/LC_IDENTIFICATION 968s /tmp/tmp.HLqZXdkMJK/de_DE/LC_CTYPE 968s /tmp/tmp.HLqZXdkMJK/de_DE/LC_COLLATE 968s /tmp/tmp.HLqZXdkMJK/de_DE/LC_MEASUREMENT 968s /tmp/tmp.HLqZXdkMJK/de_DE/LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/de_DE/LC_ADDRESS 968s /tmp/tmp.HLqZXdkMJK/de_DE/LC_NAME 968s /tmp/tmp.HLqZXdkMJK/de_DE/LC_TIME 968s /tmp/tmp.HLqZXdkMJK/de_DE/LC_TELEPHONE 968s /tmp/tmp.HLqZXdkMJK/de_DE/LC_MONETARY 968s /tmp/tmp.HLqZXdkMJK/de_DE/LC_PAPER 968s /tmp/tmp.HLqZXdkMJK/de_DE/LC_NUMERIC 968s /tmp/tmp.HLqZXdkMJK/en_GB 968s /tmp/tmp.HLqZXdkMJK/en_GB/LC_IDENTIFICATION 968s /tmp/tmp.HLqZXdkMJK/en_GB/LC_CTYPE 968s /tmp/tmp.HLqZXdkMJK/en_GB/LC_COLLATE 968s /tmp/tmp.HLqZXdkMJK/en_GB/LC_MEASUREMENT 968s /tmp/tmp.HLqZXdkMJK/en_GB/LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/en_GB/LC_ADDRESS 968s /tmp/tmp.HLqZXdkMJK/en_GB/LC_NAME 968s /tmp/tmp.HLqZXdkMJK/en_GB/LC_TIME 968s /tmp/tmp.HLqZXdkMJK/en_GB/LC_TELEPHONE 968s /tmp/tmp.HLqZXdkMJK/en_GB/LC_MONETARY 968s /tmp/tmp.HLqZXdkMJK/en_GB/LC_PAPER 968s /tmp/tmp.HLqZXdkMJK/en_GB/LC_NUMERIC 968s /tmp/tmp.HLqZXdkMJK/ru_RU.utf8 968s /tmp/tmp.HLqZXdkMJK/ru_RU.utf8/LC_IDENTIFICATION 968s /tmp/tmp.HLqZXdkMJK/ru_RU.utf8/LC_CTYPE 968s /tmp/tmp.HLqZXdkMJK/ru_RU.utf8/LC_COLLATE 968s /tmp/tmp.HLqZXdkMJK/ru_RU.utf8/LC_MEASUREMENT 968s /tmp/tmp.HLqZXdkMJK/ru_RU.utf8/LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/ru_RU.utf8/LC_ADDRESS 968s /tmp/tmp.HLqZXdkMJK/ru_RU.utf8/LC_NAME 968s /tmp/tmp.HLqZXdkMJK/ru_RU.utf8/LC_TIME 968s /tmp/tmp.HLqZXdkMJK/ru_RU.utf8/LC_TELEPHONE 968s /tmp/tmp.HLqZXdkMJK/ru_RU.utf8/LC_MONETARY 968s /tmp/tmp.HLqZXdkMJK/ru_RU.utf8/LC_PAPER 968s /tmp/tmp.HLqZXdkMJK/ru_RU.utf8/LC_NUMERIC 968s /tmp/tmp.HLqZXdkMJK/sv_SE.utf8 968s /tmp/tmp.HLqZXdkMJK/sv_SE.utf8/LC_IDENTIFICATION 968s /tmp/tmp.HLqZXdkMJK/sv_SE.utf8/LC_CTYPE 968s /tmp/tmp.HLqZXdkMJK/sv_SE.utf8/LC_COLLATE 968s /tmp/tmp.HLqZXdkMJK/sv_SE.utf8/LC_MEASUREMENT 968s /tmp/tmp.HLqZXdkMJK/sv_SE.utf8/LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/sv_SE.utf8/LC_ADDRESS 968s /tmp/tmp.HLqZXdkMJK/sv_SE.utf8/LC_NAME 968s /tmp/tmp.HLqZXdkMJK/sv_SE.utf8/LC_TIME 968s /tmp/tmp.HLqZXdkMJK/sv_SE.utf8/LC_TELEPHONE 968s /tmp/tmp.HLqZXdkMJK/sv_SE.utf8/LC_MONETARY 968s /tmp/tmp.HLqZXdkMJK/sv_SE.utf8/LC_PAPER 968s /tmp/tmp.HLqZXdkMJK/sv_SE.utf8/LC_NUMERIC 968s /tmp/tmp.HLqZXdkMJK/es_ES.utf8 968s /tmp/tmp.HLqZXdkMJK/es_ES.utf8/LC_IDENTIFICATION 968s /tmp/tmp.HLqZXdkMJK/es_ES.utf8/LC_CTYPE 968s /tmp/tmp.HLqZXdkMJK/es_ES.utf8/LC_COLLATE 968s /tmp/tmp.HLqZXdkMJK/es_ES.utf8/LC_MEASUREMENT 968s /tmp/tmp.HLqZXdkMJK/es_ES.utf8/LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/es_ES.utf8/LC_ADDRESS 968s /tmp/tmp.HLqZXdkMJK/es_ES.utf8/LC_NAME 968s /tmp/tmp.HLqZXdkMJK/es_ES.utf8/LC_TIME 968s /tmp/tmp.HLqZXdkMJK/es_ES.utf8/LC_TELEPHONE 968s /tmp/tmp.HLqZXdkMJK/es_ES.utf8/LC_MONETARY 968s /tmp/tmp.HLqZXdkMJK/es_ES.utf8/LC_PAPER 968s /tmp/tmp.HLqZXdkMJK/es_ES.utf8/LC_NUMERIC 968s /tmp/tmp.HLqZXdkMJK/el_GR.utf8 968s /tmp/tmp.HLqZXdkMJK/el_GR.utf8/LC_IDENTIFICATION 968s /tmp/tmp.HLqZXdkMJK/el_GR.utf8/LC_CTYPE 968s /tmp/tmp.HLqZXdkMJK/el_GR.utf8/LC_COLLATE 968s /tmp/tmp.HLqZXdkMJK/el_GR.utf8/LC_MEASUREMENT 968s /tmp/tmp.HLqZXdkMJK/el_GR.utf8/LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/el_GR.utf8/LC_ADDRESS 968s /tmp/tmp.HLqZXdkMJK/el_GR.utf8/LC_NAME 968s /tmp/tmp.HLqZXdkMJK/el_GR.utf8/LC_TIME 968s /tmp/tmp.HLqZXdkMJK/el_GR.utf8/LC_TELEPHONE 968s /tmp/tmp.HLqZXdkMJK/el_GR.utf8/LC_MONETARY 968s /tmp/tmp.HLqZXdkMJK/el_GR.utf8/LC_PAPER 968s /tmp/tmp.HLqZXdkMJK/el_GR.utf8/LC_NUMERIC 968s /tmp/tmp.HLqZXdkMJK/de_DE.utf8 968s /tmp/tmp.HLqZXdkMJK/de_DE.utf8/LC_IDENTIFICATION 968s /tmp/tmp.HLqZXdkMJK/de_DE.utf8/LC_CTYPE 968s /tmp/tmp.HLqZXdkMJK/de_DE.utf8/LC_COLLATE 968s /tmp/tmp.HLqZXdkMJK/de_DE.utf8/LC_MEASUREMENT 968s /tmp/tmp.HLqZXdkMJK/de_DE.utf8/LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/de_DE.utf8/LC_ADDRESS 968s /tmp/tmp.HLqZXdkMJK/de_DE.utf8/LC_NAME 968s /tmp/tmp.HLqZXdkMJK/de_DE.utf8/LC_TIME 968s /tmp/tmp.HLqZXdkMJK/de_DE.utf8/LC_TELEPHONE 968s /tmp/tmp.HLqZXdkMJK/de_DE.utf8/LC_MONETARY 968s /tmp/tmp.HLqZXdkMJK/de_DE.utf8/LC_PAPER 968s /tmp/tmp.HLqZXdkMJK/de_DE.utf8/LC_NUMERIC 968s /tmp/tmp.HLqZXdkMJK/pl_PL.iso88592 968s /tmp/tmp.HLqZXdkMJK/pl_PL.iso88592/LC_IDENTIFICATION 968s /tmp/tmp.HLqZXdkMJK/pl_PL.iso88592/LC_CTYPE 968s /tmp/tmp.HLqZXdkMJK/pl_PL.iso88592/LC_COLLATE 968s /tmp/tmp.HLqZXdkMJK/pl_PL.iso88592/LC_MEASUREMENT 968s /tmp/tmp.HLqZXdkMJK/pl_PL.iso88592/LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/pl_PL.iso88592/LC_ADDRESS 968s /tmp/tmp.HLqZXdkMJK/pl_PL.iso88592/LC_NAME 968s /tmp/tmp.HLqZXdkMJK/pl_PL.iso88592/LC_TIME 968s /tmp/tmp.HLqZXdkMJK/pl_PL.iso88592/LC_TELEPHONE 968s /tmp/tmp.HLqZXdkMJK/pl_PL.iso88592/LC_MONETARY 968s /tmp/tmp.HLqZXdkMJK/pl_PL.iso88592/LC_PAPER 968s /tmp/tmp.HLqZXdkMJK/pl_PL.iso88592/LC_NUMERIC 968s /tmp/tmp.HLqZXdkMJK/sv_SE 968s /tmp/tmp.HLqZXdkMJK/sv_SE/LC_IDENTIFICATION 968s /tmp/tmp.HLqZXdkMJK/sv_SE/LC_CTYPE 968s /tmp/tmp.HLqZXdkMJK/sv_SE/LC_COLLATE 968s /tmp/tmp.HLqZXdkMJK/sv_SE/LC_MEASUREMENT 968s /tmp/tmp.HLqZXdkMJK/sv_SE/LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/sv_SE/LC_ADDRESS 968s /tmp/tmp.HLqZXdkMJK/sv_SE/LC_NAME 968s /tmp/tmp.HLqZXdkMJK/sv_SE/LC_TIME 968s /tmp/tmp.HLqZXdkMJK/sv_SE/LC_TELEPHONE 968s /tmp/tmp.HLqZXdkMJK/sv_SE/LC_MONETARY 968s /tmp/tmp.HLqZXdkMJK/sv_SE/LC_PAPER 968s /tmp/tmp.HLqZXdkMJK/sv_SE/LC_NUMERIC 968s /tmp/tmp.HLqZXdkMJK/en_US.utf8 968s /tmp/tmp.HLqZXdkMJK/en_US.utf8/LC_IDENTIFICATION 968s /tmp/tmp.HLqZXdkMJK/en_US.utf8/LC_CTYPE 968s /tmp/tmp.HLqZXdkMJK/en_US.utf8/LC_COLLATE 968s /tmp/tmp.HLqZXdkMJK/en_US.utf8/LC_MEASUREMENT 968s /tmp/tmp.HLqZXdkMJK/en_US.utf8/LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/en_US.utf8/LC_ADDRESS 968s /tmp/tmp.HLqZXdkMJK/en_US.utf8/LC_NAME 968s /tmp/tmp.HLqZXdkMJK/en_US.utf8/LC_TIME 968s /tmp/tmp.HLqZXdkMJK/en_US.utf8/LC_TELEPHONE 968s /tmp/tmp.HLqZXdkMJK/en_US.utf8/LC_MONETARY 968s /tmp/tmp.HLqZXdkMJK/en_US.utf8/LC_PAPER 968s /tmp/tmp.HLqZXdkMJK/en_US.utf8/LC_NUMERIC 968s /tmp/tmp.HLqZXdkMJK/fr_FR.utf8 968s /tmp/tmp.HLqZXdkMJK/fr_FR.utf8/LC_IDENTIFICATION 968s /tmp/tmp.HLqZXdkMJK/fr_FR.utf8/LC_CTYPE 968s /tmp/tmp.HLqZXdkMJK/fr_FR.utf8/LC_COLLATE 968s /tmp/tmp.HLqZXdkMJK/fr_FR.utf8/LC_MEASUREMENT 968s /tmp/tmp.HLqZXdkMJK/fr_FR.utf8/LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/fr_FR.utf8/LC_ADDRESS 968s /tmp/tmp.HLqZXdkMJK/fr_FR.utf8/LC_NAME 968s /tmp/tmp.HLqZXdkMJK/fr_FR.utf8/LC_TIME 968s /tmp/tmp.HLqZXdkMJK/fr_FR.utf8/LC_TELEPHONE 968s /tmp/tmp.HLqZXdkMJK/fr_FR.utf8/LC_MONETARY 968s /tmp/tmp.HLqZXdkMJK/fr_FR.utf8/LC_PAPER 968s /tmp/tmp.HLqZXdkMJK/fr_FR.utf8/LC_NUMERIC 968s /tmp/tmp.HLqZXdkMJK/pl_PL.utf8 968s /tmp/tmp.HLqZXdkMJK/pl_PL.utf8/LC_IDENTIFICATION 968s /tmp/tmp.HLqZXdkMJK/pl_PL.utf8/LC_CTYPE 968s /tmp/tmp.HLqZXdkMJK/pl_PL.utf8/LC_COLLATE 968s /tmp/tmp.HLqZXdkMJK/pl_PL.utf8/LC_MEASUREMENT 968s /tmp/tmp.HLqZXdkMJK/pl_PL.utf8/LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/pl_PL.utf8/LC_ADDRESS 968s /tmp/tmp.HLqZXdkMJK/pl_PL.utf8/LC_NAME 968s /tmp/tmp.HLqZXdkMJK/pl_PL.utf8/LC_TIME 968s /tmp/tmp.HLqZXdkMJK/pl_PL.utf8/LC_TELEPHONE 968s /tmp/tmp.HLqZXdkMJK/pl_PL.utf8/LC_MONETARY 968s /tmp/tmp.HLqZXdkMJK/pl_PL.utf8/LC_PAPER 968s /tmp/tmp.HLqZXdkMJK/pl_PL.utf8/LC_NUMERIC 968s /tmp/tmp.HLqZXdkMJK/en_GB.utf8 968s /tmp/tmp.HLqZXdkMJK/en_GB.utf8/LC_ID1..330 968s # Running test: glib/gdbus-export.test 968s ENTIFICATION 968s /tmp/tmp.HLqZXdkMJK/en_GB.utf8/LC_CTYPE 968s /tmp/tmp.HLqZXdkMJK/en_GB.utf8/LC_COLLATE 968s /tmp/tmp.HLqZXdkMJK/en_GB.utf8/LC_MEASUREMENT 968s /tmp/tmp.HLqZXdkMJK/en_GB.utf8/LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/en_GB.utf8/LC_ADDRESS 968s /tmp/tmp.HLqZXdkMJK/en_GB.utf8/LC_NAME 968s /tmp/tmp.HLqZXdkMJK/en_GB.utf8/LC_TIME 968s /tmp/tmp.HLqZXdkMJK/en_GB.utf8/LC_TELEPHONE 968s /tmp/tmp.HLqZXdkMJK/en_GB.utf8/LC_MONETARY 968s /tmp/tmp.HLqZXdkMJK/en_GB.utf8/LC_PAPER 968s /tmp/tmp.HLqZXdkMJK/en_GB.utf8/LC_NUMERIC 968s /tmp/tmp.HLqZXdkMJK/sr_RS 968s /tmp/tmp.HLqZXdkMJK/sr_RS/LC_IDENTIFICATION 968s /tmp/tmp.HLqZXdkMJK/sr_RS/LC_CTYPE 968s /tmp/tmp.HLqZXdkMJK/sr_RS/LC_COLLATE 968s /tmp/tmp.HLqZXdkMJK/sr_RS/LC_MEASUREMENT 968s /tmp/tmp.HLqZXdkMJK/sr_RS/LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/sr_RS/LC_ADDRESS 968s /tmp/tmp.HLqZXdkMJK/sr_RS/LC_NAME 968s /tmp/tmp.HLqZXdkMJK/sr_RS/LC_TIME 968s /tmp/tmp.HLqZXdkMJK/sr_RS/LC_TELEPHONE 968s /tmp/tmp.HLqZXdkMJK/sr_RS/LC_MONETARY 968s /tmp/tmp.HLqZXdkMJK/sr_RS/LC_PAPER 968s /tmp/tmp.HLqZXdkMJK/sr_RS/LC_NUMERIC 968s /tmp/tmp.HLqZXdkMJK/tt_RU 968s /tmp/tmp.HLqZXdkMJK/tt_RU/LC_IDENTIFICATION 968s /tmp/tmp.HLqZXdkMJK/tt_RU/LC_CTYPE 968s /tmp/tmp.HLqZXdkMJK/tt_RU/LC_COLLATE 968s /tmp/tmp.HLqZXdkMJK/tt_RU/LC_MEASUREMENT 968s /tmp/tmp.HLqZXdkMJK/tt_RU/LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/tt_RU/LC_ADDRESS 968s /tmp/tmp.HLqZXdkMJK/tt_RU/LC_NAME 968s /tmp/tmp.HLqZXdkMJK/tt_RU/LC_TIME 968s /tmp/tmp.HLqZXdkMJK/tt_RU/LC_TELEPHONE 968s /tmp/tmp.HLqZXdkMJK/tt_RU/LC_MONETARY 968s /tmp/tmp.HLqZXdkMJK/tt_RU/LC_PAPER 968s /tmp/tmp.HLqZXdkMJK/tt_RU/LC_NUMERIC 968s /tmp/tmp.HLqZXdkMJK/de_DE@euro.utf8 968s /tmp/tmp.HLqZXdkMJK/de_DE@euro.utf8/LC_IDENTIFICATION 968s /tmp/tmp.HLqZXdkMJK/de_DE@euro.utf8/LC_CTYPE 968s /tmp/tmp.HLqZXdkMJK/de_DE@euro.utf8/LC_COLLATE 968s /tmp/tmp.HLqZXdkMJK/de_DE@euro.utf8/LC_MEASUREMENT 968s /tmp/tmp.HLqZXdkMJK/de_DE@euro.utf8/LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/de_DE@euro.utf8/LC_ADDRESS 968s /tmp/tmp.HLqZXdkMJK/de_DE@euro.utf8/LC_NAME 968s /tmp/tmp.HLqZXdkMJK/de_DE@euro.utf8/LC_TIME 968s /tmp/tmp.HLqZXdkMJK/de_DE@euro.utf8/LC_TELEPHONE 968s /tmp/tmp.HLqZXdkMJK/de_DE@euro.utf8/LC_MONETARY 968s /tmp/tmp.HLqZXdkMJK/de_DE@euro.utf8/LC_PAPER 968s /tmp/tmp.HLqZXdkMJK/de_DE@euro.utf8/LC_NUMERIC 968s /tmp/tmp.HLqZXdkMJK/lt_LT.utf8 968s /tmp/tmp.HLqZXdkMJK/lt_LT.utf8/LC_IDENTIFICATION 968s /tmp/tmp.HLqZXdkMJK/lt_LT.utf8/LC_CTYPE 968s /tmp/tmp.HLqZXdkMJK/lt_LT.utf8/LC_COLLATE 968s /tmp/tmp.HLqZXdkMJK/lt_LT.utf8/LC_MEASUREMENT 968s /tmp/tmp.HLqZXdkMJK/lt_LT.utf8/LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/lt_LT.utf8/LC_ADDRESS 968s /tmp/tmp.HLqZXdkMJK/lt_LT.utf8/LC_NAME 968s /tmp/tmp.HLqZXdkMJK/lt_LT.utf8/LC_TIME 968s /tmp/tmp.HLqZXdkMJK/lt_LT.utf8/LC_TELEPHONE 968s /tmp/tmp.HLqZXdkMJK/lt_LT.utf8/LC_MONETARY 968s /tmp/tmp.HLqZXdkMJK/lt_LT.utf8/LC_PAPER 968s /tmp/tmp.HLqZXdkMJK/lt_LT.utf8/LC_NUMERIC 968s /tmp/tmp.HLqZXdkMJK/tr_TR.utf8 968s /tmp/tmp.HLqZXdkMJK/tr_TR.utf8/LC_IDENTIFICATION 968s /tmp/tmp.HLqZXdkMJK/tr_TR.utf8/LC_CTYPE 968s /tmp/tmp.HLqZXdkMJK/tr_TR.utf8/LC_COLLATE 968s /tmp/tmp.HLqZXdkMJK/tr_TR.utf8/LC_MEASUREMENT 968s /tmp/tmp.HLqZXdkMJK/tr_TR.utf8/LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/tr_TR.utf8/LC_ADDRESS 968s /tmp/tmp.HLqZXdkMJK/tr_TR.utf8/LC_NAME 968s /tmp/tmp.HLqZXdkMJK/tr_TR.utf8/LC_TIME 968s /tmp/tmp.HLqZXdkMJK/tr_TR.utf8/LC_TELEPHONE 968s /tmp/tmp.HLqZXdkMJK/tr_TR.utf8/LC_MONETARY 968s /tmp/tmp.HLqZXdkMJK/tr_TR.utf8/LC_PAPER 968s /tmp/tmp.HLqZXdkMJK/tr_TR.utf8/LC_NUMERIC 968s /tmp/tmp.HLqZXdkMJK/ja_JP.eucjp 968s /tmp/tmp.HLqZXdkMJK/ja_JP.eucjp/LC_IDENTIFICATION 968s /tmp/tmp.HLqZXdkMJK/ja_JP.eucjp/LC_CTYPE 968s /tmp/tmp.HLqZXdkMJK/ja_JP.eucjp/LC_COLLATE 968s /tmp/tmp.HLqZXdkMJK/ja_JP.eucjp/LC_MEASUREMENT 968s /tmp/tmp.HLqZXdkMJK/ja_JP.eucjp/LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/ja_JP.eucjp/LC_ADDRESS 968s /tmp/tmp.HLqZXdkMJK/ja_JP.eucjp/LC_NAME 968s /tmp/tmp.HLqZXdkMJK/ja_JP.eucjp/LC_TIME 968s /tmp/tmp.HLqZXdkMJK/ja_JP.eucjp/LC_TELEPHONE 968s /tmp/tmp.HLqZXdkMJK/ja_JP.eucjp/LC_MONETARY 968s /tmp/tmp.HLqZXdkMJK/ja_JP.eucjp/LC_PAPER 968s /tmp/tmp.HLqZXdkMJK/ja_JP.eucjp/LC_NUMERIC 968s /tmp/tmp.HLqZXdkMJK/pl_PL 968s /tmp/tmp.HLqZXdkMJK/pl_PL/LC_IDENTIFICATION 968s /tmp/tmp.HLqZXdkMJK/pl_PL/LC_CTYPE 968s /tmp/tmp.HLqZXdkMJK/pl_PL/LC_COLLATE 968s /tmp/tmp.HLqZXdkMJK/pl_PL/LC_MEASUREMENT 968s /tmp/tmp.HLqZXdkMJK/pl_PL/LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/pl_PL/LC_ADDRESS 968s /tmp/tmp.HLqZXdkMJK/pl_PL/LC_NAME 968s /tmp/tmp.HLqZXdkMJK/pl_PL/LC_TIME 968s /tmp/tmp.HLqZXdkMJK/pl_PL/LC_TELEPHONE 968s /tmp/tmp.HLqZXdkMJK/pl_PL/LC_MONETARY 968s /tmp/tmp.HLqZXdkMJK/pl_PL/LC_PAPER 968s /tmp/tmp.HLqZXdkMJK/pl_PL/LC_NUMERIC 968s /tmp/tmp.HLqZXdkMJK/hr_HR.utf8 968s /tmp/tmp.HLqZXdkMJK/hr_HR.utf8/LC_IDENTIFICATION 968s /tmp/tmp.HLqZXdkMJK/hr_HR.utf8/LC_CTYPE 968s /tmp/tmp.HLqZXdkMJK/hr_HR.utf8/LC_COLLATE 968s /tmp/tmp.HLqZXdkMJK/hr_HR.utf8/LC_MEASUREMENT 968s /tmp/tmp.HLqZXdkMJK/hr_HR.utf8/LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 968s /tmp/tmp.HLqZXdkMJK/hr_HR.utf8/LC_ADDRESS 968s /tmp/tmp.HLqZXdkMJK/hr_HR.utf8/LC_NAME 968s /tmp/tmp.HLqZXdkMJK/hr_HR.utf8/LC_TIME 968s /tmp/tmp.HLqZXdkMJK/hr_HR.utf8/LC_TELEPHONE 968s /tmp/tmp.HLqZXdkMJK/hr_HR.utf8/LC_MONETARY 968s /tmp/tmp.HLqZXdkMJK/hr_HR.utf8/LC_PAPER 968s /tmp/tmp.HLqZXdkMJK/hr_HR.utf8/LC_NUMERIC 968s TAP version 14 968s # random seed: R02S0c793c09150860e213acfea8e093a638 968s 1..7 968s # Start of gdbus tests 968s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_CEH8B3/gdbus/object-registration/.dirs/home 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_CEH8B3/gdbus/object-registration/.dirs/cache 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_CEH8B3/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_CEH8B3/gdbus/object-registration/.dirs/system-config2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_CEH8B3/gdbus/object-registration/.dirs/config 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_CEH8B3/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_CEH8B3/gdbus/object-registration/.dirs/system-data2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_CEH8B3/gdbus/object-registration/.dirs/data 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_CEH8B3/gdbus/object-registration/.dirs/state 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_CEH8B3/gdbus/object-registration/.dirs/runtime 968s ok 1 /gdbus/object-registration 968s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_CEH8B3/gdbus/object-registration-with-closures/.dirs/home 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_CEH8B3/gdbus/object-registration-with-closures/.dirs/cache 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_CEH8B3/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_CEH8B3/gdbus/object-registration-with-closures/.dirs/system-config2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_CEH8B3/gdbus/object-registration-with-closures/.dirs/config 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_CEH8B3/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_CEH8B3/gdbus/object-registration-with-closures/.dirs/system-data2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_CEH8B3/gdbus/object-registration-with-closures/.dirs/data 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_CEH8B3/gdbus/object-registration-with-closures/.dirs/state 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_CEH8B3/gdbus/object-registration-with-closures/.dirs/runtime 968s ok 2 /gdbus/object-registration-with-closures 968s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_CEH8B3/gdbus/object-registration-with-closures2/.dirs/home 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_CEH8B3/gdbus/object-registration-with-closures2/.dirs/cache 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_CEH8B3/gdbus/object-registration-with-closures2/.dirs/system-config1:/tmp/test_gdbus-export_CEH8B3/gdbus/object-registration-with-closures2/.dirs/system-config2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_CEH8B3/gdbus/object-registration-with-closures2/.dirs/config 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_CEH8B3/gdbus/object-registration-with-closures2/.dirs/system-data1:/tmp/test_gdbus-export_CEH8B3/gdbus/object-registration-with-closures2/.dirs/system-data2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_CEH8B3/gdbus/object-registration-with-closures2/.dirs/data 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_CEH8B3/gdbus/object-registration-with-closures2/.dirs/state 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_CEH8B3/gdbus/object-registration-with-closures2/.dirs/runtime 968s ok 3 /gdbus/object-registration-with-closures2 968s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_CEH8B3/gdbus/registered-interfaces/.dirs/home 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_CEH8B3/gdbus/registered-interfaces/.dirs/cache 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_CEH8B3/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_CEH8B3/gdbus/registered-interfaces/.dirs/system-config2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_CEH8B3/gdbus/registered-interfaces/.dirs/config 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_CEH8B3/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_CEH8B3/gdbus/registered-interfaces/.dirs/system-data2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_CEH8B3/gdbus/registered-interfaces/.dirs/data 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_CEH8B3/gdbus/registered-interfaces/.dirs/state 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_CEH8B3/gdbus/registered-interfaces/.dirs/runtime 968s ok 4 /gdbus/registered-interfaces 968s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_CEH8B3/gdbus/async-properties/.dirs/home 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_CEH8B3/gdbus/async-properties/.dirs/cache 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_CEH8B3/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_CEH8B3/gdbus/async-properties/.dirs/system-config2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_CEH8B3/gdbus/async-properties/.dirs/config 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_CEH8B3/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_CEH8B3/gdbus/async-properties/.dirs/system-data2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_CEH8B3/gdbus/async-properties/.dirs/data 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_CEH8B3/gdbus/async-properties/.dirs/state 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_CEH8B3/gdbus/async-properties/.dirs/runtime 968s ok 5 /gdbus/async-properties 968s # Start of threaded-unregistration tests 968s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_CEH8B3/gdbus/threaded-unregistration/object/.dirs/home 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_CEH8B3/gdbus/threaded-unregistration/object/.dirs/cache 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_CEH8B3/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_CEH8B3/gdbus/threaded-unregistration/object/.dirs/system-config2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_CEH8B3/gdbus/threaded-unregistration/object/.dirs/config 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_CEH8B3/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_CEH8B3/gdbus/threaded-unregistration/object/.dirs/system-data2 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_CEH8B3/gdbus/threaded-unregistration/object/.dirs/data 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_CEH8B3/gdbus/threaded-unregistration/object/.dirs/state 968s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_CEH8B3/gdbus/threaded-unregistration/object/.dirs/runtime 968s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 968s # /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 970s ok 6 /gdbus/threaded-unregistration/object 970s # slow test /gdbus/threaded-unregistration/object executed in 1.25 secs 970s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_CEH8B3/gdbus/threaded-unregistration/subtree/.dirs/home 970s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_CEH8B3/gdbus/threaded-unregistration/subtree/.dirs/cache 970s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_CEH8B3/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_CEH8B3/gdbus/threaded-unregistration/subtree/.dirs/system-config2 970s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_CEH8B3/gdbus/threaded-unregistration/subtree/.dirs/config 970s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_CEH8B3/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_CEH8B3/gdbus/threaded-unregistration/subtree/.dirs/system-data2 970s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_CEH8B3/gdbus/threaded-unregistration/subtree/.dirs/data 970s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_CEH8B3/gdbus/threaded-unregistration/subtree/.dirs/state 970s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_CEH8B3/gdbus/threaded-unregistration/subtree/.dirs/runtime 970s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 970s # /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 971s ok 7 /gdbus/threaded-unregistration/subtree 971s # slow test /gdbus/threaded-unregistration/subtree executed in 1.41 secs 971s # End of threaded-unregistration tests 971s # End of gdbus tests 971s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 971s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 971s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 971s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 971s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 971s ok - glib/gdbus-export.test 971s # Running test: glib/gdbus-auth.test 971s TAP version 14 971s # random seed: R02Sb647af0c2f0f6fabba8d9f5db93d25fb 971s 1..5 971s # Start of gdbus tests 971s # Start of auth tests 971s # Start of client tests 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_9241B3/gdbus/auth/client/EXTERNAL/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_9241B3/gdbus/auth/client/EXTERNAL/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_9241B3/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_9241B3/gdbus/auth/client/EXTERNAL/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_9241B3/gdbus/auth/client/EXTERNAL/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_9241B3/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_9241B3/gdbus/auth/client/EXTERNAL/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_9241B3/gdbus/auth/client/EXTERNAL/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_9241B3/gdbus/auth/client/EXTERNAL/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_9241B3/gdbus/auth/client/EXTERNAL/.dirs/runtime 971s ok 1 /gdbus/auth/client/EXTERNAL 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_9241B3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_9241B3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_9241B3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_9241B3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_9241B3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_9241B3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_9241B3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_9241B3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_9241B3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_9241B3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 971s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 971s # End of client tests 971s # Start of server tests 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_9241B3/gdbus/auth/server/ANONYMOUS/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_9241B3/gdbus/auth/server/ANONYMOUS/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_9241B3/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_9241B3/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_9241B3/gdbus/auth/server/ANONYMOUS/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_9241B3/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_9241B3/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_9241B3/gdbus/auth/server/ANONYMOUS/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_9241B3/gdbus/auth/server/ANONYMOUS/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_9241B3/gdbus/auth/server/ANONYMOUS/.dirs/runtime 971s ok 3 /gdbus/auth/server/ANONYMOUS 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_9241B3/gdbus/auth/server/EXTERNAL/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_9241B3/gdbus/auth/server/EXTERNAL/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_9241B3/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_9241B3/gdbus/auth/server/EXTERNAL/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_9241B3/gdbus/auth/server/EXTERNAL/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_9241B3/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_9241B3/gdbus/auth/server/EXTERNAL/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_9241B3/gdbus/auth/server/EXTERNAL/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_9241B3/gdbus/auth/server/EXTERNAL/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_9241B3/gdbus/auth/server/EXTERNAL/.dirs/runtime 971s ok 4 /gdbus/auth/server/EXTERNAL 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_9241B3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_9241B3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_9241B3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_9241B3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_9241B3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_9241B3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_9241B3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_9241B3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_9241B3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_9241B3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 971s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 971s # End of server tests 971s # End of auth tests 971s # End of gdbus tests 971s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 971s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 971s TAP version 14 971s # random seed: R02Sc91e8ba9d709ec6f7c7a6af0bccb3370 971s 1..14 971s # Start of slist tests 971s ok 1 /slist/sort 971s ok 2 /slist/sort-with-data 971s ok 3 /slist/insert-sorted 971s ok 4 /slist/insert-sorted-with-data 971s ok 5 /slist/reverse 971s ok 6 /slist/nth 971s ok 7 /slist/remove 971s ok 8 /slist/remove-all 971s ok 9 /slist/insert 971s ok 10 /slist/position 971s ok 11 /slist/concat 971s ok 12 /slist/copy 971s # Start of sort tests 971s ok 13 /slist/sort/stable 971s # End of sort tests 971s # Start of copy tests 971s ok 14 /slist/copy/deep 971s # End of copy tests 971s # End of slist tests 971s ok - glib/gdbus-auth.test 971s # Running test: glib/slist.test 971s ok - glib/slist.test 971s # Running test: glib/gdbus-addresses.test 971s TAP version 14 971s # random seed: R02S8e7db56b472d10e69800f5466667cc8c 971s 1..9 971s # Start of gdbus tests 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/empty-address/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/empty-address/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_3ZK4B3/gdbus/empty-address/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/empty-address/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_3ZK4B3/gdbus/empty-address/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/empty-address/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/empty-address/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/empty-address/.dirs/runtime 971s ok 1 /gdbus/empty-address 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/unsupported-address/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/unsupported-address/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_3ZK4B3/gdbus/unsupported-address/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/unsupported-address/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_3ZK4B3/gdbus/unsupported-address/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/unsupported-address/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/unsupported-address/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/unsupported-address/.dirs/runtime 971s ok 2 /gdbus/unsupported-address 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/address-parsing/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/address-parsing/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_3ZK4B3/gdbus/address-parsing/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/address-parsing/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_3ZK4B3/gdbus/address-parsing/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/address-parsing/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/address-parsing/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/address-parsing/.dirs/runtime 971s ok 3 /gdbus/address-parsing 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/unix-address/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/unix-address/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_3ZK4B3/gdbus/unix-address/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/unix-address/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_3ZK4B3/gdbus/unix-address/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/unix-address/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/unix-address/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/unix-address/.dirs/runtime 971s ok 4 /gdbus/unix-address 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/nonce-tcp-address/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/nonce-tcp-address/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_3ZK4B3/gdbus/nonce-tcp-address/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/nonce-tcp-address/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_3ZK4B3/gdbus/nonce-tcp-address/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/nonce-tcp-address/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/nonce-tcp-address/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/nonce-tcp-address/.dirs/runtime 971s ok 5 /gdbus/nonce-tcp-address 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/tcp-address/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/tcp-address/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_3ZK4B3/gdbus/tcp-address/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/tcp-address/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_3ZK4B3/gdbus/tcp-address/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/tcp-address/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/tcp-address/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/tcp-address/.dirs/runtime 971s ok 6 /gdbus/tcp-address 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/autolaunch-address/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/autolaunch-address/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_3ZK4B3/gdbus/autolaunch-address/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/autolaunch-address/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_3ZK4B3/gdbus/autolaunch-address/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/autolaunch-address/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/autolaunch-address/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/autolaunch-address/.dirs/runtime 971s ok 7 /gdbus/autolaunch-address 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/mixed-address/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/mixed-address/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_3ZK4B3/gdbus/mixed-address/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/mixed-address/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_3ZK4B3/gdbus/mixed-address/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/mixed-address/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/mixed-address/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/mixed-address/.dirs/runtime 971s ok 8 /gdbus/mixed-address 971s ok - glib/gdbus-addresses.test 971s # Running test: glib/object.test 971s ok - glib/object.test 971s # Running test: glib/sleepy-stream.test 971s ok - glib/sleepy-stream.test 971s # Running test: glib/deprecated-properties.test 971s ok - glib/deprecated-properties.test 971s # Running test: glib/closure.test 971s ok - glib/closure.test 971s # Running test: glib/hmac.test 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/escape-address/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/escape-address/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_3ZK4B3/gdbus/escape-address/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/escape-address/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_3ZK4B3/gdbus/escape-address/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/escape-address/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/escape-address/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_3ZK4B3/gdbus/escape-address/.dirs/runtime 971s ok 9 /gdbus/escape-address 971s # End of gdbus tests 971s TAP version 14 971s # random seed: R02S53fccef4854b6afec3f65afc10eb29fc 971s 1..2 971s # Start of object tests 971s # Start of constructor tests 971s ok 1 /object/constructor/singleton 971s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 971s # End of constructor tests 971s # End of object tests 971s TAP version 14 971s # random seed: R02Sa9225ebce4ca4d225d2244153ac6cf37 971s 1..2 971s # Start of filter-stream tests 971s ok 1 /filter-stream/input 971s ok 2 /filter-stream/async 971s # End of filter-stream tests 971s TAP version 14 971s # random seed: R02S43d861bf066ef21493870a97badeb2cf 971s 1..3 971s # Start of deprecated-properties tests 971s ok 1 /deprecated-properties/construct 971s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 971s ok 2 /deprecated-properties/default-construct 971s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 971s ok 3 /deprecated-properties/set 971s # End of deprecated-properties tests 971s TAP version 14 971s # random seed: R02S3a549558e16ae9f5d71f557fe90050ad 971s 1..6 971s # Start of closure tests 971s ok 1 /closure/idle 971s ok 2 /closure/timeout 971s ok 3 /closure/iochannel 971s ok 4 /closure/child 971s ok 5 /closure/fd 971s ok 6 /closure/signal 971s # End of closure tests 971s TAP version 14 971s # random seed: R02Sbbfb5ff72b21fa77709e978f40116367 971s 1..37 971s # Start of hmac tests 971s ok 1 /hmac/sha1-1 971s ok 2 /hmac/sha1-2 971s ok 3 /hmac/sha1-3 971s ok 4 /hmac/sha1-4 971s ok 5 /hmac/sha1-5 971s ok 6 /hmac/sha1-6 971s ok 7 /hmac/sha1-7 971s ok 8 /hmac/sha256-1 971s ok 9 /hmac/sha256-2 971s ok 10 /hmac/sha256-3 971s ok 11 /hmac/sha256-4 971s ok 12 /hmac/sha256-5 971s ok 13 /hmac/sha256-6 971s ok 14 /hmac/sha384-1 971s ok 15 /hmac/sha384-2 971s ok 16 /hmac/sha384-3 971s ok 17 /hmac/sha384-4 971s ok 18 /hmac/sha384-5 971s ok 19 /hmac/sha384-6 971s ok 20 /hmac/sha512-1 971s ok 21 /hmac/sha512-2 971s ok 22 /hmac/sha512-3 971s ok 23 /hmac/sha512-4 971s ok 24 /hmac/sha512-5 971s ok 25 /hmac/sha512-6 971s ok 26 /hmac/md5-1 971s ok 27 /hmac/md5-2 971s ok - glib/hmac.test 971s # Running test: glib/list.test 971s ok - glib/list.test 971s # Running test: glib/error.test 971s ok 28 /hmac/md5-3 971s ok 29 /hmac/md5-4 971s ok 30 /hmac/md5-5 971s ok 31 /hmac/md5-6 971s ok 32 /hmac/md5-7 971s ok 33 /hmac/ref-unref 971s ok 34 /hmac/copy 971s ok 35 /hmac/for-data 971s ok 36 /hmac/for-string 971s ok 37 /hmac/for-bytes 971s # End of hmac tests 971s TAP version 14 971s # random seed: R02S31eb8fb5d3a0d9e7f1137809bfb12efe 971s 1..20 971s # Start of list tests 971s ok 1 /list/sort 971s ok 2 /list/sort-with-data 971s ok 3 /list/insert-before-link 971s ok 4 /list/insert-sorted 971s ok 5 /list/insert-sorted-with-data 971s ok 6 /list/reverse 971s ok 7 /list/nth 971s ok 8 /list/concat 971s ok 9 /list/remove 971s ok 10 /list/remove-all 971s ok 11 /list/first-last 971s ok 12 /list/insert 971s ok 13 /list/free-full 971s ok 14 /list/copy 971s ok 15 /list/copy-deep 971s ok 16 /list/delete-link 971s ok 17 /list/prepend 971s ok 18 /list/position 971s ok 19 /list/double-free 971s # Start of sort tests 971s ok 20 /list/sort/stable 971s # End of sort tests 971s # End of list tests 971s TAP version 14 971s # random seed: R02S40887165d47fd143af768706a8a424db 971s 1..3 971s # Start of error tests 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_SIN3B3/error/from-errno/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_SIN3B3/error/from-errno/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_SIN3B3/error/from-errno/.dirs/system-config1:/tmp/test_error_SIN3B3/error/from-errno/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_SIN3B3/error/from-errno/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_SIN3B3/error/from-errno/.dirs/system-data1:/tmp/test_error_SIN3B3/error/from-errno/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_SIN3B3/error/from-errno/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_SIN3B3/error/from-errno/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_SIN3B3/error/from-errno/.dirs/runtime 971s ok 1 /error/from-errno 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_SIN3B3/error/from-file-error/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_SIN3B3/error/from-file-error/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_SIN3B3/error/from-file-error/.dirs/system-config1:/tmp/test_error_SIN3B3/error/from-file-error/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_SIN3B3/error/from-file-error/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_SIN3B3/error/from-file-error/.dirs/system-data1:/tmp/test_error_SIN3B3/error/from-file-error/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_SIN3B3/error/from-file-error/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_SIN3B3/error/from-file-error/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_SIN3B3/error/from-file-error/.dirs/runtime 971s ok 2 /error/from-file-error 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_SIN3B3/error/from-win32-error/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_SIN3B3/error/from-win32-error/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_SIN3B3/error/from-win32-error/.dirs/system-config1:/tmp/test_error_SIN3B3/error/from-win32-error/.dirs/system-config2 971s ok - glib/error.test 971s # Running test: glib/file.test 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_SIN3B3/error/from-win32-error/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_SIN3B3/error/from-win32-error/.dirs/system-data1:/tmp/test_error_SIN3B3/error/from-win32-error/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_SIN3B3/error/from-win32-error/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_SIN3B3/error/from-win32-error/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_SIN3B3/error/from-win32-error/.dirs/runtime 971s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 971s # End of error tests 971s TAP version 14 971s # random seed: R02S22b288484f3b65168f43265107b3ffe8 971s 1..55 971s # Start of file tests 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/basic/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/basic/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/basic/.dirs/system-config1:/tmp/test_file_NZH3B3/file/basic/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/basic/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/basic/.dirs/system-data1:/tmp/test_file_NZH3B3/file/basic/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/basic/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/basic/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/basic/.dirs/runtime 971s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 971s ok 1 /file/basic 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/build-filename/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/build-filename/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/build-filename/.dirs/system-config1:/tmp/test_file_NZH3B3/file/build-filename/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/build-filename/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/build-filename/.dirs/system-data1:/tmp/test_file_NZH3B3/file/build-filename/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/build-filename/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/build-filename/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/build-filename/.dirs/runtime 971s ok 2 /file/build-filename 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/build-filenamev/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/build-filenamev/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/build-filenamev/.dirs/system-config1:/tmp/test_file_NZH3B3/file/build-filenamev/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/build-filenamev/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/build-filenamev/.dirs/system-data1:/tmp/test_file_NZH3B3/file/build-filenamev/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/build-filenamev/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/build-filenamev/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/build-filenamev/.dirs/runtime 971s ok 3 /file/build-filenamev 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/parent/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/parent/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/parent/.dirs/system-config1:/tmp/test_file_NZH3B3/file/parent/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/parent/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/parent/.dirs/system-data1:/tmp/test_file_NZH3B3/file/parent/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/parent/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/parent/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/parent/.dirs/runtime 971s ok 4 /file/parent 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/child/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/child/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/child/.dirs/system-config1:/tmp/test_file_NZH3B3/file/child/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/child/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/child/.dirs/system-data1:/tmp/test_file_NZH3B3/file/child/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/child/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/child/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/child/.dirs/runtime 971s ok 5 /file/child 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/empty-path/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/empty-path/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/empty-path/.dirs/system-config1:/tmp/test_file_NZH3B3/file/empty-path/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/empty-path/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/empty-path/.dirs/system-data1:/tmp/test_file_NZH3B3/file/empty-path/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/empty-path/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/empty-path/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/empty-path/.dirs/runtime 971s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 971s # /file/empty-path summary: Check that creating a file with an empty path results in errors 971s ok 6 /file/empty-path 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/type/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/type/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/type/.dirs/system-config1:/tmp/test_file_NZH3B3/file/type/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/type/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/type/.dirs/system-data1:/tmp/test_file_NZH3B3/file/type/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/type/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/type/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/type/.dirs/runtime 971s ok 7 /file/type 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/parse-name/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/parse-name/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/parse-name/.dirs/system-config1:/tmp/test_file_NZH3B3/file/parse-name/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/parse-name/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/parse-name/.dirs/system-data1:/tmp/test_file_NZH3B3/file/parse-name/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/parse-name/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/parse-name/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/parse-name/.dirs/runtime 971s ok 8 /file/parse-name 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/replace-load/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/replace-load/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/replace-load/.dirs/system-config1:/tmp/test_file_NZH3B3/file/replace-load/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/replace-load/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/replace-load/.dirs/system-data1:/tmp/test_file_NZH3B3/file/replace-load/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/replace-load/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/replace-load/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/replace-load/.dirs/runtime 971s ok 9 /file/replace-load 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/replace-cancel/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/replace-cancel/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/replace-cancel/.dirs/system-config1:/tmp/test_file_NZH3B3/file/replace-cancel/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/replace-cancel/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/replace-cancel/.dirs/system-data1:/tmp/test_file_NZH3B3/file/replace-cancel/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/replace-cancel/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/replace-cancel/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/replace-cancel/.dirs/runtime 971s # Bug Reference: https://bugzilla.gnome.org/629301 971s ok 10 /file/replace-cancel 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/replace-symlink/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/replace-symlink/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/replace-symlink/.dirs/system-config1:/tmp/test_file_NZH3B3/file/replace-symlink/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/replace-symlink/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/replace-symlink/.dirs/system-data1:/tmp/test_file_NZH3B3/file/replace-symlink/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/replace-symlink/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/replace-symlink/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/replace-symlink/.dirs/runtime 971s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 971s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 971s # Using temporary directory /tmp/test_file_NZH3B3/g_file_replace_symlink_Z0O3B3 971s ok 11 /file/replace-symlink 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/async-new-tmp/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/async-new-tmp/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_NZH3B3/file/async-new-tmp/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/async-new-tmp/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_NZH3B3/file/async-new-tmp/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/async-new-tmp/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/async-new-tmp/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/async-new-tmp/.dirs/runtime 971s ok 12 /file/async-new-tmp 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/async-new-tmp-dir/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/async-new-tmp-dir/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_NZH3B3/file/async-new-tmp-dir/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/async-new-tmp-dir/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_NZH3B3/file/async-new-tmp-dir/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/async-new-tmp-dir/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/async-new-tmp-dir/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/async-new-tmp-dir/.dirs/runtime 971s ok 13 /file/async-new-tmp-dir 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/async-delete/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/async-delete/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/async-delete/.dirs/system-config1:/tmp/test_file_NZH3B3/file/async-delete/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/async-delete/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/async-delete/.dirs/system-data1:/tmp/test_file_NZH3B3/file/async-delete/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/async-delete/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/async-delete/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/async-delete/.dirs/runtime 971s ok 14 /file/async-delete 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/async-make-symlink/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/async-make-symlink/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_NZH3B3/file/async-make-symlink/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/async-make-symlink/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_NZH3B3/file/async-make-symlink/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/async-make-symlink/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/async-make-symlink/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/async-make-symlink/.dirs/runtime 971s ok 15 /file/async-make-symlink 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/copy-preserve-mode/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/copy-preserve-mode/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_NZH3B3/file/copy-preserve-mode/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/copy-preserve-mode/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_NZH3B3/file/copy-preserve-mode/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/copy-preserve-mode/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/copy-preserve-mode/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/copy-preserve-mode/.dirs/runtime 971s # Current umask: 2 971s # Vector 0 971s # Vector 1 971s # Vector 2 971s # Vector 3 971s # Vector 4 971s # Vector 5 971s # Vector 6 971s # Vector 7 971s # Vector 8 971s # Vector 9 971s # Vector 10 971s ok 16 /file/copy-preserve-mode 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/copy-async-with-closures/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/copy-async-with-closures/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_NZH3B3/file/copy-async-with-closures/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/copy-async-with-closures/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_NZH3B3/file/copy-async-with-closures/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/copy-async-with-closures/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/copy-async-with-closures/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/copy-async-with-closures/.dirs/runtime 971s ok 17 /file/copy-async-with-closures 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/measure/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/measure/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/measure/.dirs/system-config1:/tmp/test_file_NZH3B3/file/measure/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/measure/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/measure/.dirs/system-data1:/tmp/test_file_NZH3B3/file/measure/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/measure/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/measure/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/measure/.dirs/runtime 971s ok 18 /file/measure 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/measure-async/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/measure-async/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/measure-async/.dirs/system-config1:/tmp/test_file_NZH3B3/file/measure-async/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/measure-async/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/measure-async/.dirs/system-data1:/tmp/test_file_NZH3B3/file/measure-async/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/measure-async/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/measure-async/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/measure-async/.dirs/runtime 971s ok 19 /file/measure-async 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/load-bytes/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/load-bytes/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/load-bytes/.dirs/system-config1:/tmp/test_file_NZH3B3/file/load-bytes/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/load-bytes/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/load-bytes/.dirs/system-data1:/tmp/test_file_NZH3B3/file/load-bytes/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/load-bytes/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/load-bytes/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/load-bytes/.dirs/runtime 971s ok 20 /file/load-bytes 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/load-bytes-async/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/load-bytes-async/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_NZH3B3/file/load-bytes-async/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/load-bytes-async/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_NZH3B3/file/load-bytes-async/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/load-bytes-async/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/load-bytes-async/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/load-bytes-async/.dirs/runtime 971s ok 21 /file/load-bytes-async 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/load-bytes-4gb/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/load-bytes-4gb/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_NZH3B3/file/load-bytes-4gb/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/load-bytes-4gb/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_NZH3B3/file/load-bytes-4gb/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/load-bytes-4gb/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/load-bytes-4gb/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/load-bytes-4gb/.dirs/runtime 971s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/load-contents-4gb/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/load-contents-4gb/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_NZH3B3/file/load-contents-4gb/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/load-contents-4gb/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_NZH3B3/file/load-contents-4gb/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/load-contents-4gb/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/load-contents-4gb/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/load-contents-4gb/.dirs/runtime 971s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/load-contents-4gb-async/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/load-contents-4gb-async/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_NZH3B3/file/load-contents-4gb-async/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/load-contents-4gb-async/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_NZH3B3/file/load-contents-4gb-async/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/load-contents-4gb-async/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/load-contents-4gb-async/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/load-contents-4gb-async/.dirs/runtime 971s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/writev/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/writev/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/writev/.dirs/system-config1:/tmp/test_file_NZH3B3/file/writev/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/writev/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/writev/.dirs/system-data1:/tmp/test_file_NZH3B3/file/writev/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/writev/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/writev/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/writev/.dirs/runtime 971s ok 25 /file/writev 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/build-attribute-list-for-copy/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/build-attribute-list-for-copy/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_NZH3B3/file/build-attribute-list-for-copy/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/build-attribute-list-for-copy/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_NZH3B3/file/build-attribute-list-for-copy/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/build-attribute-list-for-copy/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/build-attribute-list-for-copy/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/build-attribute-list-for-copy/.dirs/runtime 971s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 971s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 971s # 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::* 971s # 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::* 971s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 971s # Attributes for copy: standard::size,xattr::* 971s # Attributes for copy: standard::size,unix::mode,xattr::* 971s ok 26 /file/build-attribute-list-for-copy 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/move_async/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/move_async/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/move_async/.dirs/system-config1:/tmp/test_file_NZH3B3/file/move_async/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/move_async/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/move_async/.dirs/system-data1:/tmp/test_file_NZH3B3/file/move_async/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/move_async/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/move_async/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/move_async/.dirs/runtime 971s ok 27 /file/move_async 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/move-async-with-closures/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/move-async-with-closures/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_NZH3B3/file/move-async-with-closures/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/move-async-with-closures/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_NZH3B3/file/move-async-with-closures/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/move-async-with-closures/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/move-async-with-closures/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/move-async-with-closures/.dirs/runtime 971s ok 28 /file/move-async-with-closures 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/query-zero-length-content-type/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/query-zero-length-content-type/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_NZH3B3/file/query-zero-length-content-type/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/query-zero-length-content-type/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_NZH3B3/file/query-zero-length-content-type/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/query-zero-length-content-type/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/query-zero-length-content-type/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/query-zero-length-content-type/.dirs/runtime 971s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 971s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 971s ok 29 /file/query-zero-length-content-type 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/query-default-handler-file/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/query-default-handler-file/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_NZH3B3/file/query-default-handler-file/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/query-default-handler-file/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_NZH3B3/file/query-default-handler-file/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/query-default-handler-file/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/query-default-handler-file/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/query-default-handler-file/.dirs/runtime 971s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_NZH3B3/file/query-default-handler-file/.dirs/data/applications 971s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_NZH3B3/file/query-default-handler-file/.dirs/config 971s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_NZH3B3/file/query-default-handler-file/.dirs/config 971s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_NZH3B3/file/query-default-handler-file/.dirs/config 971s ok 30 /file/query-default-handler-file 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/query-default-handler-file-async/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/query-default-handler-file-async/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_NZH3B3/file/query-default-handler-file-async/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/query-default-handler-file-async/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_NZH3B3/file/query-default-handler-file-async/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/query-default-handler-file-async/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/query-default-handler-file-async/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/query-default-handler-file-async/.dirs/runtime 971s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_NZH3B3/file/query-default-handler-file-async/.dirs/data/applications 971s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_NZH3B3/file/query-default-handler-file-async/.dirs/config 971s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_NZH3B3/file/query-default-handler-file/.dirs/config to /tmp/test_file_NZH3B3/file/query-default-handler-file-async/.dirs/config 971s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_NZH3B3/file/query-default-handler-file-async/.dirs/config 971s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_NZH3B3/file/query-default-handler-file-async/.dirs/config 971s ok 31 /file/query-default-handler-file-async 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/query-default-handler-uri/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/query-default-handler-uri/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_NZH3B3/file/query-default-handler-uri/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/query-default-handler-uri/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_NZH3B3/file/query-default-handler-uri/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/query-default-handler-uri/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/query-default-handler-uri/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/query-default-handler-uri/.dirs/runtime 971s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_NZH3B3/file/query-default-handler-uri/.dirs/data/applications 971s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_NZH3B3/file/query-default-handler-uri/.dirs/config 971s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_NZH3B3/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_NZH3B3/file/query-default-handler-uri/.dirs/config 971s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_NZH3B3/file/query-default-handler-uri/.dirs/config 971s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_NZH3B3/file/query-default-handler-uri/.dirs/config 971s ok 32 /file/query-default-handler-uri 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/query-default-handler-uri-async/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/query-default-handler-uri-async/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_NZH3B3/file/query-default-handler-uri-async/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/query-default-handler-uri-async/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_NZH3B3/file/query-default-handler-uri-async/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/query-default-handler-uri-async/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/query-default-handler-uri-async/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/query-default-handler-uri-async/.dirs/runtime 971s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_NZH3B3/file/query-default-handler-uri-async/.dirs/data/applications 971s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_NZH3B3/file/query-default-handler-uri-async/.dirs/config 971s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_NZH3B3/file/query-default-handler-uri/.dirs/config to /tmp/test_file_NZH3B3/file/query-default-handler-uri-async/.dirs/config 971s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_NZH3B3/file/query-default-handler-uri-async/.dirs/config 971s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_NZH3B3/file/query-default-handler-uri-async/.dirs/config 971s ok 33 /file/query-default-handler-uri-async 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/enumerator-cancellation/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/enumerator-cancellation/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_NZH3B3/file/enumerator-cancellation/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/enumerator-cancellation/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_NZH3B3/file/enumerator-cancellation/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/enumerator-cancellation/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/enumerator-cancellation/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/enumerator-cancellation/.dirs/runtime 971s ok 34 /file/enumerator-cancellation 971s # Start of async-create-delete tests 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/async-create-delete/0/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/async-create-delete/0/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_NZH3B3/file/async-create-delete/0/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/async-create-delete/0/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_NZH3B3/file/async-create-delete/0/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/async-create-delete/0/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/async-create-delete/0/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/async-create-delete/0/.dirs/runtime 971s ok 35 /file/async-create-delete/0 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/async-create-delete/1/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/async-create-delete/1/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_NZH3B3/file/async-create-delete/1/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/async-create-delete/1/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_NZH3B3/file/async-create-delete/1/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/async-create-delete/1/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/async-create-delete/1/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/async-create-delete/1/.dirs/runtime 971s ok 36 /file/async-create-delete/1 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/async-create-delete/10/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/async-create-delete/10/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_NZH3B3/file/async-create-delete/10/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/async-create-delete/10/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_NZH3B3/file/async-create-delete/10/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/async-create-delete/10/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/async-create-delete/10/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/async-create-delete/10/.dirs/runtime 971s ok 37 /file/async-create-delete/10 971s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/async-create-delete/25/.dirs/home 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/async-create-delete/25/.dirs/cache 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_NZH3B3/file/async-create-delete/25/.dirs/system-config2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/async-create-delete/25/.dirs/config 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_NZH3B3/file/async-create-delete/25/.dirs/system-data2 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/async-create-delete/25/.dirs/data 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/async-create-delete/25/.dirs/state 971s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/async-create-delete/25/.dirs/runtime 972s ok 38 /file/async-create-delete/25 972s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/async-create-delete/4096/.dirs/home 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/async-create-delete/4096/.dirs/cache 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_NZH3B3/file/async-create-delete/4096/.dirs/system-config2 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/async-create-delete/4096/.dirs/config 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_NZH3B3/file/async-create-delete/4096/.dirs/system-data2 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/async-create-delete/4096/.dirs/data 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/async-create-delete/4096/.dirs/state 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/async-create-delete/4096/.dirs/runtime 972s ok 39 /file/async-create-delete/4096 972s # End of async-create-delete tests 972s # Start of replace-symlink tests 972s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/replace-symlink/using-etag/.dirs/home 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/replace-symlink/using-etag/.dirs/cache 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_NZH3B3/file/replace-symlink/using-etag/.dirs/system-config2 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/replace-symlink/using-etag/.dirs/config 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_NZH3B3/file/replace-symlink/using-etag/.dirs/system-data2 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/replace-symlink/using-etag/.dirs/data 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/replace-symlink/using-etag/.dirs/state 972s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/replace-symlink/using-etag/.dirs/runtime 972s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 972s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 972s # Using temporary directory /tmp/test_file_NZH3B3/g_file_replace_symlink_using_etag_Y3NEC3 974s # Executing: glib/file.test 974s ok 40 /file/replace-symlink/using-etag 974s # slow test /file/replace-symlink/using-etag executed in 2.01 secs 974s # End of replace-symlink tests 974s # Start of replace tests 974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/replace/write-only/.dirs/home 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/replace/write-only/.dirs/cache 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/replace/write-only/.dirs/system-config1:/tmp/test_file_NZH3B3/file/replace/write-only/.dirs/system-config2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/replace/write-only/.dirs/config 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/replace/write-only/.dirs/system-data1:/tmp/test_file_NZH3B3/file/replace/write-only/.dirs/system-data2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/replace/write-only/.dirs/data 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/replace/write-only/.dirs/state 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/replace/write-only/.dirs/runtime 974s # /file/replace/write-only summary: Test various situations for g_file_replace() 974s # Current umask: 2 974s # Test 0, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_JYAEC3 974s # Test 1, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_LBBEC3 974s # Test 2, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_RV8DC3 974s # Test 3, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_0CSDC3 974s # Test 4, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_0MRDC3 974s # Test 5, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_AWSDC3 974s # Test 6, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_KQZDC3 974s # Test 7, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_MRVDC3 974s # Test 8, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_08GDC3 974s # Test 9, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_BOGDC3 974s # Test 10, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_E9DDC3 974s # Test 11, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_1VKDC3 974s # Test 12, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_B6KDC3 974s # Test 13, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_RSKDC3 974s # Test 14, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_QCWFC3 974s # Test 15, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_9E2FC3 974s # Test 16, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_R1ZFC3 974s # Test 17, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_42IFC3 974s # Test 18, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_0PHFC3 974s # Test 19, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_T9FFC3 974s # Test 20, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_8GGFC3 974s # Test 21, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_YZRFC3 974s # Test 22, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_FAPFC3 974s # Test 23, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_UGPFC3 974s # Test 24, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_L5PFC3 974s # Test 25, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_VROFC3 974s # Test 26, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_81OFC3 974s # Test 27, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_CPOFC3 974s # Test 28, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_5B8EC3 974s # Test 29, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_TP6EC3 974s # Test 30, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_OT6EC3 974s # Test 31, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_I85EC3 974s # Test 32, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_8A5EC3 974s # Test 33, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_VR5EC3 974s # Test 34, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_XG3EC3 974s # Test 35, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_YP3EC3 974s # Test 36, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_4U3EC3 974s # Test 37, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_2MFFC3 974s # Test 38, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_M6CFC3 974s # Test 39, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_FHDFC3 974s # Test 40, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_NX9EC3 974s # Test 41, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_9JAFC3 974s # Test 42, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_EJWEC3 974s # Test 43, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_YDUEC3 974s # Test 44, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_9ETEC3 974s # Test 45, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_PZSEC3 974s # Test 46, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_DSQEC3 974s # Test 47, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_NQREC3 974s # Test 48, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_J21EC3 974s # We do not have CAP_DAC_OVERRIDE or equivalent 974s ok 41 /file/replace/write-only 974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/replace/read-write/.dirs/home 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/replace/read-write/.dirs/cache 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/replace/read-write/.dirs/system-config1:/tmp/test_file_NZH3B3/file/replace/read-write/.dirs/system-config2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/replace/read-write/.dirs/config 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/replace/read-write/.dirs/system-data1:/tmp/test_file_NZH3B3/file/replace/read-write/.dirs/system-data2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/replace/read-write/.dirs/data 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/replace/read-write/.dirs/state 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/replace/read-write/.dirs/runtime 974s # /file/replace/read-write summary: Test various situations for g_file_replace() 974s # Current umask: 2 974s # Test 0, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_NI1EC3 974s # Test 1, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_AV1EC3 974s # Test 2, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_9B0EC3 974s # Test 3, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_QG1EC3 974s # Test 4, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_DX0EC3 974s # Test 5, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_AZ0EC3 974s # Test 6, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_MIZEC3 974s # Test 7, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_DIQBC3 974s # Test 8, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_QMOBC3 974s # Test 9, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_1ZNBC3 974s # Test 10, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_BQMBC3 974s # Test 11, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_D6MBC3 974s # Test 12, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_CGNBC3 974s # Test 13, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_M3KBC3 974s # Test 14, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_W9LBC3 974s # Test 15, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_K3UBC3 974s # Test 16, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_YLSBC3 974s # Test 17, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_6RTBC3 974s # Test 18, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_UESBC3 974s # Test 19, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_RJDBC3 974s # Test 20, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_19DBC3 974s # Test 21, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_WHCBC3 974s # Test 22, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_9I8AC3 974s # Test 23, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_RP8AC3 974s # Test 24, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_1I9AC3 974s # Test 25, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_IGJBC3 974s # Test 26, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_THKBC3 974s # Test 27, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_WJKBC3 974s # Test 28, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_VPHBC3 974s # Test 29, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_LEIBC3 974s # Test 30, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_6IGBC3 974s # Test 31, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_5OGBC3 974s # Test 32, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_BKFBC3 974s # Test 33, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_SJ1AC3 974s # Test 34, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_YM1AC3 974s # Test 35, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_Z10AC3 974s # Test 36, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_5UYAC3 974s # Test 37, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_MSWAC3 974s # Test 38, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_L41AC3 974s # Test 39, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_NZNAC3 974s # Test 40, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_92MAC3 974s # Test 41, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_RNKAC3 974s # Test 42, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_CCJAC3 974s # Test 43, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_G6JAC3 974s # Test 44, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_ATTAC3 974s # Test 45, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_X7SAC3 974s # Test 46, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_O73CC3 974s # Test 47, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_NF4CC3 974s # Test 48, using temporary directory /tmp/test_file_NZH3B3/g_file_replace_NK1CC3 974s # We do not have CAP_DAC_OVERRIDE or equivalent 974s ok 42 /file/replace/read-write 974s # End of replace tests 974s # Start of copy tests 974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/copy/progress/.dirs/home 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/copy/progress/.dirs/cache 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/copy/progress/.dirs/system-config1:/tmp/test_file_NZH3B3/file/copy/progress/.dirs/system-config2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/copy/progress/.dirs/config 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/copy/progress/.dirs/system-data1:/tmp/test_file_NZH3B3/file/copy/progress/.dirs/system-data2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/copy/progress/.dirs/data 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/copy/progress/.dirs/state 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/copy/progress/.dirs/runtime 974s ok 43 /file/copy/progress 974s # End of copy tests 974s # Start of writev tests 974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/writev/no-bytes-written/.dirs/home 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/writev/no-bytes-written/.dirs/cache 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_NZH3B3/file/writev/no-bytes-written/.dirs/system-config2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/writev/no-bytes-written/.dirs/config 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_NZH3B3/file/writev/no-bytes-written/.dirs/system-data2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/writev/no-bytes-written/.dirs/data 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/writev/no-bytes-written/.dirs/state 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/writev/no-bytes-written/.dirs/runtime 974s ok 44 /file/writev/no-bytes-written 974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/writev/no-vectors/.dirs/home 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/writev/no-vectors/.dirs/cache 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_NZH3B3/file/writev/no-vectors/.dirs/system-config2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/writev/no-vectors/.dirs/config 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_NZH3B3/file/writev/no-vectors/.dirs/system-data2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/writev/no-vectors/.dirs/data 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/writev/no-vectors/.dirs/state 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/writev/no-vectors/.dirs/runtime 974s ok 45 /file/writev/no-vectors 974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/writev/empty-vectors/.dirs/home 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/writev/empty-vectors/.dirs/cache 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_NZH3B3/file/writev/empty-vectors/.dirs/system-config2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/writev/empty-vectors/.dirs/config 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_NZH3B3/file/writev/empty-vectors/.dirs/system-data2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/writev/empty-vectors/.dirs/data 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/writev/empty-vectors/.dirs/state 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/writev/empty-vectors/.dirs/runtime 974s ok 46 /file/writev/empty-vectors 974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/writev/too-big-vectors/.dirs/home 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/writev/too-big-vectors/.dirs/cache 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_NZH3B3/file/writev/too-big-vectors/.dirs/system-config2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/writev/too-big-vectors/.dirs/config 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_NZH3B3/file/writev/too-big-vectors/.dirs/system-data2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/writev/too-big-vectors/.dirs/data 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/writev/too-big-vectors/.dirs/state 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/writev/too-big-vectors/.dirs/runtime 974s ok 47 /file/writev/too-big-vectors 974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/writev/async/.dirs/home 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/writev/async/.dirs/cache 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/writev/async/.dirs/system-config1:/tmp/test_file_NZH3B3/file/writev/async/.dirs/system-config2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/writev/async/.dirs/config 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/writev/async/.dirs/system-data1:/tmp/test_file_NZH3B3/file/writev/async/.dirs/system-data2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/writev/async/.dirs/data 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/writev/async/.dirs/state 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/writev/async/.dirs/runtime 974s ok 48 /file/writev/async 974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/writev/async_all/.dirs/home 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/writev/async_all/.dirs/cache 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/writev/async_all/.dirs/system-config1:/tmp/test_file_NZH3B3/file/writev/async_all/.dirs/system-config2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/writev/async_all/.dirs/config 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/writev/async_all/.dirs/system-data1:/tmp/test_file_NZH3B3/file/writev/async_all/.dirs/system-data2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/writev/async_all/.dirs/data 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/writev/async_all/.dirs/state 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/writev/async_all/.dirs/runtime 974s ok 49 /file/writev/async_all 974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/writev/async_all-empty-vectors/.dirs/home 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/writev/async_all-empty-vectors/.dirs/cache 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_NZH3B3/file/writev/async_all-empty-vectors/.dirs/system-config2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/writev/async_all-empty-vectors/.dirs/config 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_NZH3B3/file/writev/async_all-empty-vectors/.dirs/system-data2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/writev/async_all-empty-vectors/.dirs/data 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/writev/async_all-empty-vectors/.dirs/state 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/writev/async_all-empty-vectors/.dirs/runtime 974s ok 50 /file/writev/async_all-empty-vectors 974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/writev/async_all-no-vectors/.dirs/home 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/writev/async_all-no-vectors/.dirs/cache 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_NZH3B3/file/writev/async_all-no-vectors/.dirs/system-config2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/writev/async_all-no-vectors/.dirs/config 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_NZH3B3/file/writev/async_all-no-vectors/.dirs/system-data2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/writev/async_all-no-vectors/.dirs/data 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/writev/async_all-no-vectors/.dirs/state 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/writev/async_all-no-vectors/.dirs/runtime 974s ok 51 /file/writev/async_all-no-vectors 974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/writev/async_all-to-big-vectors/.dirs/home 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/writev/async_all-to-big-vectors/.dirs/cache 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_NZH3B3/file/writev/async_all-to-big-vectors/.dirs/system-config2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/writev/async_all-to-big-vectors/.dirs/config 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_NZH3B3/file/writev/async_all-to-big-vectors/.dirs/system-data2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/writev/async_all-to-big-vectors/.dirs/data 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/writev/async_all-to-big-vectors/.dirs/state 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/writev/async_all-to-big-vectors/.dirs/runtime 974s ok 52 /file/writev/async_all-to-big-vectors 974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/writev/async_all-cancellation/.dirs/home 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/writev/async_all-cancellation/.dirs/cache 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_NZH3B3/file/writev/async_all-cancellation/.dirs/system-config2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/writev/async_all-cancellation/.dirs/config 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_NZH3B3/file/writev/async_all-cancellation/.dirs/system-data2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/writev/async_all-cancellation/.dirs/data 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/writev/async_all-cancellation/.dirs/state 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/writev/async_all-cancellation/.dirs/runtime 974s ok 53 /file/writev/async_all-cancellation 974s # End of writev tests 974s # Start of from-uri tests 974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/from-uri/ignores-query-string/.dirs/home 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/from-uri/ignores-query-string/.dirs/cache 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_NZH3B3/file/from-uri/ignores-query-string/.dirs/system-config2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/from-uri/ignores-query-string/.dirs/config 974s ok - glib/file.test 974s # Running test: glib/objects-refcount1.test 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_NZH3B3/file/from-uri/ignores-query-string/.dirs/system-data2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/from-uri/ignores-query-string/.dirs/data 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/from-uri/ignores-query-string/.dirs/state 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/from-uri/ignores-query-string/.dirs/runtime 974s ok 54 /file/from-uri/ignores-query-string 974s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_NZH3B3/file/from-uri/ignores-fragment/.dirs/home 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_NZH3B3/file/from-uri/ignores-fragment/.dirs/cache 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_NZH3B3/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_NZH3B3/file/from-uri/ignores-fragment/.dirs/system-config2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_NZH3B3/file/from-uri/ignores-fragment/.dirs/config 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_NZH3B3/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_NZH3B3/file/from-uri/ignores-fragment/.dirs/system-data2 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_NZH3B3/file/from-uri/ignores-fragment/.dirs/data 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_NZH3B3/file/from-uri/ignores-fragment/.dirs/state 974s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_NZH3B3/file/from-uri/ignores-fragment/.dirs/runtime 974s ok 55 /file/from-uri/ignores-fragment 974s # End of from-uri tests 974s # End of file tests 974s TAP version 14 974s # random seed: R02S499402c0214e4110144efb5e0ba33a99 974s 1..1 974s # Start of gobject tests 974s # Start of refcount tests 974s # init 0x109ab98dd80 974s # 974s # init 0x109ab98de90 974s # 979s # Executing: glib/objects-refcount1.test 979s ok - glib/objects-refcount1.test 979s # dispose 0x109ab98dd80! 979s # 979s # dispose 0x109ab98de90! 979s # 979s ok 1 /gobject/refcount/object-basics 979s # slow test /gobject/refcount/object-basics executed in 5.00 secs 979s # End of refcount tests 979s # End of gobject tests 979s # Running test: glib/flags.test 979s TAP version 14 979s # random seed: R02Sdd4a54dc68565cd3458f3c23747f2fff 979s 1..1 979s # Start of gobject tests 979s # Start of flags tests 979s ok 1 /gobject/flags/validate 979s # End of flags tests 979s # End of gobject tests 979s ok - glib/flags.test 979s # Running test: glib/module-test-plugin.test 979s TAP version 14 979s # random seed: R02Sdff8893407869a23bfc4ed7220bfb81d 979s 1..3 979s # Start of module tests 979s ok 1 /module/basics 979s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 979s ok 2 /module/invalid-libtool-archive 979s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 979s ok 3 /module/local-binding 979s # End of module tests 979s ok - glib/module-test-plugin.test 979s # Running test: glib/properties.test 979s ok - glib/properties.test 979s # Running test: glib/deftype.test 979s ok - glib/deftype.test 979s # Running test: glib/hook.test 979s ok - glib/hook.test 979s # Running test: glib/credentials.test 979s ok - glib/credentials.test 979s # Running test: glib/cxx-2b.test 979s ok - glib/cxx-2b.test 979s # Running test: glib/giomodule.test 979s ok - glib/giomodule.test 979s # Running test: glib/hostutils.test 979s ok - glib/hostutils.test 979s # Running test: glib/logging.test 979s TAP version 14 979s # random seed: R02S16db02c4851ba110d043d601195a79b3 979s 1..14 979s # Start of properties tests 979s ok 1 /properties/install 979s ok 2 /properties/install-many 979s ok 3 /properties/notify 979s ok 4 /properties/notify-queue 979s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 979s ok 5 /properties/construct 979s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 979s # Test g_object_get_property with an initialized value 979s # Test g_object_get_property with an uninitialized value 979s # Test g_object_get_property with a transformable value 979s ok 6 /properties/get-property 979s ok 7 /properties/testv_with_no_properties 979s ok 8 /properties/testv_with_valid_properties 979s ok 9 /properties/testv_with_invalid_property_type 979s ok 10 /properties/testv_with_invalid_property_names 979s ok 11 /properties/testv_getv 979s ok 12 /properties/testv_notify_queue 979s # Start of notify tests 979s ok 13 /properties/notify/too-many-freezes 979s # End of notify tests 979s # Start of set-property tests 979s # Start of variant tests 979s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 979s ok 14 /properties/set-property/variant/floating 979s # End of variant tests 979s # End of set-property tests 979s # End of properties tests 979s TAP version 14 979s # random seed: R02S2d53e2fbc64242c1fcb0b3b3182fd679 979s 1..2 979s # Start of hook tests 979s ok 1 /hook/basics 979s ok 2 /hook/corner-cases 979s # End of hook tests 979s TAP version 14 979s # random seed: R02Seaf1ac5d3e09802016bff3e2bdb5fba2 979s 1..1 979s # Start of credentials tests 979s # GCredentials:linux-ucred:pid=3923,uid=1000,gid=1000 979s # GCredentials:linux-ucred:pid=3923,uid=0,gid=1000 979s ok 1 /credentials/basic 979s # End of credentials tests 979s TAP version 14 979s # random seed: R02S3e993c1be6899e4758e646e43f873ccd 979s 1..2 979s # Start of gtask tests 979s # 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. 979s ok 1 /gtask/name 979s # Start of name tests 979s # 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. 979s ok 2 /gtask/name/macro-wrapper 979s # End of name tests 979s # End of gtask tests 979s TAP version 14 979s # random seed: R02Sedda073137bf2adbef597db39d9667ce 979s 1..3 979s # Start of giomodule tests 979s ok 1 /giomodule/extension-point 979s ok 2 /giomodule/module-scan-all 979s ok 3 /giomodule/module-scan-all-with-scope 979s # End of giomodule tests 979s TAP version 14 979s # random seed: R02S54242c45a86a16afdcbbf826617d35e9 979s 1..3 979s # Start of hostutils tests 979s ok 1 /hostutils/to_ascii 979s ok 2 /hostutils/to_unicode 979s ok 3 /hostutils/is_ip_addr 979s # End of hostutils tests 979s TAP version 14 979s # random seed: R02Sd7c36c9ee22b2fb17de2c81f0b769d85 979s 1..19 979s # Start of logging tests 979s ok 1 /logging/default-handler 979s # slow test /logging/default-handler executed in 0.62 secs 979s ok 2 /logging/journald-handler 979s ok 3 /logging/warnings 979s ok 4 /logging/fatal-log-mask 979s ok 5 /logging/always-fatal 979s # bu-DEBUG: message 979s # ba-DEBUG: message 979s # ba-INFO: message 979s ok 6 /logging/set-handler 979s ok 7 /logging/print-handler 979s ok 8 /logging/printerr-handler 979s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 979s # The Log Message Handler 979s # 979s # The Good Fail Message Handler 979s # 979s ok 9 /logging/653052 979s ok 10 /logging/gibberish 979s ok - glib/logging.test 979s # Running test: glib/permission.test 979s ok - glib/permission.test 979s # Running test: glib/network-address.test 979s # Start of default-handler tests 979s # Start of subprocess tests 979s # End of subprocess tests 979s # End of default-handler tests 979s # End of logging tests 979s # Start of structured-logging tests 979s ok 11 /structured-logging/no-state 979s ok 12 /structured-logging/some-state 979s ok 13 /structured-logging/robustness 979s ok 14 /structured-logging/roundtrip1 979s ok 15 /structured-logging/roundtrip2 979s ok 16 /structured-logging/roundtrip3 979s ok 17 /structured-logging/variant1 979s ok 18 /structured-logging/variant2 979s ok 19 /structured-logging/set-writer-func-twice 979s # End of structured-logging tests 979s TAP version 14 979s # random seed: R02S746cc6b16f71de4a4c2fc7006c94fb2f 979s 1..1 979s # Start of permission tests 979s ok 1 /permission/simple 979s # End of permission tests 979s TAP version 14 979s # random seed: R02S5ce4f27312fa40434dcc0872304a32fe 979s 1..72 979s # Start of network-address tests 979s ok 1 /network-address/basic 979s ok 2 /network-address/scope-id 979s ok 3 /network-address/uri-scope-id 979s ok 4 /network-address/to-string 979s # Start of parse-host tests 979s ok 5 /network-address/parse-host/0 979s ok 6 /network-address/parse-host/1 979s ok 7 /network-address/parse-host/2 979s ok 8 /network-address/parse-host/3 979s ok 9 /network-address/parse-host/4 979s ok 10 /network-address/parse-host/5 979s ok 11 /network-address/parse-host/6 979s ok 12 /network-address/parse-host/7 979s ok 13 /network-address/parse-host/8 979s ok 14 /network-address/parse-host/9 979s ok 15 /network-address/parse-host/10 979s ok 16 /network-address/parse-host/11 979s ok 17 /network-address/parse-host/12 979s ok 18 /network-address/parse-host/13 979s # End of parse-host tests 979s # Start of parse-uri tests 979s ok 19 /network-address/parse-uri/0 979s ok 20 /network-address/parse-uri/1 979s ok 21 /network-address/parse-uri/2 979s ok 22 /network-address/parse-uri/3 979s ok 23 /network-address/parse-uri/4 979s ok 24 /network-address/parse-uri/5 979s ok 25 /network-address/parse-uri/6 979s ok 26 /network-address/parse-uri/7 979s ok 27 /network-address/parse-uri/8 979s ok 28 /network-address/parse-uri/9 979s # End of parse-uri tests 979s # Start of resolve-address tests 979s # Input: 192.168.1.2 979s ok 29 /network-address/resolve-address/0 979s # Input: fe80::42 979s ok 30 /network-address/resolve-address/1 979s # Input: 192.168.1.2:80 979s ok 31 /network-address/resolve-address/2 979s # Input: [fe80::42] 979s ok 32 /network-address/resolve-address/3 979s # Input: [fe80::42]:80 979s ok 33 /network-address/resolve-address/4 979s # Input: 192.168.258 979s ok 34 /network-address/resolve-address/5 979s # Input: 192.11010306 979s ok 35 /network-address/resolve-address/6 979s # Input: 3232235778 979s ok 36 /network-address/resolve-address/7 979s # Input: 0300.0250.0001.0001 979s ok 37 /network-address/resolve-address/8 979s # Input: 0xC0.0xA8.0x01.0x02 979s ok 38 /network-address/resolve-address/9 979s # Input: 0xc0.0xa8.0x01.0x02 979s ok 39 /network-address/resolve-address/10 979s # Input: 0xc0a80102 979s ok 40 /network-address/resolve-address/11 979s # End of resolve-address tests 979s # Start of loopback tests 979s ok 41 /network-address/loopback/basic 979s ok 42 /network-address/loopback/sync 979s ok 43 /network-address/loopback/async 979s # End of loopback tests 979s # Start of localhost tests 979s ok 44 /network-address/localhost/async 979s ok 45 /network-address/localhost/sync 979s # End of localhost tests 979s # Start of happy-eyeballs tests 980s ok 46 /network-address/happy-eyeballs/basic 980s ok 47 /network-address/happy-eyeballs/parallel 980s ok 48 /network-address/happy-eyeballs/slow-ipv4 980s ok 49 /network-address/happy-eyeballs/slow-ipv6 980s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 981s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 981s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 981s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 981s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 981s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 981s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 981s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 981s # /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. 981s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 981s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 981s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 981s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 981s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 981s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 981s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 981s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 981s ok 57 /network-address/happy-eyeballs/both-error 981s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 981s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 981s ok 58 /network-address/happy-eyeballs/both-error-delays-1 981s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 981s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 981s ok 59 /network-address/happy-eyeballs/both-error-delays-2 981s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 981s ok 60 /network-address/happy-eyeballs/both-error-delays-3 981s # End of happy-eyeballs tests 981s # End of network-address tests 981s # Start of gresolver tests 981s # Start of resolve-address tests 981s # Input: 192.168.1.2 981s ok 61 /gresolver/resolve-address/0 981s # Input: fe80::42 981s ok 62 /gresolver/resolve-address/1 981s # Input: 192.168.1.2:80 981s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 192.168.1.2:80 981s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 981s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 981s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ‘gio-network-monitor’ 981s # Error: Error resolving “192.168.1.2:80”: Name or service not known 981s ok 63 /gresolver/resolve-address/2 981s # Input: [fe80::42] 981s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [fe80::42] 981s # Error: Error resolving “[fe80::42]”: Name or service not known 981s ok 64 /gresolver/resolve-address/3 981s # Input: [fe80::42]:80 981s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [fe80::42]:80 981s # Error: Error resolving “[fe80::42]:80”: Name or service not known 981s ok 65 /gresolver/resolve-address/4 981s # Input: 192.168.258 981s # Error: Error resolving “192.168.258”: Name or service not known 981s ok 66 /gresolver/resolve-address/5 981s # Input: 192.11010306 981s # Error: Error resolving “192.11010306”: Name or service not known 981s ok 67 /gresolver/resolve-address/6 981s # Input: 3232235778 981s # Error: Error resolving “3232235778”: Name or service not known 981s ok 68 /gresolver/resolve-address/7 981s # Input: 0300.0250.0001.0001 981s # Error: Error resolving “0300.0250.0001.0001”: Name or service not known 981s ok 69 /gresolver/resolve-address/8 981s # Input: 0xC0.0xA8.0x01.0x02 981s # Error: Error resolving “0xC0.0xA8.0x01.0x02”: Name or service not known 981s ok 70 /gresolver/resolve-address/9 981s # Input: 0xc0.0xa8.0x01.0x02 981s # Error: Error resolving “0xc0.0xa8.0x01.0x02”: Name or service not known 981s ok 71 /gresolver/resolve-address/10 981s # Input: 0xc0a80102 981s # Error: Error resolving “0xc0a80102”: Name or service not known 981s ok 72 /gresolver/resolve-address/11 981s # End of resolve-address tests 981s # End of gresolver tests 981s ok - glib/network-address.test 981s # Running test: glib/macros.test 981s TAP version 14 981s ok - glib/macros.test 981s # Running test: glib/defaultvalue.test 981s # random seed: R02S752d9159be122e6a08e17e8c000fd38d 981s 1..3 981s # Start of alignof tests 981s ok 1 /alignof/fallback 981s # End of alignof tests 981s # Start of assert tests 981s ok 2 /assert/static 981s # End of assert tests 981s # Start of struct tests 981s ok 3 /struct/sizeof_member 981s # End of struct tests 981s TAP version 14 981s # random seed: R02S19913eb2cabf2692b6740dcbdaa8dacf 981s 1..84 981s # Start of Default Values tests 981s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 981s ok 2 /Default Values/GAppLaunchContext 981s ok 3 /Default Values/GApplicationCommandLine 981s # skipping GApplication:is-remote 981s ok 4 /Default Values/GApplication 981s ok 5 /Default Values/GBinding # SKIP mandatory construct params 981s ok 6 /Default Values/GBindingGroup 981s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 981s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 981s ok 9 /Default Values/GBytesIcon 981s ok 10 /Default Values/GCancellable 981s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 981s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 981s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 981s ok 14 /Default Values/GCredentials 981s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 981s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 981s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 981s ok 18 /Default Values/GDBusAuthObserver 981s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 981s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 981s ok 21 /Default Values/GDBusMessage 981s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 981s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 981s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 981s ok 25 /Default Values/GDBusObjectProxy 981s ok 26 /Default Values/GDBusObjectSkeleton 981s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 981s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 981s ok 29 /Default Values/GEmblem 981s ok 30 /Default Values/GEmblemedIcon 981s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 981s ok 32 /Default Values/GFileInfo 981s ok 33 /Default Values/GFileInputStream 981s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 981s ok 35 /Default Values/GFileOutputStream 981s ok 36 /Default Values/GFilenameCompleter 981s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 981s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 981s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 981s ok 40 /Default Values/GInitiallyUnowned 981s ok 41 /Default Values/GIOModule 981s ok 42 /Default Values/GListStore 981s ok 43 /Default Values/GMemoryInputStream 981s ok 44 /Default Values/GMemoryOutputStream 981s ok 45 /Default Values/GMenu 981s ok 46 /Default Values/GMenuItem 981s ok 47 /Default Values/GMountOperation 981s ok 48 /Default Values/GNativeSocketAddress 981s ok 49 /Default Values/GNetworkAddress 981s ok 50 /Default Values/GNetworkService 981s ok 51 /Default Values/GNotification 981s ok 52 /Default Values/GObject 981s ok - glib/defaultvalue.test 981s # Running test: glib/unix.test 981s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 981s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 981s # skipping GProxyAddressEnumerator:proxy-resolver 981s ok 54 /Default Values/GProxyAddressEnumerator 981s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 981s ok 56 /Default Values/GSettings # SKIP mandatory construct params 981s ok 57 /Default Values/GSignalGroup 981s ok 58 /Default Values/GSimpleAction 981s ok 59 /Default Values/GSimpleActionGroup 981s ok 60 /Default Values/GSimpleAsyncResult 981s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 981s ok 62 /Default Values/GSimplePermission 981s ok 63 /Default Values/GSimpleProxyResolver 981s # skipping GSocketClient:proxy-resolver 981s ok 64 /Default Values/GSocketClient 981s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 981s ok 66 /Default Values/GSocket # SKIP initialization failed 981s ok 67 /Default Values/GSocketListener 981s ok 68 /Default Values/GSocketService 981s ok 69 /Default Values/GSubprocess # SKIP initialization failed 981s ok 70 /Default Values/GSubprocessLauncher 981s # GLib-GIO-DEBUG: GTask 0xafbc161b660 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 981s ok 71 /Default Values/GTask 981s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 981s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 981s ok 74 /Default Values/GTestDBus 981s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 981s ok 76 /Default Values/GThreadedSocketService 981s ok 77 /Default Values/GTlsInteraction 981s ok 78 /Default Values/GTlsPassword 981s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 981s ok 80 /Default Values/GUnixFDList 981s ok 81 /Default Values/GVfs 981s ok 82 /Default Values/GVolumeMonitor 981s ok 83 /Default Values/GZlibCompressor 981s ok 84 /Default Values/GZlibDecompressor 981s # End of Default Values tests 981s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 981s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 981s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 981s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 981s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 981s TAP version 14 981s # random seed: R02S85f81773105bfa0f0838f5fd0afbae74 981s 1..20 981s # Start of glib-unix tests 981s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 981s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 981s ok 1 /glib-unix/closefrom 981s ok 2 /glib-unix/pipe 981s # /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 981s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 981s ok 3 /glib-unix/pipe-stdio-overwrite 981s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 981s ok 4 /glib-unix/pipe-struct 981s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 981s ok 5 /glib-unix/pipe-struct-auto 981s ok 6 /glib-unix/error 981s ok 7 /glib-unix/nonblocking 982s ok 8 /glib-unix/sighup 982s # slow test /glib-unix/sighup executed in 0.50 secs 982s ok 9 /glib-unix/sigterm 982s # slow test /glib-unix/sigterm executed in 0.50 secs 983s ok 10 /glib-unix/sighup_again 983s # slow test /glib-unix/sighup_again executed in 0.50 secs 983s ok 11 /glib-unix/sighup_add_remove 983s ok 12 /glib-unix/sighup_nested 984s # Executing: glib/unix.test 985s ok 13 /glib-unix/callback_after_signal 985s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 985s ok 14 /glib-unix/child-wait 985s # Start of closefrom tests 985s # Start of subprocess tests 985s # End of subprocess tests 985s # End of closefrom tests 985s # Start of pipe tests 985s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 985s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 985s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 985s ok 15 /glib-unix/pipe/fd-cloexec 985s # End of pipe tests 985s # Start of sighup tests 986s ok 16 /glib-unix/sighup/alternate-stack 986s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 986s # End of sighup tests 986s # Start of sigterm tests 987s ok 17 /glib-unix/sigterm/alternate-stack 987s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 987s # End of sigterm tests 987s # Start of sighup_again tests 988s ok 18 /glib-unix/sighup_again/alternate-stack 988s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 988s # End of sighup_again tests 988s # Start of get-passwd-entry tests 988s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 988s ok 19 /glib-unix/get-passwd-entry/root 988s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 988s ok 20 /glib-unix/get-passwd-entry/nonexistent 988s # End of get-passwd-entry tests 988s # End of glib-unix tests 988s ok - glib/unix.test 988s # Running test: glib/dynamictests.test 988s TAP version 14 988s # random seed: R02S882ce80edca02d9f85c42869ed62eeba 988s 1..2 988s # Start of GObject tests 988s ok 1 /GObject/threaded-dynamic-ref-unref-init 988s ok 2 /GObject/dynamic-interface-properties 988s # End of GObject tests 988s ok - glib/dynamictests.test 988s # Running test: glib/references.test 988s ok - glib/references.test 988s TAP version 14 988s # random seed: R02S69d31cf6f1dffa76e9b381a66c9daf0d 988s 1..4 988s # Start of gobject tests 988s ok 1 /gobject/references 988s ok 2 /gobject/references-many 988s ok 3 /gobject/references_two 988s ok 4 /gobject/references_run_dispose 988s # End of gobject tests 988s # Running test: glib/unix-streams.test 988s TAP version 14 988s # random seed: R02S221c455971bec826e56d0e8c9c0043d2 988s 1..9 988s # Start of unix-streams tests 988s ok 1 /unix-streams/basic 988s ok 2 /unix-streams/pipe-io-test 988s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 989s # Executing: glib/unix-streams.test 989s ok 3 /unix-streams/nonblocking-io-test 989s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 989s ok 4 /unix-streams/read_write 989s ok 5 /unix-streams/read_writev 989s ok - glib/unix-streams.test 989s ok 6 /unix-streams/write-wouldblock 989s ok 7 /unix-streams/writev-wouldblock 989s ok 8 /unix-streams/write-async-wouldblock 989s ok 9 /unix-streams/writev-async-wouldblock 989s # End of unix-streams tests 989s # Running test: glib/utf8-misc.test 989s TAP version 14 989s # random seed: R02Sf1bc6fbcad90a08ecb0498255984badb 989s 1..7 989s ok - glib/utf8-misc.test 989s # Running test: glib/task.test 989s # Start of utf8 tests 989s ok 1 /utf8/strlen 989s ok 2 /utf8/strncpy 989s ok 3 /utf8/strrchr 989s ok 4 /utf8/reverse 989s ok 5 /utf8/substring 989s ok 6 /utf8/make-valid 989s ok 7 /utf8/truncate-middle 989s # End of utf8 tests 989s TAP version 14 989s # random seed: R02S5c9d509f2849e8c78921d5e91389ee8a 989s 1..36 989s # Start of gtask tests 989s ok 1 /gtask/basic 989s ok 2 /gtask/error 989s ok 3 /gtask/error-literal 989s ok 4 /gtask/error-literal-from-variable 989s ok 5 /gtask/return-from-same-iteration 989s ok 6 /gtask/return-from-toplevel 989s ok 7 /gtask/return-from-anon-thread 989s ok 8 /gtask/return-from-wrong-thread 989s ok 9 /gtask/no-callback 989s ok 10 /gtask/report-error 989s ok 11 /gtask/priority 989s ok 12 /gtask/name 989s ok 13 /gtask/static-name 989s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 989s ok 14 /gtask/asynchronous-cancellation 989s ok 15 /gtask/check-cancellable 989s ok 16 /gtask/return-if-cancelled 989s ok 17 /gtask/run-in-thread 989s ok 18 /gtask/run-in-thread-sync 989s ok 19 /gtask/run-in-thread-priority 989s ok 20 /gtask/run-in-thread-nested 990s ok 21 /gtask/run-in-thread-overflow 990s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 990s # GLib-GIO-DEBUG: GTask 0x5da4f04ab50 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 990s # GLib-GIO-DEBUG: GTask 0x5da4f04ace0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 990s ok 22 /gtask/return-on-cancel 990s # GLib-GIO-DEBUG: GTask 0x5da4efe0e10 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 990s # GLib-GIO-DEBUG: GTask 0x5da4efe0d50 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 990s ok 23 /gtask/return-on-cancel-sync 990s ok 24 /gtask/return-on-cancel-atomic 990s ok 25 /gtask/return-pointer 990s ok 26 /gtask/return-value 990s ok 27 /gtask/return-prefixed-error 990s ok 28 /gtask/object-keepalive 990s ok 29 /gtask/legacy-error 990s ok 30 /gtask/finalize-without-return 990s # Start of name tests 990s ok - glib/task.test 990s # Running test: glib/mappedfile.test 990s ok - glib/mappedfile.test 990s # Running test: glib/simple-proxy.test 990s ok 31 /gtask/name/macro-wrapper 990s # End of name tests 990s # Start of return tests 990s ok 32 /gtask/return/error-first 990s ok 33 /gtask/return/value-first 990s # Start of in-idle tests 990s ok 34 /gtask/return/in-idle/error-first 990s ok 35 /gtask/return/in-idle/value-first 990s # End of in-idle tests 990s # End of return tests 990s # Start of attach-source tests 990s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source’s name if unset 990s ok 36 /gtask/attach-source/set-name 990s # End of attach-source tests 990s # End of gtask tests 990s TAP version 14 990s # random seed: R02S8577dafb77294c6f245cd9d7a17f8401 990s 1..7 990s # Start of mappedfile tests 990s ok 1 /mappedfile/basic 990s ok 2 /mappedfile/empty 990s ok 3 /mappedfile/device 990s ok 4 /mappedfile/nonexisting 990s ok 5 /mappedfile/writable 990s ok 6 /mappedfile/writable_fd 990s ok 7 /mappedfile/gbytes 990s # End of mappedfile tests 990s TAP version 14 990s # random seed: R02S0db35d86aafa941be38af2d0dcfb9514 990s 1..3 990s # Start of static-proxy tests 990s ok 1 /static-proxy/uri 990s ok 2 /static-proxy/socks 990s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string *.eee.xx:8000 990s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 10.0.0.1:8000 990s ok 3 /static-proxy/ignore 990s # End of static-proxy tests 990s ok - glib/simple-proxy.test 990s # Running test: glib/private.test 990s TAP version 14 990s # random seed: R02S633f3910195eb26bdd361016757c18c1 990s 1..8 990s # Start of thread tests 990s ok 1 /thread/private1 991s ok 2 /thread/private2 991s # slow test /thread/private2 executed in 1.09 secs 991s ok 3 /thread/private3 991s ok 4 /thread/staticprivate1 991s ok 5 /thread/staticprivate2 991s ok 6 /thread/staticprivate3 992s ok 7 /thread/staticprivate4 992s # slow test /thread/staticprivate4 executed in 1.08 secs 992s ok - glib/private.test 992s ok 8 /thread/staticprivate5 992s # End of thread tests 992s # Running test: glib/signals-refcount4.test 992s TAP version 14 992s # random seed: R02S981788cd255843a5d7b39fd73f1d2a7d 992s 1..1 992s # Start of gobject tests 992s # Start of refcount tests 992s # init 0x1e456ec2d490 992s # 992s # init 0x1e456ec25580 992s # 994s # Executing: glib/signals-refcount4.test 997s ok - glib/signals-refcount4.test 997s # dispose 0x1e456ec2d490! 997s # 997s # dispose 0x1e456ec25580! 997s # 997s ok 1 /gobject/refcount/signals 997s # slow test /gobject/refcount/signals executed in 5.00 secs 997s # End of refcount tests 997s # End of gobject tests 997s # Running test: glib/macros-c-17.test 997s TAP version 14 997s # random seed: R02Sbfe3a5cf145c66a904006fd1c31d982f 997s 1..4 997s # Start of C tests 997s ok 1 /C/standard-17 997s # End of C tests 997s # Start of alignof tests 997s ok 2 /alignof/fallback 997s # End of alignof tests 997s # Start of assert tests 997s ok - glib/macros-c-17.test 997s # Running test: glib/gvariant.test 997s ok 3 /assert/static 997s # End of assert tests 997s # Start of struct tests 997s ok 4 /struct/sizeof_member 997s # End of struct tests 997s TAP version 14 997s # random seed: R02S0a00045b56e3e7d5d75b9e01f642a49e 997s 1..69 997s # Start of gvariant tests 997s ok 1 /gvariant/type 997s ok 2 /gvariant/typeinfo 997s ok 3 /gvariant/string 997s ok 4 /gvariant/utf8 997s ok 5 /gvariant/utf8-new-strings 998s ok 6 /gvariant/containers 998s # slow test /gvariant/containers executed in 0.87 secs 998s ok 7 /gvariant/format-strings 998s ok 8 /gvariant/invalid-varargs 998s ok 9 /gvariant/varargs 998s ok 10 /gvariant/valist 998s ok 11 /gvariant/builder-memory 998s ok 12 /gvariant/hashing 998s ok 13 /gvariant/byteswap 999s # Executing: glib/gvariant.test 999s ok 14 /gvariant/parser 999s ok 15 /gvariant/parse-failures 999s ok 16 /gvariant/parse-positional 999s ok 17 /gvariant/floating 999s ok 18 /gvariant/bytestring 999s ok 19 /gvariant/lookup-value 999s ok 20 /gvariant/lookup 999s ok 21 /gvariant/compare 999s ok 22 /gvariant/equal 999s ok 23 /gvariant/fixed-array 999s ok 24 /gvariant/check-format-string 999s ok 25 /gvariant/checksum-basic 999s ok 26 /gvariant/checksum-nested 999s ok 27 /gvariant/gbytes 999s ok 28 /gvariant/print-context 999s ok 29 /gvariant/error-quark 999s ok 30 /gvariant/stack-builder-init 999s ok 31 /gvariant/stack-builder-init-static 999s ok 32 /gvariant/stack-builder-init-unset 999s ok 33 /gvariant/stack-dict-init 999s ok 34 /gvariant/unaligned-construction 999s # Start of type tests 999s # Start of string-scan tests 999s # Start of recursion tests 999s ok 35 /gvariant/type/string-scan/recursion/tuple 999s ok 36 /gvariant/type/string-scan/recursion/array 999s # End of recursion tests 999s # End of string-scan tests 999s # End of type tests 999s # Start of serialiser tests 999s ok 37 /gvariant/serialiser/maybe 999s ok 38 /gvariant/serialiser/array 999s ok 39 /gvariant/serialiser/tuple 999s ok 40 /gvariant/serialiser/variant 999s ok 41 /gvariant/serialiser/strings 999s ok 42 /gvariant/serialiser/byteswap 999s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 999s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 999s ok 43 /gvariant/serialiser/children 999s # Start of byteswap tests 999s ok 44 /gvariant/serialiser/byteswap/zero-sized 999s # End of byteswap tests 999s # Start of fuzz tests 1000s ok 45 /gvariant/serialiser/fuzz/1% 1000s ok 46 /gvariant/serialiser/fuzz/5% 1001s ok 47 /gvariant/serialiser/fuzz/9% 1001s # slow test /gvariant/serialiser/fuzz/9% executed in 0.65 secs 1002s ok 48 /gvariant/serialiser/fuzz/13% 1002s # slow test /gvariant/serialiser/fuzz/13% executed in 1.68 secs 1003s ok 49 /gvariant/serialiser/fuzz/17% 1003s # slow test /gvariant/serialiser/fuzz/17% executed in 0.50 secs 1003s # End of fuzz tests 1003s # End of serialiser tests 1003s # Start of utf8 tests 1003s # Start of subprocess tests 1003s # End of subprocess tests 1003s # End of utf8 tests 1003s # Start of varargs tests 1003s # Start of subprocess tests 1003s # End of subprocess tests 1003s # End of varargs tests 1003s # Start of byteswap tests 1003s # /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. 1003s ok 50 /gvariant/byteswap/non-normal-non-aligned 1003s # End of byteswap tests 1003s # Start of parser tests 1003s ok 51 /gvariant/parser/integer-bounds 1003s ok 52 /gvariant/parser/recursion 1003s # Start of recursion tests 1003s ok 53 /gvariant/parser/recursion/typedecls 1003s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 1003s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 1003s # Text form 0: @mmmu 5 1003s # Text form 1: @mmmas ['hello'] 1003s # Text form 2: @mmmu just just nothing 1003s # Text form 3: @mmmas just just nothing 1003s # Text form 4: @mmmu just nothing 1003s # Text form 5: @mmmas just nothing 1003s # Text form 6: @mmmu nothing 1003s # Text form 7: @mmmas nothing 1003s ok 54 /gvariant/parser/recursion/maybes 1003s # End of recursion tests 1003s # End of parser tests 1003s # Start of parse tests 1003s # Start of subprocess tests 1003s # End of subprocess tests 1003s # End of parse tests 1003s # Start of normal-checking tests 1003s ok 55 /gvariant/normal-checking/tuples 1003s ok 56 /gvariant/normal-checking/array-offsets 1003s ok 57 /gvariant/normal-checking/array-offsets2 1003s ok 58 /gvariant/normal-checking/tuple-offsets 1003s ok 59 /gvariant/normal-checking/tuple-offsets2 1003s ok 60 /gvariant/normal-checking/tuple-offsets3 1003s ok 61 /gvariant/normal-checking/tuple-offsets4 1003s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 1003s ok 62 /gvariant/normal-checking/tuple-offsets5 1003s ok 63 /gvariant/normal-checking/empty-object-path 1003s # Start of array-offsets tests 1003s ok 64 /gvariant/normal-checking/array-offsets/overlapped 1003s ok 65 /gvariant/normal-checking/array-offsets/minimal-sized 1003s # End of array-offsets tests 1003s # Start of tuple-offsets tests 1003s ok 66 /gvariant/normal-checking/tuple-offsets/minimal-sized 1003s # End of tuple-offsets tests 1003s # End of normal-checking tests 1003s # Start of recursion-limits tests 1003s ok 67 /gvariant/recursion-limits/variant-in-variant 1003s ok 68 /gvariant/recursion-limits/array-in-variant 1003s # End of recursion-limits tests 1003s # End of gvariant tests 1003s # Start of gvarianttype tests 1003s ok 69 /gvarianttype/hash 1003s # End of gvarianttype tests 1003s ok - glib/gvariant.test 1003s # Running test: glib/callable-info.test 1003s TAP version 14 1003s # random seed: R02S431f643cdc2fb08fda4882f5725b3552 1003s 1..5 1003s # Start of callable-info tests 1003s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_USGKC3/callable-info/sync-function/.dirs/home 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_USGKC3/callable-info/sync-function/.dirs/cache 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_USGKC3/callable-info/sync-function/.dirs/system-config1:/tmp/test_callable-info_USGKC3/callable-info/sync-function/.dirs/system-config2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_USGKC3/callable-info/sync-function/.dirs/config 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_USGKC3/callable-info/sync-function/.dirs/system-data1:/tmp/test_callable-info_USGKC3/callable-info/sync-function/.dirs/system-data2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_USGKC3/callable-info/sync-function/.dirs/data 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_USGKC3/callable-info/sync-function/.dirs/state 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_USGKC3/callable-info/sync-function/.dirs/runtime 1003s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1003s ok 1 /callable-info/sync-function 1003s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_USGKC3/callable-info/async-function/.dirs/home 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_USGKC3/callable-info/async-function/.dirs/cache 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_USGKC3/callable-info/async-function/.dirs/system-config1:/tmp/test_callable-info_USGKC3/callable-info/async-function/.dirs/system-config2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_USGKC3/callable-info/async-function/.dirs/config 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_USGKC3/callable-info/async-function/.dirs/system-data1:/tmp/test_callable-info_USGKC3/callable-info/async-function/.dirs/system-data2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_USGKC3/callable-info/async-function/.dirs/data 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_USGKC3/callable-info/async-function/.dirs/state 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_USGKC3/callable-info/async-function/.dirs/runtime 1003s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1003s ok 2 /callable-info/async-function 1003s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_USGKC3/callable-info/is-method/.dirs/home 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_USGKC3/callable-info/is-method/.dirs/cache 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_USGKC3/callable-info/is-method/.dirs/system-config1:/tmp/test_callable-info_USGKC3/callable-info/is-method/.dirs/system-config2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_USGKC3/callable-info/is-method/.dirs/config 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_USGKC3/callable-info/is-method/.dirs/system-data1:/tmp/test_callable-info_USGKC3/callable-info/is-method/.dirs/system-data2 1003s ok - glib/callable-info.test 1003s # Running test: glib/readwrite.test 1003s ok - glib/readwrite.test 1003s # Running test: glib/mainloop.test 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_USGKC3/callable-info/is-method/.dirs/data 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_USGKC3/callable-info/is-method/.dirs/state 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_USGKC3/callable-info/is-method/.dirs/runtime 1003s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1003s ok 3 /callable-info/is-method 1003s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_USGKC3/callable-info/static-method/.dirs/home 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_USGKC3/callable-info/static-method/.dirs/cache 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_USGKC3/callable-info/static-method/.dirs/system-config1:/tmp/test_callable-info_USGKC3/callable-info/static-method/.dirs/system-config2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_USGKC3/callable-info/static-method/.dirs/config 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_USGKC3/callable-info/static-method/.dirs/system-data1:/tmp/test_callable-info_USGKC3/callable-info/static-method/.dirs/system-data2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_USGKC3/callable-info/static-method/.dirs/data 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_USGKC3/callable-info/static-method/.dirs/state 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_USGKC3/callable-info/static-method/.dirs/runtime 1003s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1003s ok 4 /callable-info/static-method 1003s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_USGKC3/callable-info/static-vfunc/.dirs/home 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_USGKC3/callable-info/static-vfunc/.dirs/cache 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_USGKC3/callable-info/static-vfunc/.dirs/system-config1:/tmp/test_callable-info_USGKC3/callable-info/static-vfunc/.dirs/system-config2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_USGKC3/callable-info/static-vfunc/.dirs/config 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_USGKC3/callable-info/static-vfunc/.dirs/system-data1:/tmp/test_callable-info_USGKC3/callable-info/static-vfunc/.dirs/system-data2 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_USGKC3/callable-info/static-vfunc/.dirs/data 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_USGKC3/callable-info/static-vfunc/.dirs/state 1003s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_USGKC3/callable-info/static-vfunc/.dirs/runtime 1003s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1003s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/361 1003s ok 5 /callable-info/static-vfunc # SKIP g-ir-scanner is not new enough 1003s # End of callable-info tests 1003s TAP version 14 1003s # random seed: R02S2966f3a32c9a088cc4f3df2db4c4a6f2 1003s 1..3 1003s # Start of readwrite tests 1003s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1003s ok 1 /readwrite/test_g_file_open_readwrite 1003s ok 2 /readwrite/test_g_file_create_readwrite 1003s ok 3 /readwrite/test_g_file_replace_readwrite 1003s # End of readwrite tests 1003s TAP version 14 1003s # random seed: R02Sd0ac36c986d022ee1d7247846deaacf8 1003s 1..47 1003s # Start of maincontext tests 1003s ok 1 /maincontext/basic 1003s # Add same-priority sources: 38 1003s # Find each source: 20 1003s # Remove in random order: 56 1003s ok 2 /maincontext/nsources_same_priority 1003s # Add different-priority sources: 45 1003s # Find each source: 19 1003s # Remove in random order: 60 1003s ok 3 /maincontext/nsources_different_priority 1004s # Executing: glib/mainloop.test 1004s # Add sources from threads: 230 1004s # Remove sources from threads: 103 1004s ok 4 /maincontext/nsources_threadpool 1004s ok 5 /maincontext/source_finalization 1004s # /maincontext/idle-once summary: Test g_idle_add_once() works 1004s ok 6 /maincontext/idle-once 1004s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1004s ok 7 /maincontext/timeout-once 1004s # /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. 1004s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/3725 1004s ok 8 /maincontext/context-ref-in-source-callbackfuncs-unref 1004s # Start of source_finalization_from_source tests 1004s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1004s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1004s ok 9 /maincontext/source_finalization_from_source/0 1004s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1004s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1004s ok 10 /maincontext/source_finalization_from_source/1 1004s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1004s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1004s ok 11 /maincontext/source_finalization_from_source/2 1004s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1004s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1004s ok 12 /maincontext/source_finalization_from_source/3 1004s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1004s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1004s ok 13 /maincontext/source_finalization_from_source/4 1004s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1004s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1004s ok 14 /maincontext/source_finalization_from_source/5 1004s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1004s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1004s ok 15 /maincontext/source_finalization_from_source/6 1004s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1004s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1004s ok 16 /maincontext/source_finalization_from_source/7 1004s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1004s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1004s ok 17 /maincontext/source_finalization_from_source/8 1004s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1004s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1004s ok 18 /maincontext/source_finalization_from_source/9 1004s # End of source_finalization_from_source tests 1004s # Start of source_finalization_from_dispatch tests 1004s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1004s ok 19 /maincontext/source_finalization_from_dispatch/0 1004s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1004s ok 20 /maincontext/source_finalization_from_dispatch/1 1004s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1004s ok 21 /maincontext/source_finalization_from_dispatch/2 1004s # End of source_finalization_from_dispatch tests 1004s # End of maincontext tests 1004s # Start of mainloop tests 1004s ok 22 /mainloop/basic 1004s ok 23 /mainloop/timeouts # SKIP Not running timing heavy test 1004s ok 24 /mainloop/priorities 1004s ok 25 /mainloop/invoke 1004s # slow test /mainloop/invoke executed in 0.50 secs 1005s ok 26 /mainloop/child_sources 1005s # slow test /mainloop/child_sources executed in 1.18 secs 1008s ok 27 /mainloop/recursive_child_sources 1008s # slow test /mainloop/recursive_child_sources executed in 2.16 secs 1008s ok 28 /mainloop/recursive_loop_child_sources 1008s ok 29 /mainloop/swapping_child_sources 1008s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1008s ok 30 /mainloop/blocked_child_sources 1009s # Executing: glib/mainloop.test 1009s ok 31 /mainloop/source_time 1009s # slow test /mainloop/source_time executed in 1.00 secs 1009s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1009s ok 32 /mainloop/overflow 1009s ok 33 /mainloop/ready-time 1009s # slow test /mainloop/ready-time executed in 0.50 secs 1009s ok 34 /mainloop/wakeup 1009s ok 35 /mainloop/remove-invalid 1009s ok 36 /mainloop/unref-while-pending 1011s ok 37 /mainloop/unix-fd 1011s # slow test /mainloop/unix-fd executed in 1.46 secs 1011s ok 38 /mainloop/unix-fd-source 1011s ok 39 /mainloop/source-unix-fd-api 1011s ok 40 /mainloop/wait 1011s ok 41 /mainloop/unix-file-poll 1011s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1011s ok 42 /mainloop/unix-fd-priority 1011s ok 43 /mainloop/nfds 1011s ok 44 /mainloop/steal-fd 1012s ok - glib/mainloop.test 1012s ok 45 /mainloop/simultaneous-source-context-destruction 1012s # slow test /mainloop/simultaneous-source-context-destruction executed in 1.28 secs 1012s # Start of ownerless-polling tests 1012s ok 46 /mainloop/ownerless-polling/attach-first 1012s ok 47 /mainloop/ownerless-polling/pop-first 1012s # End of ownerless-polling tests 1012s # End of mainloop tests 1012s # Running test: glib/portal-support-snap.test 1012s TAP version 14 1012s # random seed: R02S42dddab1747cfc220572f98e57798fd8 1012s 1..7 1012s # Start of portal-support tests 1012s # Start of snap tests 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/no-snapctl/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/no-snapctl/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_WY91B3/portal-support/snap/no-snapctl/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/no-snapctl/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_WY91B3/portal-support/snap/no-snapctl/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/no-snapctl/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/no-snapctl/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/no-snapctl/.dirs/runtime 1012s # Created snap.yaml in /tmp/test_portal-support-snap_WY91B3/meta/snap.yaml 1012s Unable to clean up temporary directory /tmp/test_portal-support-snap_WY91B3/portal-support/snap/no-snapctl: No such file or directory 1012s ok 1 /portal-support/snap/no-snapctl 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/none/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/none/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_WY91B3/portal-support/snap/none/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/none/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_WY91B3/portal-support/snap/none/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/none/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/none/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/none/.dirs/runtime 1012s # Created snap.yaml in /tmp/test_portal-support-snap_WY91B3/meta/snap.yaml 1012s # Created snapctl in /tmp/test_portal-support-snap_WY91B3/portal-support/snap/none/.dirs/runtime/snapctl 1012s Unable to clean up temporary directory /tmp/test_portal-support-snap_WY91B3/portal-support/snap/none: No such file or directory 1012s ok 2 /portal-support/snap/none 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/all/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/all/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_WY91B3/portal-support/snap/all/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/all/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_WY91B3/portal-support/snap/all/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/all/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/all/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/all/.dirs/runtime 1012s # Created snap.yaml in /tmp/test_portal-support-snap_WY91B3/meta/snap.yaml 1012s # Created snapctl in /tmp/test_portal-support-snap_WY91B3/portal-support/snap/all/.dirs/runtime/snapctl 1012s Unable to clean up temporary directory /tmp/test_portal-support-snap_WY91B3/portal-support/snap/all: No such file or directory 1012s ok 3 /portal-support/snap/all 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/desktop-only/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/desktop-only/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_WY91B3/portal-support/snap/desktop-only/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/desktop-only/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_WY91B3/portal-support/snap/desktop-only/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/desktop-only/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/desktop-only/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/desktop-only/.dirs/runtime 1012s # Created snap.yaml in /tmp/test_portal-support-snap_WY91B3/meta/snap.yaml 1012s # Created snapctl in /tmp/test_portal-support-snap_WY91B3/portal-support/snap/desktop-only/.dirs/runtime/snapctl 1012s Unable to clean up temporary directory /tmp/test_portal-support-snap_WY91B3/portal-support/snap/desktop-only: No such file or directory 1012s ok 4 /portal-support/snap/desktop-only 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/network-only/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/network-only/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_WY91B3/portal-support/snap/network-only/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/network-only/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_WY91B3/portal-support/snap/network-only/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/network-only/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/network-only/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/network-only/.dirs/runtime 1012s # Created snap.yaml in /tmp/test_portal-support-snap_WY91B3/meta/snap.yaml 1012s # Created snapctl in /tmp/test_portal-support-snap_WY91B3/portal-support/snap/network-only/.dirs/runtime/snapctl 1012s Unable to clean up temporary directory /tmp/test_portal-support-snap_WY91B3/portal-support/snap/network-only: No such file or directory 1012s ok 5 /portal-support/snap/network-only 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/gsettings-only/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/gsettings-only/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_WY91B3/portal-support/snap/gsettings-only/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/gsettings-only/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_WY91B3/portal-support/snap/gsettings-only/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/gsettings-only/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/gsettings-only/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/gsettings-only/.dirs/runtime 1012s # Created snap.yaml in /tmp/test_portal-support-snap_WY91B3/meta/snap.yaml 1012s # Created snapctl in /tmp/test_portal-support-snap_WY91B3/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 1012s Unable to clean up temporary directory /tmp/test_portal-support-snap_WY91B3/portal-support/snap/gsettings-only: No such file or directory 1012s ok 6 /portal-support/snap/gsettings-only 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/updates-dynamically/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/updates-dynamically/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_WY91B3/portal-support/snap/updates-dynamically/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/updates-dynamically/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_WY91B3/portal-support/snap/updates-dynamically/.dirs/system-data2 1012s ok - glib/portal-support-snap.test 1012s # Running test: glib/utf8-performance.test 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/updates-dynamically/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/updates-dynamically/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_WY91B3/portal-support/snap/updates-dynamically/.dirs/runtime 1012s # Created snap.yaml in /tmp/test_portal-support-snap_WY91B3/meta/snap.yaml 1012s # Created snapctl in /tmp/test_portal-support-snap_WY91B3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1012s # Created snapctl in /tmp/test_portal-support-snap_WY91B3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1012s # Created snapctl in /tmp/test_portal-support-snap_WY91B3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1012s # Created snapctl in /tmp/test_portal-support-snap_WY91B3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1012s # Created snapctl in /tmp/test_portal-support-snap_WY91B3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1012s # Created snapctl in /tmp/test_portal-support-snap_WY91B3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1012s # Created snapctl in /tmp/test_portal-support-snap_WY91B3/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 1012s Unable to clean up temporary directory /tmp/test_portal-support-snap_WY91B3/portal-support/snap/updates-dynamically: No such file or directory 1012s ok 7 /portal-support/snap/updates-dynamically 1012s # End of snap tests 1012s # End of portal-support tests 1012s Unable to clean up temporary directory /tmp/test_portal-support-snap_WY91B3: No such file or directory 1012s TAP version 14 1012s ok - glib/utf8-performance.test 1012s # Running test: glib/utils-isolated.test 1012s # random seed: R02Sb266415e305bb7101b5303a89c782195 1012s 1..36 1012s # Start of utf8 tests 1012s # Start of perf tests 1012s # Start of get_char tests 1012s # max perf: 21.5 MB/s 1012s ok 1 /utf8/perf/get_char/ascii 1012s # max perf: 67.0 MB/s 1012s ok 2 /utf8/perf/get_char/latin1 1012s # max perf: inf MB/s 1012s ok 3 /utf8/perf/get_char/cyrillic 1012s # max perf: 156.0 MB/s 1012s ok 4 /utf8/perf/get_char/han 1012s # End of get_char tests 1012s # Start of get_char-backwards tests 1012s # max perf: inf MB/s 1012s ok 5 /utf8/perf/get_char-backwards/ascii 1012s # max perf: inf MB/s 1012s ok 6 /utf8/perf/get_char-backwards/latin1 1012s # max perf: 160.0 MB/s 1012s ok 7 /utf8/perf/get_char-backwards/cyrillic 1012s # max perf: inf MB/s 1012s ok 8 /utf8/perf/get_char-backwards/han 1012s # End of get_char-backwards tests 1012s # Start of get_char_validated tests 1012s # max perf: 43.0 MB/s 1012s ok 9 /utf8/perf/get_char_validated/ascii 1012s # max perf: 67.0 MB/s 1012s ok 10 /utf8/perf/get_char_validated/latin1 1012s # max perf: 160.0 MB/s 1012s ok 11 /utf8/perf/get_char_validated/cyrillic 1012s # max perf: 156.0 MB/s 1012s ok 12 /utf8/perf/get_char_validated/han 1012s # End of get_char_validated tests 1012s # Start of utf8_to_ucs4 tests 1012s # max perf: 43.0 MB/s 1012s ok 13 /utf8/perf/utf8_to_ucs4/ascii 1012s # max perf: 67.0 MB/s 1012s ok 14 /utf8/perf/utf8_to_ucs4/latin1 1012s # max perf: 160.0 MB/s 1012s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 1012s # max perf: 156.0 MB/s 1012s ok 16 /utf8/perf/utf8_to_ucs4/han 1012s # End of utf8_to_ucs4 tests 1012s # Start of utf8_to_ucs4-sized tests 1012s # max perf: inf MB/s 1012s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 1012s # max perf: 67.0 MB/s 1012s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 1012s # max perf: 160.0 MB/s 1012s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 1012s # max perf: inf MB/s 1012s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 1012s # End of utf8_to_ucs4-sized tests 1012s # Start of utf8_to_ucs4_fast tests 1012s # max perf: inf MB/s 1012s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 1012s # max perf: 67.0 MB/s 1012s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 1012s # max perf: 160.0 MB/s 1012s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 1012s # max perf: inf MB/s 1012s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 1012s # End of utf8_to_ucs4_fast tests 1012s # Start of utf8_to_ucs4_fast-sized tests 1012s # max perf: inf MB/s 1012s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 1012s # max perf: inf MB/s 1012s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 1012s # max perf: inf MB/s 1012s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 1012s # max perf: 156.0 MB/s 1012s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 1012s # End of utf8_to_ucs4_fast-sized tests 1012s # Start of utf8_validate tests 1012s # max perf: 43.0 MB/s 1012s ok 29 /utf8/perf/utf8_validate/ascii 1012s # max perf: 67.0 MB/s 1012s ok 30 /utf8/perf/utf8_validate/latin1 1012s # max perf: 160.0 MB/s 1012s ok 31 /utf8/perf/utf8_validate/cyrillic 1012s # max perf: inf MB/s 1012s ok 32 /utf8/perf/utf8_validate/han 1012s # End of utf8_validate tests 1012s # Start of utf8_validate-sized tests 1012s # max perf: inf MB/s 1012s ok 33 /utf8/perf/utf8_validate-sized/ascii 1012s # max perf: 67.0 MB/s 1012s ok 34 /utf8/perf/utf8_validate-sized/latin1 1012s # max perf: inf MB/s 1012s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 1012s # max perf: 156.0 MB/s 1012s ok 36 /utf8/perf/utf8_validate-sized/han 1012s # End of utf8_validate-sized tests 1012s # End of perf tests 1012s # End of utf8 tests 1012s TAP version 14 1012s # random seed: R02S9ce3795c413deeff61f74d16d611ee9f 1012s 1..11 1012s # Start of utils-isolated tests 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/tmp-dir/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/tmp-dir/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_QTT3B3/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_QTT3B3/utils-isolated/tmp-dir/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/tmp-dir/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_QTT3B3/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_QTT3B3/utils-isolated/tmp-dir/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/tmp-dir/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/tmp-dir/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_QTT3B3/utils-isolated/tmp-dir/.dirs/runtime 1012s ok 1 /utils-isolated/tmp-dir 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/home-dir/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/home-dir/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_QTT3B3/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_QTT3B3/utils-isolated/home-dir/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/home-dir/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_QTT3B3/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_QTT3B3/utils-isolated/home-dir/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/home-dir/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/home-dir/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_QTT3B3/utils-isolated/home-dir/.dirs/runtime 1012s ok 2 /utils-isolated/home-dir 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-cache-dir/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-cache-dir/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_QTT3B3/utils-isolated/user-cache-dir/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-cache-dir/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_QTT3B3/utils-isolated/user-cache-dir/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-cache-dir/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-cache-dir/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-cache-dir/.dirs/runtime 1012s ok 3 /utils-isolated/user-cache-dir 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/system-config-dirs/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/system-config-dirs/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_QTT3B3/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_QTT3B3/utils-isolated/system-config-dirs/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/system-config-dirs/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_QTT3B3/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_QTT3B3/utils-isolated/system-config-dirs/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/system-config-dirs/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/system-config-dirs/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_QTT3B3/utils-isolated/system-config-dirs/.dirs/runtime 1012s ok 4 /utils-isolated/system-config-dirs 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-config-dir/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-config-dir/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_QTT3B3/utils-isolated/user-config-dir/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-config-dir/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_QTT3B3/utils-isolated/user-config-dir/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-config-dir/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-config-dir/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-config-dir/.dirs/runtime 1012s ok 5 /utils-isolated/user-config-dir 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/system-data-dirs/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/system-data-dirs/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_QTT3B3/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_QTT3B3/utils-isolated/system-data-dirs/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/system-data-dirs/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_QTT3B3/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_QTT3B3/utils-isolated/system-data-dirs/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/system-data-dirs/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/system-data-dirs/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_QTT3B3/utils-isolated/system-data-dirs/.dirs/runtime 1012s ok - glib/utils-isolated.test 1012s # Running test: glib/unicode-normalize.test 1012s ok 6 /utils-isolated/system-data-dirs 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-data-dir/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-data-dir/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_QTT3B3/utils-isolated/user-data-dir/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-data-dir/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_QTT3B3/utils-isolated/user-data-dir/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-data-dir/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-data-dir/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-data-dir/.dirs/runtime 1012s ok 7 /utils-isolated/user-data-dir 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-state-dir/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-state-dir/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_QTT3B3/utils-isolated/user-state-dir/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-state-dir/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_QTT3B3/utils-isolated/user-state-dir/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-state-dir/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-state-dir/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-state-dir/.dirs/runtime 1012s ok 8 /utils-isolated/user-state-dir 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-runtime-dir/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-runtime-dir/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_QTT3B3/utils-isolated/user-runtime-dir/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-runtime-dir/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_QTT3B3/utils-isolated/user-runtime-dir/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-runtime-dir/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-runtime-dir/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_QTT3B3/utils-isolated/user-runtime-dir/.dirs/runtime 1012s ok 9 /utils-isolated/user-runtime-dir 1012s # Start of cleanup tests 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/cleanup/handles-errors/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/cleanup/handles-errors/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_QTT3B3/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_QTT3B3/utils-isolated/cleanup/handles-errors/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/cleanup/handles-errors/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_QTT3B3/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_QTT3B3/utils-isolated/cleanup/handles-errors/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/cleanup/handles-errors/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/cleanup/handles-errors/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_QTT3B3/utils-isolated/cleanup/handles-errors/.dirs/runtime 1012s Unable to clean up temporary directory /tmp/test_utils-isolated_QTT3B3/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 1012s Unable to clean up temporary directory /tmp/test_utils-isolated_QTT3B3/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 1012s Unable to clean up temporary directory /tmp/test_utils-isolated_QTT3B3/utils-isolated/cleanup/handles-errors: Directory not empty 1012s ok 10 /utils-isolated/cleanup/handles-errors 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_QTT3B3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_QTT3B3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_QTT3B3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_QTT3B3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_QTT3B3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_QTT3B3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 1012s Unable to clean up temporary directory /tmp/test_utils-isolated_QTT3B3/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 1012s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 1012s # End of cleanup tests 1012s # End of utils-isolated tests 1012s TAP version 14 1012s # random seed: R02S95d4378f3af2de44abd47bb89efeca3d 1012s 1..3 1012s # Start of unicode tests 1012s # Processing Part0 # Specific cases 1012s # Processing Part1 # Character by character test 1012s # Processing Part2 # Canonical Order Test 1012s # Processing Part3 # PRI #29 Test 1012s # Processing Part4 # Canonical closures (excluding Hangul) 1012s # Processing Part5 # Chained primary composites 1012s ok 1 /unicode/normalize 1012s # Invalid UTF-8 vector 0 1012s # Invalid UTF-8 vector 1 1012s # Invalid UTF-8 vector 2 1012s # Invalid UTF-8 vector 3 1012s # Invalid UTF-8 vector 4 1012s # Invalid UTF-8 vector 5 1012s # Invalid UTF-8 vector 6 1012s # Invalid UTF-8 vector 7 1012s # Invalid UTF-8 vector 8 1012s # Invalid UTF-8 vector 9 1012s # Invalid UTF-8 vector 10 1012s # Invalid UTF-8 vector 11 1012s # Invalid UTF-8 vector 12 1012s ok 2 /unicode/normalize-invalid 1012s # Start of normalize tests 1012s ok 3 /unicode/normalize/bad-length 1012s # End of normalize tests 1012s # End of unicode tests 1012s ok - glib/unicode-normalize.test 1012s # Running test: glib/cxx-20.test 1012s ok - glib/cxx-20.test 1012s TAP version 14 1012s # random seed: R02S359139cc1a28c70e9814910e554cfe54 1012s 1..2 1012s # Start of gtask tests 1012s # 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. 1012s ok 1 /gtask/name 1012s # Start of name tests 1012s # 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. 1012s ok 2 /gtask/name/macro-wrapper 1012s # End of name tests 1012s # End of gtask tests 1012s # Running test: glib/init.test 1012s TAP version 14 1012s # random seed: R02Sc87789ef16a8092f4170fe80f2bfd6fa 1012s 1..2 1012s # Start of thread tests 1012s # Start of deprecated tests 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_Y407B3/thread/deprecated/init/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_Y407B3/thread/deprecated/init/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_Y407B3/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_Y407B3/thread/deprecated/init/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_Y407B3/thread/deprecated/init/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_Y407B3/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_Y407B3/thread/deprecated/init/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_Y407B3/thread/deprecated/init/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_Y407B3/thread/deprecated/init/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_Y407B3/thread/deprecated/init/.dirs/runtime 1012s ok - glib/init.test 1012s ok 1 /thread/deprecated/init 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_Y407B3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_Y407B3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_Y407B3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_Y407B3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_Y407B3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_Y407B3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_Y407B3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_Y407B3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_Y407B3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_Y407B3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 1012s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 1012s # End of deprecated tests 1012s # End of thread tests 1012s # Running test: glib/buffered-input-stream.test 1012s TAP version 14 1012s # random seed: R02S2b524407cdceffeb9a7992a6d6f69cde 1012s 1..10 1012s # Start of buffered-input-stream tests 1012s ok 1 /buffered-input-stream/peek 1012s ok 2 /buffered-input-stream/peek-buffer 1012s ok 3 /buffered-input-stream/set-buffer-size 1012s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 1012s ok 4 /buffered-input-stream/read-byte 1012s ok 5 /buffered-input-stream/read 1012s ok 6 /buffered-input-stream/read-async 1012s ok 7 /buffered-input-stream/skip 1012s ok 8 /buffered-input-stream/skip-async 1012s ok 9 /buffered-input-stream/seek 1012s ok - glib/buffered-input-stream.test 1012s # End of buffered-input-stream tests 1012s # Start of filter-input-stream tests 1012s ok 10 /filter-input-stream/close 1012s # End of filter-input-stream tests 1012s # Running test: glib/gdbus-method-invocation.test 1012s TAP version 14 1012s # random seed: R02S6a0bc9f1d422db761faf2c48f6e2855d 1012s 1..1 1012s # Start of gdbus tests 1012s # Start of method-invocation tests 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_6S99B3/gdbus/method-invocation/return/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_6S99B3/gdbus/method-invocation/return/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_6S99B3/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_6S99B3/gdbus/method-invocation/return/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_6S99B3/gdbus/method-invocation/return/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_6S99B3/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_6S99B3/gdbus/method-invocation/return/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_6S99B3/gdbus/method-invocation/return/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_6S99B3/gdbus/method-invocation/return/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_6S99B3/gdbus/method-invocation/return/.dirs/runtime 1012s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 1012s # Calling org.freedesktop.DBus.Properties.Get 1012s # Calling org.freedesktop.DBus.Properties.Get 1012s # Calling org.freedesktop.DBus.Properties.Get 1012s # Calling org.freedesktop.DBus.Properties.Set 1012s # Calling org.freedesktop.DBus.Properties.GetAll 1012s # Calling org.example.Foo.WrongReturnType 1012s # Calling org.example.Foo.GetFDs 1012s # Calling org.example.Foo.GetFDs 1012s # Calling org.example.Foo.ReturnError 1012s # Calling org.example.Foo.CloseBeforeReturning 1012s ok - glib/gdbus-method-invocation.test 1012s # Running test: glib/buffered-output-stream.test 1012s ok - glib/buffered-output-stream.test 1012s # Running test: glib/tls-interaction.test 1012s ok 1 /gdbus/method-invocation/return 1012s # End of method-invocation tests 1012s # End of gdbus tests 1012s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1012s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1012s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1012s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1012s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1012s TAP version 14 1012s # random seed: R02S0c82fdb49cc06cea35cbd774cabe0e10 1012s 1..5 1012s # Start of buffered-output-stream tests 1012s ok 1 /buffered-output-stream/write 1012s ok 2 /buffered-output-stream/grow 1012s ok 3 /buffered-output-stream/seek 1012s ok 4 /buffered-output-stream/truncate 1012s # End of buffered-output-stream tests 1012s # Start of filter-output-stream tests 1012s ok 5 /filter-output-stream/close 1012s # End of filter-output-stream tests 1012s TAP version 14 1012s # random seed: R02S96bc2ab32e74ba27978279286b78b148 1012s 1..42 1012s # Start of tls-interaction tests 1012s # Start of ask-password tests 1012s # Start of invoke-with-loop tests 1012s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 1012s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 1012s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 1012s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 1012s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 1012s # End of invoke-with-loop tests 1012s # Start of invoke-without-loop tests 1012s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 1012s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 1012s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 1012s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 1012s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 1012s # End of invoke-without-loop tests 1012s # Start of invoke-in-loop tests 1012s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 1012s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 1012s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 1012s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 1012s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 1012s # End of invoke-in-loop tests 1012s # Start of sync tests 1012s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 1012s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 1012s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 1012s # End of sync tests 1012s # Start of async tests 1012s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 1012s ok 20 /tls-interaction/ask-password/async/async-implementation-success 1012s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 1012s # End of async tests 1012s # End of ask-password tests 1012s # Start of request-certificate tests 1012s # Start of invoke-with-loop tests 1012s ok - glib/tls-interaction.test 1012s # Running test: glib/types.test 1012s ok - glib/types.test 1012s # Running test: glib/object-info.test 1012s ok - glib/object-info.test 1012s # Running test: glib/autoptr-gio.test 1012s ok - glib/autoptr-gio.test 1012s # Running test: glib/atomic-c-89.test 1012s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 1012s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 1012s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 1012s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 1012s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 1012s # End of invoke-with-loop tests 1012s # Start of invoke-without-loop tests 1012s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 1012s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 1012s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 1012s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 1012s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 1012s # End of invoke-without-loop tests 1012s # Start of invoke-in-loop tests 1012s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 1012s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 1012s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 1012s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 1012s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 1012s # End of invoke-in-loop tests 1012s # Start of sync tests 1012s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 1012s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 1012s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 1012s # End of sync tests 1012s # Start of async tests 1012s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 1012s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 1012s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 1012s # End of async tests 1012s # End of request-certificate tests 1012s # End of tls-interaction tests 1012s TAP version 14 1012s # random seed: R02Sac3a1b9f312b07bd7e621f66f94a2f3d 1012s 1..1 1012s # Start of types tests 1012s ok 1 /types/basic_types 1012s # End of types tests 1012s TAP version 14 1012s # random seed: R02S998e2e971c5af4e82fdcae05275c8128 1012s 1..2 1012s # Start of object-info tests 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_2PM9B3/object-info/find-method-using-interfaces/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_2PM9B3/object-info/find-method-using-interfaces/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_2PM9B3/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_2PM9B3/object-info/find-method-using-interfaces/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_2PM9B3/object-info/find-method-using-interfaces/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_2PM9B3/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_2PM9B3/object-info/find-method-using-interfaces/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_2PM9B3/object-info/find-method-using-interfaces/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_2PM9B3/object-info/find-method-using-interfaces/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_2PM9B3/object-info/find-method-using-interfaces/.dirs/runtime 1012s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1012s ok 1 /object-info/find-method-using-interfaces 1012s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_2PM9B3/object-info/find-vfunc-using-interfaces/.dirs/home 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_2PM9B3/object-info/find-vfunc-using-interfaces/.dirs/cache 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_2PM9B3/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_2PM9B3/object-info/find-vfunc-using-interfaces/.dirs/system-config2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_2PM9B3/object-info/find-vfunc-using-interfaces/.dirs/config 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_2PM9B3/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_2PM9B3/object-info/find-vfunc-using-interfaces/.dirs/system-data2 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_2PM9B3/object-info/find-vfunc-using-interfaces/.dirs/data 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_2PM9B3/object-info/find-vfunc-using-interfaces/.dirs/state 1012s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_2PM9B3/object-info/find-vfunc-using-interfaces/.dirs/runtime 1012s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1012s ok 2 /object-info/find-vfunc-using-interfaces 1012s # End of object-info tests 1012s TAP version 14 1012s # random seed: R02Sb04adc3cf6f9b4baebf013b8d1fc5113 1012s 1..1 1012s # Start of autoptr tests 1012s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1012s ok 1 /autoptr/autoptr 1012s # End of autoptr tests 1012s TAP version 14 1012s # random seed: R02S41968f58b4709c8ca88edb5c6e2c0b21 1012s 1..2 1012s # Start of atomic tests 1012s ok 1 /atomic/types 1013s ok 2 /atomic/threaded 1013s # End of atomic tests 1013s ok - glib/atomic-c-89.test 1013s # Running test: glib/convert.test 1013s TAP version 14 1013s # random seed: R02S453ce6b0bf989048332cb722eb0f72ce 1013s 1..14 1013s # Start of conversion tests 1013s ok 1 /conversion/no-conv 1013s ok 2 /conversion/iconv-state 1013s ok 3 /conversion/illegal-sequence 1013s ok 4 /conversion/byte-order 1013s ok 5 /conversion/unicode 1013s ok 6 /conversion/filename-utf8 1013s ok 7 /conversion/filename-display 1013s ok 8 /conversion/convert-embedded-nul 1013s # Start of locale-to-utf8 tests 1013s ok 9 /conversion/locale-to-utf8/embedded-nul 1013s # Start of embedded-nul tests 1013s # Start of subprocess tests 1013s # End of subprocess tests 1013s # End of embedded-nul tests 1013s # End of locale-to-utf8 tests 1013s # Start of locale-from-utf8 tests 1013s ok 10 /conversion/locale-from-utf8/embedded-nul 1013s # Start of embedded-nul tests 1013s # Start of subprocess tests 1013s # End of subprocess tests 1013s # End of embedded-nul tests 1013s # End of locale-from-utf8 tests 1013s # Start of filename-to-utf8 tests 1013s ok 11 /conversion/filename-to-utf8/embedded-nul 1013s # Start of embedded-nul tests 1013s # Start of subprocess tests 1013s # End of subprocess tests 1013s # End of embedded-nul tests 1013s # End of filename-to-utf8 tests 1013s # Start of filename-from-utf8 tests 1013s ok 12 /conversion/filename-from-utf8/embedded-nul 1013s # Start of embedded-nul tests 1013s # Start of subprocess tests 1013s # End of subprocess tests 1013s # End of embedded-nul tests 1013s # End of filename-from-utf8 tests 1013s # Start of filename-from-uri tests 1013s ok 13 /conversion/filename-from-uri/query-is-ignored 1013s ok 14 /conversion/filename-from-uri/fragment-is-ignored 1013s # End of filename-from-uri tests 1013s # End of conversion tests 1013s ok - glib/convert.test 1013s # Running test: glib/utf8-pointer.test 1013s TAP version 14 1013s # random seed: R02S1c4f99dc5e4d587e66764432c3028d32 1013s 1..3 1013s # Start of utf8 tests 1013s ok - glib/utf8-pointer.test 1013s ok 1 /utf8/offsets 1013s # slow test /utf8/offsets executed in 0.76 secs 1013s ok 2 /utf8/lengths 1013s ok 3 /utf8/find 1013s # End of utf8 tests 1013s # Running test: glib/properties-refcount3.test 1013s TAP version 14 1013s # random seed: R02S413c64865e396f7bf68abdabf262935a 1013s 1..1 1013s # Start of gobject tests 1013s # Start of refcount tests 1014s # Executing: glib/properties-refcount3.test 1019s # Executing: glib/properties-refcount3.test 1024s # Executing: glib/properties-refcount3.test 1029s # Executing: glib/properties-refcount3.test 1034s # Executing: glib/properties-refcount3.test 1039s # Executing: glib/properties-refcount3.test 1043s # 1043s # stopping 1043s # 1043s # stopped 1043s # 1043s # 13137393 6755246 1043s # 1043s ok 1 /gobject/refcount/properties-3 1043s # slow test /gobject/refcount/properties-3 executed in 30.01 secs 1043s # End of refcount tests 1043s # End of gobject tests 1043s ok - glib/properties-refcount3.test 1043s # Running test: glib/gsubprocess.test 1043s TAP version 14 1043s # random seed: R02S5a94f9d78a9c56849ea9affefd42fce4 1043s 1..84 1043s # Start of gsubprocess tests 1043s ok 1 /gsubprocess/noop 1043s ok 2 /gsubprocess/noop-all-to-null 1043s ok 3 /gsubprocess/noop-no-wait 1043s ok 4 /gsubprocess/noop-stdin-inherit 1043s ok 5 /gsubprocess/search-path 1043s ok 6 /gsubprocess/search-path-from-envp 1044s # Executing: glib/gsubprocess.test 1047s ok 7 /gsubprocess/signal 1047s # slow test /gsubprocess/signal executed in 3.20 secs 1047s ok 8 /gsubprocess/exit1 1047s ok 9 /gsubprocess/echo1 1047s ok 10 /gsubprocess/echo-merged 1047s ok 11 /gsubprocess/cat-utf8 1048s ok 12 /gsubprocess/cat-eof 1048s # slow test /gsubprocess/cat-eof executed in 1.00 secs 1049s # Executing: glib/gsubprocess.test 1051s ok 13 /gsubprocess/multi1 1051s # slow test /gsubprocess/multi1 executed in 3.01 secs 1051s ok 14 /gsubprocess/communicate 1054s # Executing: glib/gsubprocess.test 1054s ok 15 /gsubprocess/terminate 1054s # slow test /gsubprocess/terminate executed in 2.98 secs 1054s ok 16 /gsubprocess/fail-initialization 1054s ok 17 /gsubprocess/env 1054s ok 18 /gsubprocess/cwd 1054s ok 19 /gsubprocess/launcher-close 1054s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1054s ok 20 /gsubprocess/stdout-file 1054s ok 21 /gsubprocess/stdout-fd 1054s ok 22 /gsubprocess/child-setup 1054s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1054s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1054s ok 23 /gsubprocess/launcher-environment 1054s # Start of exit1 tests 1054s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1054s ok 24 /gsubprocess/exit1/cancel 1054s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1054s ok 25 /gsubprocess/exit1/cancel_in_cb 1054s # End of exit1 tests 1054s # Start of communicate tests 1054s ok 26 /gsubprocess/communicate/cancelled 1054s ok 27 /gsubprocess/communicate/async 1054s ok 28 /gsubprocess/communicate/utf8 1054s # hello world 1054s ok 29 /gsubprocess/communicate/no-pipes 1054s ok 30 /gsubprocess/communicate/separate-stderr 1054s ok 31 /gsubprocess/communicate/stdout-only 1054s # hello world 1054s ok 32 /gsubprocess/communicate/stderr-only 1054s ok 33 /gsubprocess/communicate/stdout-silence 1054s ok 34 /gsubprocess/communicate/nothing 1054s # Start of async tests 1054s ok 35 /gsubprocess/communicate/async/cancelled 1054s # hello world 1054s ok 36 /gsubprocess/communicate/async/no-pipes 1054s ok 37 /gsubprocess/communicate/async/separate-stderr 1054s ok 38 /gsubprocess/communicate/async/stdout-only 1054s # hello world 1054s ok 39 /gsubprocess/communicate/async/stderr-only 1054s ok 40 /gsubprocess/communicate/async/stdout-silence 1054s # Start of cancelled tests 1054s ok 41 /gsubprocess/communicate/async/cancelled/no-pipes 1054s ok 42 /gsubprocess/communicate/async/cancelled/separate-stderr 1054s ok 43 /gsubprocess/communicate/async/cancelled/stdout-only 1054s ok 44 /gsubprocess/communicate/async/cancelled/stderr-only 1054s ok 45 /gsubprocess/communicate/async/cancelled/stdout-silence 1054s # End of cancelled tests 1054s # End of async tests 1054s # Start of utf8 tests 1054s ok 46 /gsubprocess/communicate/utf8/cancelled 1054s ok 47 /gsubprocess/communicate/utf8/async 1054s # hello world 1054s ok 48 /gsubprocess/communicate/utf8/no-pipes 1054s ok 49 /gsubprocess/communicate/utf8/separate-stderr 1054s ok 50 /gsubprocess/communicate/utf8/stdout-only 1054s # hello world 1054s ok 51 /gsubprocess/communicate/utf8/stderr-only 1054s ok 52 /gsubprocess/communicate/utf8/stdout-silence 1054s ok 53 /gsubprocess/communicate/utf8/invalid 1054s # Start of async tests 1054s ok 54 /gsubprocess/communicate/utf8/async/cancelled 1054s # hello world 1054s ok 55 /gsubprocess/communicate/utf8/async/no-pipes 1054s ok 56 /gsubprocess/communicate/utf8/async/separate-stderr 1054s ok 57 /gsubprocess/communicate/utf8/async/stdout-only 1054s # hello world 1054s ok 58 /gsubprocess/communicate/utf8/async/stderr-only 1054s ok 59 /gsubprocess/communicate/utf8/async/stdout-silence 1054s ok 60 /gsubprocess/communicate/utf8/async/invalid 1054s # Start of cancelled tests 1054s ok 61 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 1054s ok 62 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 1054s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 1054s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 1054s ok 65 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 1054s # End of cancelled tests 1054s # End of async tests 1054s # Start of cancelled tests 1054s ok 66 /gsubprocess/communicate/utf8/cancelled/no-pipes 1054s ok 67 /gsubprocess/communicate/utf8/cancelled/separate-stderr 1054s ok 68 /gsubprocess/communicate/utf8/cancelled/stdout-only 1054s ok 69 /gsubprocess/communicate/utf8/cancelled/stderr-only 1054s ok 70 /gsubprocess/communicate/utf8/cancelled/stdout-silence 1054s # End of cancelled tests 1054s # End of utf8 tests 1054s # Start of cancelled tests 1054s ok 71 /gsubprocess/communicate/cancelled/no-pipes 1054s ok 72 /gsubprocess/communicate/cancelled/separate-stderr 1054s ok 73 /gsubprocess/communicate/cancelled/stdout-only 1054s ok 74 /gsubprocess/communicate/cancelled/stderr-only 1054s ok 75 /gsubprocess/communicate/cancelled/stdout-silence 1054s # End of cancelled tests 1054s # End of communicate tests 1054s # Start of env tests 1054s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1054s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1054s ok 76 /gsubprocess/env/inherit 1054s # End of env tests 1054s # Start of pass-fd tests 1054s ok 77 /gsubprocess/pass-fd/basic 1054s ok 78 /gsubprocess/pass-fd/empty-child-setup 1054s ok 79 /gsubprocess/pass-fd/inherit-fds 1054s # End of pass-fd tests 1054s # Start of fd-conflation tests 1054s ok 80 /gsubprocess/fd-conflation/basic 1054s ok 81 /gsubprocess/fd-conflation/empty-child-setup 1054s ok 82 /gsubprocess/fd-conflation/inherit-fds 1054s ok 83 /gsubprocess/fd-conflation/child-err-report-fd 1054s # End of fd-conflation tests 1054s # Start of exit-status tests 1054s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 1054s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 1054s ok 84 /gsubprocess/exit-status/trapped 1054s # End of exit-status tests 1054s # End of gsubprocess tests 1054s ok - glib/gsubprocess.test 1054s # Running test: glib/g-file-info-filesystem-readonly.test 1054s TAP version 14 1054s # random seed: R02S62dff65ae00f2d9b3dc784880bc2d7a4 1054s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 1054s 1..2 1054s # Start of g-file-info-filesystem-readonly tests 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_SV9AC3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_SV9AC3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_SV9AC3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_SV9AC3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_SV9AC3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_SV9AC3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_SV9AC3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_SV9AC3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_SV9AC3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_SV9AC3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/runtime 1054s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_SV9AC3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_SV9AC3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_SV9AC3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_SV9AC3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_SV9AC3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_SV9AC3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_SV9AC3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_SV9AC3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_SV9AC3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_SV9AC3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/runtime 1054s ok - glib/g-file-info-filesystem-readonly.test 1054s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 1054s # End of g-file-info-filesystem-readonly tests 1054s # Running test: glib/gi-inspect-typelib.py.test 1054s TAP version 13 1054s ok 1 __main__.TestGIInspectTypelibCommandLine.test_help 1054s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1054s # tmpdir: /tmp/tmpdrvpxxvx 1054s # Running: ['/usr/bin/gi-inspect-typelib', '--help'] 1054s # Return code: 0 1054s # Output: 1054s # Usage: 1054s # gi-inspect-typelib [OPTION…] NAMESPACE - Inspect GI typelib 1054s # 1054s # Help Options: 1054s # -h, --help Show help options 1054s # 1054s # Application Options: 1054s # --typelib-version=VERSION Typelib version to inspect 1054s # --print-shlibs List the shared libraries the typelib requires 1054s # --print-typelibs List other typelibs the inspected typelib requires 1054s # Error: 1054s ok 2 __main__.TestGIInspectTypelibCommandLine.test_invalid_typelib 1054s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1054s # tmpdir: /tmp/tmpjk6lmnkr 1054s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'AnInvalidNameSpace'] 1054s # Return code: 1 1054s # Output: 1054s # 1054s # Error: 1054s # Failed to load typelib: Typelib file for namespace 'AnInvalidNameSpace' (any version) not found 1054s ok 3 __main__.TestGIInspectTypelibCommandLine.test_no_args 1054s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1054s # tmpdir: /tmp/tmp_yty_pfb 1054s # Running: ['/usr/bin/gi-inspect-typelib'] 1054s # Return code: 1 1054s # Output: 1054s # 1054s # Error: 1054s # Please specify exactly one namespace 1054s ok 4 __main__.TestGIInspectTypelibForGLibTypelib.test_print_shlibs 1054s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1054s # tmpdir: /tmp/tmp122zzmrl 1054s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 1054s # Return code: 0 1054s # Output: 1054s # shlib: libgobject-2.0.so.0 1054s # shlib: libglib-2.0.so.0 1054s # Error: 1054s ok 5 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs 1054s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1054s # tmpdir: /tmp/tmpfzuqsutx 1054s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GLib', '--typelib-version=2.0'] 1054s # Return code: 0 1054s # Output: 1054s # 1054s # Error: 1054s ok 6 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs_and_shlibs 1054s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1054s # tmpdir: /tmp/tmp4e2zocro 1054s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 1054s # Return code: 0 1054s # Output: 1054s # shlib: libgobject-2.0.so.0 1054s # shlib: libglib-2.0.so.0 1054s # Error: 1054s ok 7 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_shlibs 1054s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1054s # tmpdir: /tmp/tmpw25mldii 1054s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 1054s # Return code: 0 1054s # Output: 1054s # shlib: libgobject-2.0.so.0 1054s # Error: 1054s ok 8 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs 1054s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1054s # tmpdir: /tmp/tmp7ordf8te 1054s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GObject', '--typelib-version=2.0'] 1054s # Return code: 0 1054s # Output: 1054s # typelib: GLib-2.0 1054s # Error: 1054s ok 9 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs_and_shlibs 1054s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1054s # tmpdir: /tmp/tmp6o251uud 1054s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 1054s # Return code: 0 1054s # Output: 1054s # shlib: libgobject-2.0.so.0 1054s # typelib: GLib-2.0 1054s # Error: 1054s ok 10 __main__.TestGIInspectTypelibForGioTypelib.test_print_shlibs 1054s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1054s # tmpdir: /tmp/tmpt0rmifb8 1054s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 1054s # Return code: 0 1054s # Output: 1054s # shlib: libgio-2.0.so.0 1054s # Error: 1054s ok 11 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs 1054s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1054s # tmpdir: /tmp/tmpiwyz2adq 1054s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'Gio', '--typelib-version=2.0'] 1054s # Return code: 0 1054s # Output: 1054s # typelib: GObject-2.0 1054s # typelib: GLib-2.0 1054s # typelib: GModule-2.0 1054s # Error: 1054s ok 12 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs_and_shlibs 1054s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 1054s # tmpdir: /tmp/tmp70xttp5v 1054s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 1054s # Return code: 0 1054s # Output: 1054s # shlib: libgio-2.0.so.0 1054s # typelib: GObject-2.0 1054s # typelib: GLib-2.0 1054s # typelib: GModule-2.0 1054s # Error: 1054s 1..12 1054s ok - glib/gi-inspect-typelib.py.test 1054s # Running test: glib/live-g-file.test 1054s TAP version 14 1054s # random seed: R02Sb50b46977fb50eadf132543787ac5ab4 1054s 1..13 1054s # Start of live-g-file tests 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/prep_clean_structure/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/prep_clean_structure/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_RS0BC3/live-g-file/prep_clean_structure/.dirs/system-config1:/tmp/test_live-g-file_RS0BC3/live-g-file/prep_clean_structure/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/prep_clean_structure/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_RS0BC3/live-g-file/prep_clean_structure/.dirs/system-data1:/tmp/test_live-g-file_RS0BC3/live-g-file/prep_clean_structure/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/prep_clean_structure/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/prep_clean_structure/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_RS0BC3/live-g-file/prep_clean_structure/.dirs/runtime 1054s # Cleaning target testing structure in '/tmp/test_live-g-file_RS0BC3/testdir_live-g-file'... 1054s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1054s ok 1 /live-g-file/prep_clean_structure 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/create_structure/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/create_structure/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_RS0BC3/live-g-file/create_structure/.dirs/system-config1:/tmp/test_live-g-file_RS0BC3/live-g-file/create_structure/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/create_structure/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_RS0BC3/live-g-file/create_structure/.dirs/system-data1:/tmp/test_live-g-file_RS0BC3/live-g-file/create_structure/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/create_structure/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/create_structure/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_RS0BC3/live-g-file/create_structure/.dirs/runtime 1054s # 1054s # Going to create testing structure in '/tmp/test_live-g-file_RS0BC3/testdir_live-g-file'... 1054s # Creating directory 'dir1'... 1054s # Creating directory 'dir1/subdir'... 1054s # Creating directory 'dir2'... 1054s # Creating directory 'dir-target'... 1054s # Creating directory 'dir_no-access'... 1054s # Creating directory 'dir_no-write'... 1054s # Creating file 'target-file'... 1054s # Creating file 'normal_file'... 1054s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 1054s # Creating file 'executable_file'... 1054s # Creating file 'private_file'... 1054s # Creating file 'normal_file2'... 1054s # Creating file 'readonly_file'... 1054s # Creating file 'UTF_příliš z'... 1054s # Creating directory 'dir_příliš z'... 1054s # Creating symlink 'lost_symlink' --> 'nowhere'... 1054s # Creating directory 'dir_hidden'... 1054s # Creating file 'dir_hidden/.a-hidden-file'... 1054s # Creating file 'dir_hidden/file-in-.hidden1'... 1054s # Creating file 'dir_hidden/file-in-.hidden2'... 1054s # Creating pattern file... 1054s # done. 1054s ok 2 /live-g-file/create_structure 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_initial_structure/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_initial_structure/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_RS0BC3/live-g-file/test_initial_structure/.dirs/system-config1:/tmp/test_live-g-file_RS0BC3/live-g-file/test_initial_structure/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_initial_structure/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_RS0BC3/live-g-file/test_initial_structure/.dirs/system-data1:/tmp/test_live-g-file_RS0BC3/live-g-file/test_initial_structure/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_initial_structure/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_initial_structure/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_RS0BC3/live-g-file/test_initial_structure/.dirs/runtime 1054s # Testing sample structure in '/tmp/test_live-g-file_RS0BC3/testdir_live-g-file'... 1054s # Testing file 'dir1'... 1054s # Testing file 'dir1/subdir'... 1054s # Testing file 'dir2'... 1054s # Testing file 'dir-target'... 1054s # Testing file 'dir_no-access'... 1054s # Testing file 'dir_no-write'... 1054s # Testing file 'target-file'... 1054s # Testing file 'normal_file'... 1054s # Testing file 'normal_file-symlink'... 1054s # Testing file 'executable_file'... 1054s # Testing file 'private_file'... 1054s # Testing file 'normal_file2'... 1054s # Testing file 'readonly_file'... 1054s # Testing file 'UTF_příliš z'... 1054s # Testing file 'dir_příliš z'... 1054s # Testing file 'lost_symlink'... 1054s # Testing file 'dir_hidden'... 1054s # Testing file 'dir_hidden/.a-hidden-file'... 1054s # Testing file 'dir_hidden/file-in-.hidden1'... 1054s # Testing file 'dir_hidden/file-in-.hidden2'... 1054s # Testing pattern file... 1054s # read 65536 bytes, total = 65536 of 65536. 1054s ok 3 /live-g-file/test_initial_structure 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_traverse_structure/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_traverse_structure/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_RS0BC3/live-g-file/test_traverse_structure/.dirs/system-config1:/tmp/test_live-g-file_RS0BC3/live-g-file/test_traverse_structure/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_traverse_structure/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_RS0BC3/live-g-file/test_traverse_structure/.dirs/system-data1:/tmp/test_live-g-file_RS0BC3/live-g-file/test_traverse_structure/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_traverse_structure/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_traverse_structure/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_RS0BC3/live-g-file/test_traverse_structure/.dirs/runtime 1054s # Traversing through the sample structure in '/tmp/test_live-g-file_RS0BC3/testdir_live-g-file'... 1054s # Found file dir1, relative to root: dir1 1054s # Found file subdir, relative to root: dir1/subdir 1054s # Found file dir2, relative to root: dir2 1054s # Found file dir-target, relative to root: dir-target 1054s # Found file dir_no-access, relative to root: dir_no-access 1054s # Found file dir_no-write, relative to root: dir_no-write 1054s # Found file target-file, relative to root: target-file 1054s # Found file normal_file, relative to root: normal_file 1054s # Found file normal_file-symlink, relative to root: normal_file-symlink 1054s # Found file executable_file, relative to root: executable_file 1054s # Found file private_file, relative to root: private_file 1054s # Found file normal_file2, relative to root: normal_file2 1054s # Found file readonly_file, relative to root: readonly_file 1054s # Found file UTF_příliš z, relative to root: UTF_příliš z 1054s # Found file dir_příliš z, relative to root: dir_příliš z 1054s # Found file lost_symlink, relative to root: lost_symlink 1054s # Found file dir_hidden, relative to root: dir_hidden 1054s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 1054s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 1054s # Found file .hidden, relative to root: dir_hidden/.hidden 1054s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 1054s # Found file pattern_file, relative to root: pattern_file 1054s ok 4 /live-g-file/test_traverse_structure 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_enumerate/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_enumerate/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_RS0BC3/live-g-file/test_enumerate/.dirs/system-config1:/tmp/test_live-g-file_RS0BC3/live-g-file/test_enumerate/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_enumerate/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_RS0BC3/live-g-file/test_enumerate/.dirs/system-data1:/tmp/test_live-g-file_RS0BC3/live-g-file/test_enumerate/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_enumerate/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_enumerate/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_RS0BC3/live-g-file/test_enumerate/.dirs/runtime 1054s # Test enumerate '/tmp/test_live-g-file_RS0BC3/testdir_live-g-file'... 1054s # Testing file 'dir_no-access' 1054s # Testing file 'normal_file' 1054s # Testing file 'normal_file-symlink' 1054s # Testing file 'not_exists' 1054s # Testing file 'not_exists' 1054s # Testing file 'not_exists2' 1054s # Testing file 'not_exists3' 1054s # Testing file 'not_exists4' 1054s # Testing file 'dir_no-execute/file' 1054s ok 5 /live-g-file/test_enumerate 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_open/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_open/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_RS0BC3/live-g-file/test_open/.dirs/system-config1:/tmp/test_live-g-file_RS0BC3/live-g-file/test_open/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_open/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_RS0BC3/live-g-file/test_open/.dirs/system-data1:/tmp/test_live-g-file_RS0BC3/live-g-file/test_open/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_open/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_open/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_RS0BC3/live-g-file/test_open/.dirs/runtime 1054s # test_open: 'dir1' 1054s # test_open: 'dir_no-access' 1054s # test_open: 'target-file' 1054s # test_open: 'normal_file-symlink' 1054s # test_open: 'executable_file' 1054s # test_open: 'private_file' 1054s # test_open: 'readonly_file' 1054s # test_open: 'UTF_příliš z' 1054s # test_open: 'pattern_file' 1054s # test_open: 'not_exists' 1054s # test_open: 'dir_no-execute/file' 1054s # test_open: 'lost_symlink' 1054s ok 6 /live-g-file/test_open 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_create/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_create/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_RS0BC3/live-g-file/test_create/.dirs/system-config1:/tmp/test_live-g-file_RS0BC3/live-g-file/test_create/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_create/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_RS0BC3/live-g-file/test_create/.dirs/system-data1:/tmp/test_live-g-file_RS0BC3/live-g-file/test_create/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_create/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_create/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_RS0BC3/live-g-file/test_create/.dirs/runtime 1054s # test_create: 'dir1' 1054s # error code 3 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/dir1”: Is a directory 1054s # test_create: 'dir1/subdir' 1054s # error code 3 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/dir1/subdir”: Is a directory 1054s # test_create: 'dir2' 1054s # error code 2 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/dir2”: File exists 1054s # test_create: 'normal_file' 1054s # error code 2 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/normal_file”: File exists 1054s # test_create: 'executable_file' 1054s # test_create: 'private_file' 1054s # test_create: 'normal_file2' 1054s # test_create: 'UTF_příliš z' 1054s # error code 2 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/UTF_příliš z”: File exists 1054s # test_create: 'dir_příliš z' 1054s # error code 2 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/dir_příliš z”: File exists 1054s # test_create: 'pattern_file' 1054s # test_create: 'not_exists2' 1054s # test_create: 'not_exists3' 1054s # test_create: 'not_exists4' 1054s ok 7 /live-g-file/test_create 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_copy_move/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_copy_move/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_RS0BC3/live-g-file/test_copy_move/.dirs/system-config1:/tmp/test_live-g-file_RS0BC3/live-g-file/test_copy_move/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_copy_move/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_RS0BC3/live-g-file/test_copy_move/.dirs/system-data1:/tmp/test_live-g-file_RS0BC3/live-g-file/test_copy_move/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_copy_move/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_copy_move/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_RS0BC3/live-g-file/test_copy_move/.dirs/runtime 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'dir1/subdir' --> 'dir-target' 1054s # res = 0, error code 25 = Can’t recursively copy directory 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'dir1/subdir' --> '.' 1054s # res = 0, error code 2 = Target file exists 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'dir1/subdir' --> 'target-file' 1054s # res = 0, error code 4 = Error when getting information for file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/target-file/dir1/subdir”: Not a directory 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'dir1/subdir' --> 'not_exists' 1054s # res = 0, error code 25 = Can’t recursively copy directory 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 1054s # res = 0, error code 25 = Can’t recursively copy directory 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 1054s # res = 0, error code 25 = Can’t recursively copy directory 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'dir2' --> 'dir-target' 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'dir-target' --> 'dir-target' 1054s # res = 0, error code 25 = Can’t recursively copy directory 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'dir-target' --> '.' 1054s # res = 0, error code 2 = Target file exists 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'dir-target' --> 'target-file' 1054s # res = 0, error code 4 = Error when getting information for file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/target-file/dir-target”: Not a directory 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'dir-target' --> 'not_exists' 1054s # res = 0, error code 25 = Can’t recursively copy directory 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'dir-target' --> 'dir_no-access' 1054s # res = 0, error code 25 = Can’t recursively copy directory 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'dir-target' --> 'dir_no-write' 1054s # res = 0, error code 25 = Can’t recursively copy directory 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'target-file' --> 'dir-target' 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'target-file' --> '.' 1054s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/target-file”: File exists 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'target-file' --> 'target-file' 1054s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/target-file/target-file”: Not a directory 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'target-file' --> 'not_exists' 1054s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/not_exists/target-file”: No such file or directory 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'target-file' --> 'dir_no-access' 1054s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/dir_no-access/target-file”: Permission denied 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'target-file' --> 'dir_no-write' 1054s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/dir_no-write/target-file”: Permission denied 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'normal_file-symlink' --> '.' 1054s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_RS0BC3/testdir_live-g-file/normal_file-symlink: File exists 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'normal_file-symlink' --> 'target-file' 1054s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_RS0BC3/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 1054s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_RS0BC3/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 1054s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_RS0BC3/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 1054s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_RS0BC3/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'executable_file' --> 'dir-target' 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'executable_file' --> 'dir-target' 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'executable_file' --> '.' 1054s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/executable_file”: File exists 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'executable_file' --> 'target-file' 1054s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/target-file/executable_file”: Not a directory 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'executable_file' --> 'not_exists' 1054s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/not_exists/executable_file”: No such file or directory 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'executable_file' --> 'dir_no-access' 1054s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/dir_no-access/executable_file”: Permission denied 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'executable_file' --> 'dir_no-write' 1054s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/dir_no-write/executable_file”: Permission denied 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'private_file' --> 'dir-target' 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'private_file' --> 'dir-target' 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'private_file' --> '.' 1054s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/private_file”: File exists 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'private_file' --> 'target-file' 1054s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/target-file/private_file”: Not a directory 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'private_file' --> 'not_exists' 1054s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/not_exists/private_file”: No such file or directory 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'private_file' --> 'dir_no-access' 1054s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/dir_no-access/private_file”: Permission denied 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'private_file' --> 'dir_no-write' 1054s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/dir_no-write/private_file”: Permission denied 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'normal_file2' --> 'dir-target' 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'normal_file2' --> 'dir-target' 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'normal_file2' --> '.' 1054s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/normal_file2”: File exists 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'normal_file2' --> 'target-file' 1054s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/target-file/normal_file2”: Not a directory 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'normal_file2' --> 'not_exists' 1054s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/not_exists/normal_file2”: No such file or directory 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'normal_file2' --> 'dir_no-access' 1054s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/dir_no-access/normal_file2”: Permission denied 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'normal_file2' --> 'dir_no-write' 1054s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/dir_no-write/normal_file2”: Permission denied 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'UTF_příliš z' --> 'dir-target' 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'UTF_příliš z' --> 'dir-target' 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'UTF_příliš z' --> '.' 1054s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/UTF_příliš z”: File exists 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'UTF_příliš z' --> 'target-file' 1054s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/target-file/UTF_příliš z”: Not a directory 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'UTF_příliš z' --> 'not_exists' 1054s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/not_exists/UTF_příliš z”: No such file or directory 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'UTF_příliš z' --> 'dir_no-access' 1054s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/dir_no-access/UTF_příliš z”: Permission denied 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'UTF_příliš z' --> 'dir_no-write' 1054s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/dir_no-write/UTF_příliš z”: Permission denied 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'pattern_file' --> 'dir-target' 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'pattern_file' --> '.' 1054s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/pattern_file”: File exists 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'pattern_file' --> 'target-file' 1054s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/target-file/pattern_file”: Not a directory 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'pattern_file' --> 'not_exists' 1054s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/not_exists/pattern_file”: No such file or directory 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'pattern_file' --> 'dir_no-access' 1054s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/dir_no-access/pattern_file”: Permission denied 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'pattern_file' --> 'dir_no-write' 1054s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/dir_no-write/pattern_file”: Permission denied 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'not_exists' --> 'dir-target' 1054s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/not_exists”: No such file or directory 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'not_exists' --> '.' 1054s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/not_exists”: No such file or directory 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'not_exists' --> 'target-file' 1054s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/not_exists”: No such file or directory 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'not_exists' --> 'not_exists' 1054s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/not_exists”: No such file or directory 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'not_exists' --> 'dir_no-access' 1054s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/not_exists”: No such file or directory 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'not_exists' --> 'dir_no-write' 1054s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_RS0BC3/testdir_live-g-file/not_exists”: No such file or directory 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'not_exists' --> 'dir-target' 1054s # res = 0, error code 1 = Error moving file /tmp/test_live-g-file_RS0BC3/testdir_live-g-file/not_exists: No such file or directory 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'lost_symlink' --> 'dir-target' 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'lost_symlink' --> '.' 1054s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_RS0BC3/testdir_live-g-file/lost_symlink: File exists 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'lost_symlink' --> 'target-file' 1054s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_RS0BC3/testdir_live-g-file/target-file/lost_symlink: Not a directory 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'lost_symlink' --> 'not_exists' 1054s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_RS0BC3/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 1054s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_RS0BC3/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 1054s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_RS0BC3/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 1054s ok 8 /live-g-file/test_copy_move 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_delete/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_delete/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_RS0BC3/live-g-file/test_delete/.dirs/system-config1:/tmp/test_live-g-file_RS0BC3/live-g-file/test_delete/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_delete/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_RS0BC3/live-g-file/test_delete/.dirs/system-data1:/tmp/test_live-g-file_RS0BC3/live-g-file/test_delete/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_delete/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_delete/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_RS0BC3/live-g-file/test_delete/.dirs/runtime 1054s # Deleting dir1, path = /tmp/test_live-g-file_RS0BC3/testdir_live-g-file/dir1 1054s # result = 0, error = Error removing file /tmp/test_live-g-file_RS0BC3/testdir_live-g-file/dir1: Directory not empty 1054s # Deleting dir2, path = /tmp/test_live-g-file_RS0BC3/testdir_live-g-file/dir2 1054s # result = 0, error = Error removing file /tmp/test_live-g-file_RS0BC3/testdir_live-g-file/dir2: No such file or directory 1054s # Deleting executable_file, path = /tmp/test_live-g-file_RS0BC3/testdir_live-g-file/executable_file 1054s # result = 0, error = Error trashing file /tmp/test_live-g-file_RS0BC3/testdir_live-g-file/executable_file: No such file or directory 1054s # Deleting readonly_file, path = /tmp/test_live-g-file_RS0BC3/testdir_live-g-file/readonly_file 1054s # Deleting dir_příliš z, path = /tmp/test_live-g-file_RS0BC3/testdir_live-g-file/dir_příliš z 1054s # Deleting not_exists, path = /tmp/test_live-g-file_RS0BC3/testdir_live-g-file/not_exists 1054s # result = 0, error = Error removing file /tmp/test_live-g-file_RS0BC3/testdir_live-g-file/not_exists: No such file or directory 1054s # Deleting not_exists, path = /tmp/test_live-g-file_RS0BC3/testdir_live-g-file/not_exists 1054s # result = 0, error = Error trashing file /tmp/test_live-g-file_RS0BC3/testdir_live-g-file/not_exists: No such file or directory 1054s # Deleting dir_no-execute/file, path = /tmp/test_live-g-file_RS0BC3/testdir_live-g-file/dir_no-execute/file 1054s # result = 0, error = Error removing file /tmp/test_live-g-file_RS0BC3/testdir_live-g-file/dir_no-execute/file: No such file or directory 1054s # Deleting lost_symlink, path = /tmp/test_live-g-file_RS0BC3/testdir_live-g-file/lost_symlink 1054s ok 9 /live-g-file/test_delete 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_make_directory_with_parents/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_make_directory_with_parents/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_RS0BC3/live-g-file/test_make_directory_with_parents/.dirs/system-config1:/tmp/test_live-g-file_RS0BC3/live-g-file/test_make_directory_with_parents/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_make_directory_with_parents/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_RS0BC3/live-g-file/test_make_directory_with_parents/.dirs/system-data1:/tmp/test_live-g-file_RS0BC3/live-g-file/test_make_directory_with_parents/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_make_directory_with_parents/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_make_directory_with_parents/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_RS0BC3/live-g-file/test_make_directory_with_parents/.dirs/runtime 1054s # We do not have CAP_DAC_OVERRIDE or equivalent 1054s ok 10 /live-g-file/test_make_directory_with_parents 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/final_clean/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/final_clean/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_RS0BC3/live-g-file/final_clean/.dirs/system-config1:/tmp/test_live-g-file_RS0BC3/live-g-file/final_clean/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/final_clean/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_RS0BC3/live-g-file/final_clean/.dirs/system-data1:/tmp/test_live-g-file_RS0BC3/live-g-file/final_clean/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/final_clean/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/final_clean/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_RS0BC3/live-g-file/final_clean/.dirs/runtime 1054s # Cleaning target testing structure in '/tmp/test_live-g-file_RS0BC3/testdir_live-g-file'... 1054s # deleting 'dir1' 1054s # deleting 'subdir' 1054s # deleting 'dir-target' 1054s # deleting 'dir2' 1054s # deleting 'target-file' 1054s # deleting 'normal_file-symlink' 1054s # deleting 'pattern_file' 1054s # deleting 'executable_file' 1054s # deleting 'private_file' 1054s # deleting 'normal_file2' 1054s # deleting 'UTF_příliš z' 1054s # deleting 'lost_symlink' 1054s ok - glib/live-g-file.test 1054s # Running test: glib/strfuncs.test 1054s # deleting 'dir_no-access' 1054s # deleting 'dir_no-write' 1054s # deleting 'target-file' 1054s # deleting 'normal_file' 1054s # deleting 'normal_file-symlink' 1054s # deleting 'executable_file~' 1054s # deleting 'private_file' 1054s # deleting 'normal_file2~' 1054s # deleting 'a' 1054s # deleting 'UTF_příliš z' 1054s # deleting 'dir_hidden' 1054s # deleting '.a-hidden-file' 1054s # deleting 'file-in-.hidden1' 1054s # deleting '.hidden' 1054s # deleting 'file-in-.hidden2' 1054s # deleting 'pattern_file' 1054s # deleting 'executable_file' 1054s # deleting 'normal_file2' 1054s # deleting 'not_exists2' 1054s # deleting 'not_exists3' 1054s # deleting 'not_exists4' 1054s ok 11 /live-g-file/final_clean 1054s # Start of test_unix_is_mountpoint tests 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_RS0BC3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config1:/tmp/test_live-g-file_RS0BC3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_RS0BC3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data1:/tmp/test_live-g-file_RS0BC3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_RS0BC3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/runtime 1054s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_unix_is_mountpoint/proc/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_unix_is_mountpoint/proc/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_RS0BC3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config1:/tmp/test_live-g-file_RS0BC3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_unix_is_mountpoint/proc/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_RS0BC3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data1:/tmp/test_live-g-file_RS0BC3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_unix_is_mountpoint/proc/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_RS0BC3/live-g-file/test_unix_is_mountpoint/proc/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_RS0BC3/live-g-file/test_unix_is_mountpoint/proc/.dirs/runtime 1054s ok 13 /live-g-file/test_unix_is_mountpoint/proc 1054s # End of test_unix_is_mountpoint tests 1054s # End of live-g-file tests 1054s TAP version 14 1054s # random seed: R02S456a5f430fd4d8f29445d5190e2f7736 1054s 1..51 1054s # Start of strfuncs tests 1054s ok 1 /strfuncs/ascii-strcasecmp 1054s ok 2 /strfuncs/ascii_strdown 1054s ok 3 /strfuncs/ascii_strdup 1054s ok 4 /strfuncs/ascii_strtod 1054s ok 5 /strfuncs/bounds-check 1054s ok 6 /strfuncs/has-prefix 1054s ok 7 /strfuncs/has-prefix-macro 1054s ok 8 /strfuncs/has-suffix 1054s ok 9 /strfuncs/has-suffix-macro 1054s ok 10 /strfuncs/memdup 1054s ok 11 /strfuncs/memdup2 1054s ok 12 /strfuncs/set_str 1054s ok 13 /strfuncs/stpcpy 1054s ok 14 /strfuncs/str_match_string 1054s ok 15 /strfuncs/str_tokenize_and_fold 1054s ok 16 /strfuncs/strcanon 1054s ok 17 /strfuncs/strchomp 1054s ok 18 /strfuncs/strchug 1054s ok 19 /strfuncs/strcompress-strescape 1054s ok 20 /strfuncs/strconcat 1054s ok 21 /strfuncs/strdelimit 1054s ok 22 /strfuncs/strdup 1054s ok 23 /strfuncs/strdup-printf 1054s ok 24 /strfuncs/strdupv 1054s ok 25 /strfuncs/strerror 1054s ok 26 /strfuncs/strip-context 1054s ok 27 /strfuncs/strjoin 1054s ok 28 /strfuncs/strjoinv 1054s ok 29 /strfuncs/strlcat 1054s ok 30 /strfuncs/strlcpy 1054s ok 31 /strfuncs/strncasecmp 1054s ok 32 /strfuncs/strndup 1054s ok 33 /strfuncs/strnfill 1054s ok 34 /strfuncs/strreverse 1054s ok 35 /strfuncs/strsignal 1054s ok 36 /strfuncs/strsplit 1054s ok 37 /strfuncs/strsplit-set 1054s ok 38 /strfuncs/strstr 1054s ok 39 /strfuncs/strtod 1054s ok - glib/strfuncs.test 1054s # Running test: glib/spawn-test.test 1054s ok 40 /strfuncs/strtoull-strtoll 1054s ok 41 /strfuncs/strup 1054s ok 42 /strfuncs/strv-contains 1054s ok 43 /strfuncs/strv-equal 1054s ok 44 /strfuncs/strv-length 1054s ok 45 /strfuncs/test-is-to-digit 1054s ok 46 /strfuncs/transliteration 1054s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 1054s ok 47 /strfuncs/str-equal 1054s ok 48 /strfuncs/str-is-ascii 1054s # Start of ascii-string-to-num tests 1054s ok 49 /strfuncs/ascii-string-to-num/pathological 1054s ok 50 /strfuncs/ascii-string-to-num/usual 1054s # End of ascii-string-to-num tests 1054s # Start of strdup tests 1054s ok 51 /strfuncs/strdup/inline 1054s # End of strdup tests 1054s # End of strfuncs tests 1054s TAP version 14 1054s # random seed: R02S2919a2bfa7e55f903b2f63991287fd52 1054s 1..2 1054s # Start of spawn tests 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_SEDHC3/spawn/basics/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_SEDHC3/spawn/basics/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_SEDHC3/spawn/basics/.dirs/system-config1:/tmp/test_spawn-test_SEDHC3/spawn/basics/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_SEDHC3/spawn/basics/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_SEDHC3/spawn/basics/.dirs/system-data1:/tmp/test_spawn-test_SEDHC3/spawn/basics/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_SEDHC3/spawn/basics/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_SEDHC3/spawn/basics/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_SEDHC3/spawn/basics/.dirs/runtime 1054s ok 1 /spawn/basics 1054s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_SEDHC3/spawn/stdio-overwrite/.dirs/home 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_SEDHC3/spawn/stdio-overwrite/.dirs/cache 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_SEDHC3/spawn/stdio-overwrite/.dirs/system-config1:/tmp/test_spawn-test_SEDHC3/spawn/stdio-overwrite/.dirs/system-config2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_SEDHC3/spawn/stdio-overwrite/.dirs/config 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_SEDHC3/spawn/stdio-overwrite/.dirs/system-data1:/tmp/test_spawn-test_SEDHC3/spawn/stdio-overwrite/.dirs/system-data2 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_SEDHC3/spawn/stdio-overwrite/.dirs/data 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_SEDHC3/spawn/stdio-overwrite/.dirs/state 1054s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_SEDHC3/spawn/stdio-overwrite/.dirs/runtime 1054s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 1054s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 1054s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 1054s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 1054s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 1054s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 1054s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 1054s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 1054s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 1054s # Fetching GSpawn result output with stdin open, stdout open, stderr open 1054s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 1054s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 1054s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 1054s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 1054s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 1054s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 1054s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 1054s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 1054s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 1054s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 1054s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 1054s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 1054s ok - glib/spawn-test.test 1054s # Running test: glib/converter-stream.test 1054s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 1054s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 1054s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 1054s # Fetching GSpawn result with stdin open, stdout open, stderr open 1054s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 1054s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 1054s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 1054s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 1054s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 1054s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 1054s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 1054s ok 2 /spawn/stdio-overwrite 1054s # End of spawn tests 1054s TAP version 14 1054s # random seed: R02S8e956e4df70ca66a6becc74f9a5cd8a9 1054s 1..17 1054s # Start of converter tests 1054s ok 1 /converter/basics 1054s # End of converter tests 1054s # Start of converter-input-stream tests 1054s ok 2 /converter-input-stream/expander 1054s ok 3 /converter-input-stream/compressor 1054s # Start of truncation tests 1054s ok 4 /converter-input-stream/truncation/zlib 1054s ok 5 /converter-input-stream/truncation/gzip 1055s ok 6 /converter-input-stream/truncation/raw 1055s # End of truncation tests 1055s # Start of charset tests 1055s ok 7 /converter-input-stream/charset/utf8->latin1 1055s ok 8 /converter-input-stream/charset/latin1->utf8 1055s ok 9 /converter-input-stream/charset/fallbacks 1055s # End of charset tests 1055s # End of converter-input-stream tests 1055s # Start of converter-output-stream tests 1055s # Start of roundtrip tests 1055s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1055s ok 10 /converter-output-stream/roundtrip/zlib-0 1055s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1055s ok 11 /converter-output-stream/roundtrip/zlib-9 1055s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1055s ok 12 /converter-output-stream/roundtrip/gzip-0 1055s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1055s ok 13 /converter-output-stream/roundtrip/gzip-9 1055s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1055s ok 14 /converter-output-stream/roundtrip/raw-0 1055s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 1055s ok 15 /converter-output-stream/roundtrip/raw-9 1055s # End of roundtrip tests 1055s # End of converter-output-stream tests 1055s # Start of converter-stream tests 1055s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1055s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1a775ead2690 and GSocketClientAsyncConnectData 0x1a775eacadf0 1055s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1055s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1055s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1a775e711780 for GSocketClientAsyncConnectData 0x1a775eacadf0 1055s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1055s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1055s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1055s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1055s ok 16 /converter-stream/pollable 1055s ok 17 /converter-stream/leftover 1055s # End of converter-stream tests 1055s ok - glib/converter-stream.test 1055s # Running test: glib/thread-deprecated.test 1055s TAP version 14 1055s # random seed: R02Sb0dd5d85f0702f07645bdc4f04afff67 1055s 1..6 1055s # Start of thread tests 1056s ok 1 /thread/mutex 1056s ok 2 /thread/static-rec-mutex 1059s # Executing: glib/thread-deprecated.test 1060s ok 3 /thread/static-private 1060s # slow test /thread/static-private executed in 4.41 secs 1064s # Executing: glib/thread-deprecated.test 1065s ok 4 /thread/static-rw-lock 1065s # slow test /thread/static-rw-lock executed in 5.00 secs 1065s ok 5 /thread/once 1069s # Executing: glib/thread-deprecated.test 1074s # Executing: glib/thread-deprecated.test 1075s ok 6 /thread/rerun-all 1075s # slow test /thread/rerun-all executed in 10.02 secs 1075s # End of thread tests 1075s ok - glib/thread-deprecated.test 1075s # Running test: glib/shell.test 1075s TAP version 14 1075s # random seed: R02S2f31ea914ea5949005950331b66725f7 1075s 1..52 1075s # Start of shell tests 1075s # Start of cmdline tests 1075s test cmdline: foo bar 1075s ok 1 /shell/cmdline/0 1075s test cmdline: foo 'bar' 1075s ok 2 /shell/cmdline/1 1076s ok - glib/shell.test 1076s # Running test: glib/memory-monitor-dbus.test 1076s test cmdline: foo "bar" 1076s ok 3 /shell/cmdline/2 1076s test cmdline: foo '' 'bar' 1076s ok 4 /shell/cmdline/3 1076s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 1076s ok 5 /shell/cmdline/4 1076s test cmdline: foo blah foo bar baz 1076s ok 6 /shell/cmdline/5 1076s test cmdline: foo ' spaces more spaces lots of spaces in this ' 1076s ok 7 /shell/cmdline/6 1076s test cmdline: foo \ 1076s bar 1076s ok 8 /shell/cmdline/7 1076s test cmdline: foo '' '' 1076s ok 9 /shell/cmdline/8 1076s test cmdline: foo \" la la la 1076s ok 10 /shell/cmdline/9 1076s test cmdline: foo \ foo woo woo\ 1076s ok 11 /shell/cmdline/10 1076s test cmdline: foo "yada yada \$\"" 1076s ok 12 /shell/cmdline/11 1076s test cmdline: foo "c:\\" 1076s ok 13 /shell/cmdline/12 1076s test cmdline: foo # bla bla bla 1076s bar 1076s ok 14 /shell/cmdline/13 1076s test cmdline: foo a#b 1076s ok 15 /shell/cmdline/14 1076s test cmdline: #foo 1076s ok 16 /shell/cmdline/15 1076s test cmdline: foo bar \ 1076s ok 17 /shell/cmdline/16 1076s test cmdline: foo 'bar baz 1076s ok 18 /shell/cmdline/17 1076s test cmdline: foo '"bar" baz 1076s ok 19 /shell/cmdline/18 1076s test cmdline: 1076s ok 20 /shell/cmdline/19 1076s test cmdline: 1076s ok 21 /shell/cmdline/20 1076s test cmdline: # foo bar 1076s ok 22 /shell/cmdline/21 1076s test cmdline: # 1076s ok 23 /shell/cmdline/22 1076s test cmdline: foo '/bar/summer'\''09 tours.pdf' 1076s ok 24 /shell/cmdline/23 1076s # End of cmdline tests 1076s # Start of quote tests 1076s ok 25 /shell/quote/0 1076s ok 26 /shell/quote/1 1076s ok 27 /shell/quote/2 1076s ok 28 /shell/quote/3 1076s ok 29 /shell/quote/4 1076s ok 30 /shell/quote/5 1076s ok 31 /shell/quote/6 1076s # End of quote tests 1076s # Start of unquote tests 1076s ok 32 /shell/unquote/0 1076s ok 33 /shell/unquote/1 1076s ok 34 /shell/unquote/2 1076s ok 35 /shell/unquote/3 1076s ok 36 /shell/unquote/4 1076s ok 37 /shell/unquote/5 1076s ok 38 /shell/unquote/6 1076s ok 39 /shell/unquote/7 1076s ok 40 /shell/unquote/8 1076s ok 41 /shell/unquote/9 1076s ok 42 /shell/unquote/10 1076s ok 43 /shell/unquote/11 1076s ok 44 /shell/unquote/12 1076s ok 45 /shell/unquote/13 1076s ok 46 /shell/unquote/14 1076s ok 47 /shell/unquote/15 1076s ok 48 /shell/unquote/16 1076s ok 49 /shell/unquote/17 1076s ok 50 /shell/unquote/18 1076s ok 51 /shell/unquote/19 1076s ok 52 /shell/unquote/20 1076s # End of unquote tests 1076s # End of shell tests 1076s TAP version 13 1076s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 1076s 1..1 1076s ok - glib/memory-monitor-dbus.test 1076s # Running test: glib/checksum.test 1076s TAP version 14 1076s # random seed: R02Saab3d86d922af57efae030a2dc014ec2 1076s 1..1851 1076s # Start of checksum tests 1076s ok 1 /checksum/unsupported 1076s # Start of MD5 tests 1076s ok 2 /checksum/MD5/0 1076s ok 3 /checksum/MD5/1 1076s ok 4 /checksum/MD5/2 1076s ok 5 /checksum/MD5/3 1076s ok 6 /checksum/MD5/4 1076s ok 7 /checksum/MD5/5 1076s ok 8 /checksum/MD5/6 1076s ok 9 /checksum/MD5/7 1076s ok 10 /checksum/MD5/8 1076s ok 11 /checksum/MD5/9 1076s ok 12 /checksum/MD5/10 1076s ok 13 /checksum/MD5/11 1076s ok 14 /checksum/MD5/12 1076s ok 15 /checksum/MD5/13 1076s ok 16 /checksum/MD5/14 1076s ok 17 /checksum/MD5/15 1076s ok 18 /checksum/MD5/16 1076s ok 19 /checksum/MD5/17 1076s ok 20 /checksum/MD5/18 1076s ok 21 /checksum/MD5/19 1076s ok 22 /checksum/MD5/20 1076s ok 23 /checksum/MD5/21 1076s ok 24 /checksum/MD5/22 1076s ok 25 /checksum/MD5/23 1076s ok 26 /checksum/MD5/24 1076s ok 27 /checksum/MD5/25 1076s ok 28 /checksum/MD5/26 1076s ok 29 /checksum/MD5/27 1076s ok 30 /checksum/MD5/28 1076s ok 31 /checksum/MD5/29 1076s ok 32 /checksum/MD5/30 1076s ok 33 /checksum/MD5/31 1076s ok 34 /checksum/MD5/32 1076s ok 35 /checksum/MD5/33 1076s ok 36 /checksum/MD5/34 1076s ok 37 /checksum/MD5/35 1076s ok 38 /checksum/MD5/36 1076s ok 39 /checksum/MD5/37 1076s ok 40 /checksum/MD5/38 1076s ok 41 /checksum/MD5/39 1076s ok 42 /checksum/MD5/40 1076s ok 43 /checksum/MD5/41 1076s ok 44 /checksum/MD5/42 1076s ok 45 /checksum/MD5/43 1076s ok 46 /checksum/MD5/44 1076s ok 47 /checksum/MD5/45 1076s ok 48 /checksum/MD5/46 1076s ok 49 /checksum/MD5/47 1076s ok 50 /checksum/MD5/48 1076s ok 51 /checksum/MD5/49 1076s ok 52 /checksum/MD5/50 1076s ok 53 /checksum/MD5/51 1076s ok 54 /checksum/MD5/52 1076s ok 55 /checksum/MD5/53 1076s ok 56 /checksum/MD5/54 1076s ok 57 /checksum/MD5/55 1076s ok 58 /checksum/MD5/56 1076s ok 59 /checksum/MD5/57 1076s ok 60 /checksum/MD5/58 1076s ok 61 /checksum/MD5/59 1076s ok 62 /checksum/MD5/60 1076s ok 63 /checksum/MD5/61 1076s ok 64 /checksum/MD5/62 1076s ok 65 /checksum/MD5/63 1076s ok 66 /checksum/MD5/64 1076s ok 67 /checksum/MD5/65 1076s ok 68 /checksum/MD5/66 1076s ok 69 /checksum/MD5/67 1076s ok 70 /checksum/MD5/68 1076s ok 71 /checksum/MD5/69 1076s ok 72 /checksum/MD5/70 1076s ok 73 /checksum/MD5/71 1076s ok 74 /checksum/MD5/72 1076s ok 75 /checksum/MD5/73 1076s ok 76 /checksum/MD5/74 1076s ok 77 /checksum/MD5/75 1076s ok 78 /checksum/MD5/76 1076s ok 79 /checksum/MD5/77 1076s ok 80 /checksum/MD5/78 1076s ok 81 /checksum/MD5/79 1076s ok 82 /checksum/MD5/80 1076s ok 83 /checksum/MD5/81 1076s ok 84 /checksum/MD5/82 1076s ok 85 /checksum/MD5/83 1076s ok 86 /checksum/MD5/84 1076s ok 87 /checksum/MD5/85 1076s ok 88 /checksum/MD5/86 1076s ok 89 /checksum/MD5/87 1076s ok 90 /checksum/MD5/88 1076s ok 91 /checksum/MD5/89 1076s ok 92 /checksum/MD5/90 1076s ok 93 /checksum/MD5/91 1076s ok 94 /checksum/MD5/92 1076s ok 95 /checksum/MD5/93 1076s ok 96 /checksum/MD5/94 1076s ok 97 /checksum/MD5/95 1076s ok 98 /checksum/MD5/96 1076s ok 99 /checksum/MD5/97 1076s ok 100 /checksum/MD5/98 1076s ok 101 /checksum/MD5/99 1076s ok 102 /checksum/MD5/100 1076s ok 103 /checksum/MD5/101 1076s ok 104 /checksum/MD5/102 1076s ok 105 /checksum/MD5/103 1076s ok 106 /checksum/MD5/104 1076s ok 107 /checksum/MD5/105 1076s ok 108 /checksum/MD5/106 1076s ok 109 /checksum/MD5/107 1076s ok 110 /checksum/MD5/108 1076s ok 111 /checksum/MD5/109 1076s ok 112 /checksum/MD5/110 1076s ok 113 /checksum/MD5/111 1076s ok 114 /checksum/MD5/112 1076s ok 115 /checksum/MD5/113 1076s ok 116 /checksum/MD5/114 1076s ok 117 /checksum/MD5/115 1076s ok 118 /checksum/MD5/116 1076s ok 119 /checksum/MD5/117 1076s ok 120 /checksum/MD5/118 1076s ok 121 /checksum/MD5/119 1076s ok 122 /checksum/MD5/120 1076s ok 123 /checksum/MD5/121 1076s ok 124 /checksum/MD5/122 1076s ok 125 /checksum/MD5/123 1076s ok 126 /checksum/MD5/124 1076s ok 127 /checksum/MD5/125 1076s ok 128 /checksum/MD5/126 1076s ok 129 /checksum/MD5/127 1076s ok 130 /checksum/MD5/128 1076s ok 131 /checksum/MD5/129 1076s ok 132 /checksum/MD5/130 1076s ok 133 /checksum/MD5/131 1076s ok 134 /checksum/MD5/132 1076s ok 135 /checksum/MD5/133 1076s ok 136 /checksum/MD5/134 1076s ok 137 /checksum/MD5/135 1076s ok 138 /checksum/MD5/136 1076s ok 139 /checksum/MD5/137 1076s ok 140 /checksum/MD5/138 1076s ok 141 /checksum/MD5/139 1076s ok 142 /checksum/MD5/140 1076s ok 143 /checksum/MD5/141 1076s ok 144 /checksum/MD5/142 1076s ok 145 /checksum/MD5/143 1076s ok 146 /checksum/MD5/144 1076s ok 147 /checksum/MD5/145 1076s ok 148 /checksum/MD5/146 1076s ok 149 /checksum/MD5/147 1076s ok 150 /checksum/MD5/148 1076s ok 151 /checksum/MD5/149 1076s ok 152 /checksum/MD5/150 1076s ok 153 /checksum/MD5/151 1076s ok 154 /checksum/MD5/152 1076s ok 155 /checksum/MD5/153 1076s ok 156 /checksum/MD5/154 1076s ok 157 /checksum/MD5/155 1076s ok 158 /checksum/MD5/156 1076s ok 159 /checksum/MD5/157 1076s ok 160 /checksum/MD5/158 1076s ok 161 /checksum/MD5/159 1076s ok 162 /checksum/MD5/160 1076s ok 163 /checksum/MD5/161 1076s ok 164 /checksum/MD5/162 1076s ok 165 /checksum/MD5/163 1076s ok 166 /checksum/MD5/164 1076s ok 167 /checksum/MD5/165 1076s ok 168 /checksum/MD5/166 1076s ok 169 /checksum/MD5/167 1076s ok 170 /checksum/MD5/168 1076s ok 171 /checksum/MD5/169 1076s ok 172 /checksum/MD5/170 1076s ok 173 /checksum/MD5/171 1076s ok 174 /checksum/MD5/172 1076s ok 175 /checksum/MD5/173 1076s ok 176 /checksum/MD5/174 1076s ok 177 /checksum/MD5/175 1076s ok 178 /checksum/MD5/176 1076s ok 179 /checksum/MD5/177 1076s ok 180 /checksum/MD5/178 1076s ok 181 /checksum/MD5/179 1076s ok 182 /checksum/MD5/180 1076s ok 183 /checksum/MD5/181 1076s ok 184 /checksum/MD5/182 1076s ok 185 /checksum/MD5/183 1076s ok 186 /checksum/MD5/string 1076s ok 187 /checksum/MD5/bytes 1076s # Start of reset tests 1076s ok 188 /checksum/MD5/reset/0 1076s ok 189 /checksum/MD5/reset/1 1076s ok 190 /checksum/MD5/reset/2 1076s ok 191 /checksum/MD5/reset/3 1076s ok 192 /checksum/MD5/reset/4 1076s ok 193 /checksum/MD5/reset/5 1076s ok 194 /checksum/MD5/reset/6 1076s ok 195 /checksum/MD5/reset/7 1076s ok 196 /checksum/MD5/reset/8 1076s ok 197 /checksum/MD5/reset/9 1076s ok 198 /checksum/MD5/reset/10 1076s ok 199 /checksum/MD5/reset/11 1076s ok 200 /checksum/MD5/reset/12 1076s ok 201 /checksum/MD5/reset/13 1076s ok 202 /checksum/MD5/reset/14 1076s ok 203 /checksum/MD5/reset/15 1076s ok 204 /checksum/MD5/reset/16 1076s ok 205 /checksum/MD5/reset/17 1076s ok 206 /checksum/MD5/reset/18 1076s ok 207 /checksum/MD5/reset/19 1076s ok 208 /checksum/MD5/reset/20 1076s ok 209 /checksum/MD5/reset/21 1076s ok 210 /checksum/MD5/reset/22 1076s ok 211 /checksum/MD5/reset/23 1076s ok 212 /checksum/MD5/reset/24 1076s ok 213 /checksum/MD5/reset/25 1076s ok 214 /checksum/MD5/reset/26 1076s ok 215 /checksum/MD5/reset/27 1076s ok 216 /checksum/MD5/reset/28 1076s ok 217 /checksum/MD5/reset/29 1076s ok 218 /checksum/MD5/reset/30 1076s ok 219 /checksum/MD5/reset/31 1076s ok 220 /checksum/MD5/reset/32 1076s ok 221 /checksum/MD5/reset/33 1076s ok 222 /checksum/MD5/reset/34 1076s ok 223 /checksum/MD5/reset/35 1076s ok 224 /checksum/MD5/reset/36 1076s ok 225 /checksum/MD5/reset/37 1076s ok 226 /checksum/MD5/reset/38 1076s ok 227 /checksum/MD5/reset/39 1076s ok 228 /checksum/MD5/reset/40 1076s ok 229 /checksum/MD5/reset/41 1076s ok 230 /checksum/MD5/reset/42 1076s ok 231 /checksum/MD5/reset/43 1076s ok 232 /checksum/MD5/reset/44 1076s ok 233 /checksum/MD5/reset/45 1076s ok 234 /checksum/MD5/reset/46 1076s ok 235 /checksum/MD5/reset/47 1076s ok 236 /checksum/MD5/reset/48 1076s ok 237 /checksum/MD5/reset/49 1076s ok 238 /checksum/MD5/reset/50 1076s ok 239 /checksum/MD5/reset/51 1076s ok 240 /checksum/MD5/reset/52 1076s ok 241 /checksum/MD5/reset/53 1076s ok 242 /checksum/MD5/reset/54 1076s ok 243 /checksum/MD5/reset/55 1076s ok 244 /checksum/MD5/reset/56 1076s ok 245 /checksum/MD5/reset/57 1076s ok 246 /checksum/MD5/reset/58 1076s ok 247 /checksum/MD5/reset/59 1076s ok 248 /checksum/MD5/reset/60 1076s ok 249 /checksum/MD5/reset/61 1076s ok 250 /checksum/MD5/reset/62 1076s ok 251 /checksum/MD5/reset/63 1076s ok 252 /checksum/MD5/reset/64 1076s ok 253 /checksum/MD5/reset/65 1076s ok 254 /checksum/MD5/reset/66 1076s ok 255 /checksum/MD5/reset/67 1076s ok 256 /checksum/MD5/reset/68 1076s ok 257 /checksum/MD5/reset/69 1076s ok 258 /checksum/MD5/reset/70 1076s ok 259 /checksum/MD5/reset/71 1076s ok 260 /checksum/MD5/reset/72 1076s ok 261 /checksum/MD5/reset/73 1076s ok 262 /checksum/MD5/reset/74 1076s ok 263 /checksum/MD5/reset/75 1076s ok 264 /checksum/MD5/reset/76 1076s ok 265 /checksum/MD5/reset/77 1076s ok 266 /checksum/MD5/reset/78 1076s ok 267 /checksum/MD5/reset/79 1076s ok 268 /checksum/MD5/reset/80 1076s ok 269 /checksum/MD5/reset/81 1076s ok 270 /checksum/MD5/reset/82 1076s ok 271 /checksum/MD5/reset/83 1076s ok 272 /checksum/MD5/reset/84 1076s ok 273 /checksum/MD5/reset/85 1076s ok 274 /checksum/MD5/reset/86 1076s ok 275 /checksum/MD5/reset/87 1076s ok 276 /checksum/MD5/reset/88 1076s ok 277 /checksum/MD5/reset/89 1076s ok 278 /checksum/MD5/reset/90 1076s ok 279 /checksum/MD5/reset/91 1076s ok 280 /checksum/MD5/reset/92 1076s ok 281 /checksum/MD5/reset/93 1076s ok 282 /checksum/MD5/reset/94 1076s ok 283 /checksum/MD5/reset/95 1076s ok 284 /checksum/MD5/reset/96 1076s ok 285 /checksum/MD5/reset/97 1076s ok 286 /checksum/MD5/reset/98 1076s ok 287 /checksum/MD5/reset/99 1076s ok 288 /checksum/MD5/reset/100 1076s ok 289 /checksum/MD5/reset/101 1076s ok 290 /checksum/MD5/reset/102 1076s ok 291 /checksum/MD5/reset/103 1076s ok 292 /checksum/MD5/reset/104 1076s ok 293 /checksum/MD5/reset/105 1076s ok 294 /checksum/MD5/reset/106 1076s ok 295 /checksum/MD5/reset/107 1076s ok 296 /checksum/MD5/reset/108 1076s ok 297 /checksum/MD5/reset/109 1076s ok 298 /checksum/MD5/reset/110 1076s ok 299 /checksum/MD5/reset/111 1076s ok 300 /checksum/MD5/reset/112 1076s ok 301 /checksum/MD5/reset/113 1076s ok 302 /checksum/MD5/reset/114 1076s ok 303 /checksum/MD5/reset/115 1076s ok 304 /checksum/MD5/reset/116 1076s ok 305 /checksum/MD5/reset/117 1076s ok 306 /checksum/MD5/reset/118 1076s ok 307 /checksum/MD5/reset/119 1076s ok 308 /checksum/MD5/reset/120 1076s ok 309 /checksum/MD5/reset/121 1076s ok 310 /checksum/MD5/reset/122 1076s ok 311 /checksum/MD5/reset/123 1076s ok 312 /checksum/MD5/reset/124 1076s ok 313 /checksum/MD5/reset/125 1076s ok 314 /checksum/MD5/reset/126 1076s ok 315 /checksum/MD5/reset/127 1076s ok 316 /checksum/MD5/reset/128 1076s ok 317 /checksum/MD5/reset/129 1076s ok 318 /checksum/MD5/reset/130 1076s ok 319 /checksum/MD5/reset/131 1076s ok 320 /checksum/MD5/reset/132 1076s ok 321 /checksum/MD5/reset/133 1076s ok 322 /checksum/MD5/reset/134 1076s ok 323 /checksum/MD5/reset/135 1076s ok 324 /checksum/MD5/reset/136 1076s ok 325 /checksum/MD5/reset/137 1076s ok 326 /checksum/MD5/reset/138 1076s ok 327 /checksum/MD5/reset/139 1076s ok 328 /checksum/MD5/reset/140 1076s ok 329 /checksum/MD5/reset/141 1076s ok 330 /checksum/MD5/reset/142 1076s ok 331 /checksum/MD5/reset/143 1076s ok 332 /checksum/MD5/reset/144 1076s ok 333 /checksum/MD5/reset/145 1076s ok 334 /checksum/MD5/reset/146 1076s ok 335 /checksum/MD5/reset/147 1076s ok 336 /checksum/MD5/reset/148 1076s ok 337 /checksum/MD5/reset/149 1076s ok 338 /checksum/MD5/reset/150 1076s ok 339 /checksum/MD5/reset/151 1076s ok 340 /checksum/MD5/reset/152 1076s ok 341 /checksum/MD5/reset/153 1076s ok 342 /checksum/MD5/reset/154 1076s ok 343 /checksum/MD5/reset/155 1076s ok 344 /checksum/MD5/reset/156 1076s ok 345 /checksum/MD5/reset/157 1076s ok 346 /checksum/MD5/reset/158 1076s ok 347 /checksum/MD5/reset/159 1076s ok 348 /checksum/MD5/reset/160 1076s ok 349 /checksum/MD5/reset/161 1076s ok 350 /checksum/MD5/reset/162 1076s ok 351 /checksum/MD5/reset/163 1076s ok 352 /checksum/MD5/reset/164 1076s ok 353 /checksum/MD5/reset/165 1076s ok 354 /checksum/MD5/reset/166 1076s ok 355 /checksum/MD5/reset/167 1076s ok 356 /checksum/MD5/reset/168 1076s ok 357 /checksum/MD5/reset/169 1076s ok 358 /checksum/MD5/reset/170 1076s ok 359 /checksum/MD5/reset/171 1076s ok 360 /checksum/MD5/reset/172 1076s ok 361 /checksum/MD5/reset/173 1076s ok 362 /checksum/MD5/reset/174 1076s ok 363 /checksum/MD5/reset/175 1076s ok 364 /checksum/MD5/reset/176 1076s ok 365 /checksum/MD5/reset/177 1076s ok 366 /checksum/MD5/reset/178 1076s ok 367 /checksum/MD5/reset/179 1076s ok 368 /checksum/MD5/reset/180 1076s ok 369 /checksum/MD5/reset/181 1076s ok 370 /checksum/MD5/reset/182 1076s ok 371 /checksum/MD5/reset/183 1076s # End of reset tests 1076s # End of MD5 tests 1076s # Start of SHA1 tests 1076s ok 372 /checksum/SHA1/0 1076s ok 373 /checksum/SHA1/1 1076s ok 374 /checksum/SHA1/2 1076s ok 375 /checksum/SHA1/3 1076s ok 376 /checksum/SHA1/4 1076s ok 377 /checksum/SHA1/5 1076s ok 378 /checksum/SHA1/6 1076s ok 379 /checksum/SHA1/7 1076s ok 380 /checksum/SHA1/8 1076s ok 381 /checksum/SHA1/9 1076s ok 382 /checksum/SHA1/10 1076s ok 383 /checksum/SHA1/11 1076s ok 384 /checksum/SHA1/12 1076s ok 385 /checksum/SHA1/13 1076s ok 386 /checksum/SHA1/14 1076s ok 387 /checksum/SHA1/15 1076s ok 388 /checksum/SHA1/16 1076s ok 389 /checksum/SHA1/17 1076s ok 390 /checksum/SHA1/18 1076s ok 391 /checksum/SHA1/19 1076s ok 392 /checksum/SHA1/20 1076s ok 393 /checksum/SHA1/21 1076s ok 394 /checksum/SHA1/22 1076s ok 395 /checksum/SHA1/23 1076s ok 396 /checksum/SHA1/24 1076s ok 397 /checksum/SHA1/25 1076s ok 398 /checksum/SHA1/26 1076s ok 399 /checksum/SHA1/27 1076s ok 400 /checksum/SHA1/28 1076s ok 401 /checksum/SHA1/29 1076s ok 402 /checksum/SHA1/30 1076s ok 403 /checksum/SHA1/31 1076s ok 404 /checksum/SHA1/32 1076s ok 405 /checksum/SHA1/33 1076s ok 406 /checksum/SHA1/34 1076s ok 407 /checksum/SHA1/35 1076s ok 408 /checksum/SHA1/36 1076s ok 409 /checksum/SHA1/37 1076s ok 410 /checksum/SHA1/38 1076s ok 411 /checksum/SHA1/39 1076s ok 412 /checksum/SHA1/40 1076s ok 413 /checksum/SHA1/41 1076s ok 414 /checksum/SHA1/42 1076s ok 415 /checksum/SHA1/43 1076s ok 416 /checksum/SHA1/44 1076s ok 417 /checksum/SHA1/45 1076s ok 418 /checksum/SHA1/46 1076s ok 419 /checksum/SHA1/47 1076s ok 420 /checksum/SHA1/48 1076s ok 421 /checksum/SHA1/49 1076s ok 422 /checksum/SHA1/50 1076s ok 423 /checksum/SHA1/51 1076s ok 424 /checksum/SHA1/52 1076s ok 425 /checksum/SHA1/53 1076s ok 426 /checksum/SHA1/54 1076s ok 427 /checksum/SHA1/55 1076s ok 428 /checksum/SHA1/56 1076s ok 429 /checksum/SHA1/57 1076s ok 430 /checksum/SHA1/58 1076s ok 431 /checksum/SHA1/59 1076s ok 432 /checksum/SHA1/60 1076s ok 433 /checksum/SHA1/61 1076s ok 434 /checksum/SHA1/62 1076s ok 435 /checksum/SHA1/63 1076s ok 436 /checksum/SHA1/64 1076s ok 437 /checksum/SHA1/65 1076s ok 438 /checksum/SHA1/66 1076s ok 439 /checksum/SHA1/67 1076s ok 440 /checksum/SHA1/68 1076s ok 441 /checksum/SHA1/69 1076s ok 442 /checksum/SHA1/70 1076s ok 443 /checksum/SHA1/71 1076s ok 444 /checksum/SHA1/72 1076s ok 445 /checksum/SHA1/73 1076s ok 446 /checksum/SHA1/74 1076s ok 447 /checksum/SHA1/75 1076s ok 448 /checksum/SHA1/76 1076s ok 449 /checksum/SHA1/77 1076s ok 450 /checksum/SHA1/78 1076s ok 451 /checksum/SHA1/79 1076s ok 452 /checksum/SHA1/80 1076s ok 453 /checksum/SHA1/81 1076s ok 454 /checksum/SHA1/82 1076s ok 455 /checksum/SHA1/83 1076s ok 456 /checksum/SHA1/84 1076s ok 457 /checksum/SHA1/85 1076s ok 458 /checksum/SHA1/86 1076s ok 459 /checksum/SHA1/87 1076s ok 460 /checksum/SHA1/88 1076s ok 461 /checksum/SHA1/89 1076s ok 462 /checksum/SHA1/90 1076s ok 463 /checksum/SHA1/91 1076s ok 464 /checksum/SHA1/92 1076s ok 465 /checksum/SHA1/93 1076s ok 466 /checksum/SHA1/94 1076s ok 467 /checksum/SHA1/95 1076s ok 468 /checksum/SHA1/96 1076s ok 469 /checksum/SHA1/97 1076s ok 470 /checksum/SHA1/98 1076s ok 471 /checksum/SHA1/99 1076s ok 472 /checksum/SHA1/100 1076s ok 473 /checksum/SHA1/101 1076s ok 474 /checksum/SHA1/102 1076s ok 475 /checksum/SHA1/103 1076s ok 476 /checksum/SHA1/104 1076s ok 477 /checksum/SHA1/105 1076s ok 478 /checksum/SHA1/106 1076s ok 479 /checksum/SHA1/107 1076s ok 480 /checksum/SHA1/108 1076s ok 481 /checksum/SHA1/109 1076s ok 482 /checksum/SHA1/110 1076s ok 483 /checksum/SHA1/111 1076s ok 484 /checksum/SHA1/112 1076s ok 485 /checksum/SHA1/113 1076s ok 486 /checksum/SHA1/114 1076s ok 487 /checksum/SHA1/115 1076s ok 488 /checksum/SHA1/116 1076s ok 489 /checksum/SHA1/117 1076s ok 490 /checksum/SHA1/118 1076s ok 491 /checksum/SHA1/119 1076s ok 492 /checksum/SHA1/120 1076s ok 493 /checksum/SHA1/121 1076s ok 494 /checksum/SHA1/122 1076s ok 495 /checksum/SHA1/123 1076s ok 496 /checksum/SHA1/124 1076s ok 497 /checksum/SHA1/125 1076s ok 498 /checksum/SHA1/126 1076s ok 499 /checksum/SHA1/127 1076s ok 500 /checksum/SHA1/128 1076s ok 501 /checksum/SHA1/129 1076s ok 502 /checksum/SHA1/130 1076s ok 503 /checksum/SHA1/131 1076s ok 504 /checksum/SHA1/132 1076s ok 505 /checksum/SHA1/133 1076s ok 506 /checksum/SHA1/134 1076s ok 507 /checksum/SHA1/135 1076s ok 508 /checksum/SHA1/136 1076s ok 509 /checksum/SHA1/137 1076s ok 510 /checksum/SHA1/138 1076s ok 511 /checksum/SHA1/139 1076s ok 512 /checksum/SHA1/140 1076s ok 513 /checksum/SHA1/141 1076s ok 514 /checksum/SHA1/142 1076s ok 515 /checksum/SHA1/143 1076s ok 516 /checksum/SHA1/144 1076s ok 517 /checksum/SHA1/145 1076s ok 518 /checksum/SHA1/146 1076s ok 519 /checksum/SHA1/147 1076s ok 520 /checksum/SHA1/148 1076s ok 521 /checksum/SHA1/149 1076s ok 522 /checksum/SHA1/150 1076s ok 523 /checksum/SHA1/151 1076s ok 524 /checksum/SHA1/152 1076s ok 525 /checksum/SHA1/153 1076s ok 526 /checksum/SHA1/154 1076s ok 527 /checksum/SHA1/155 1076s ok 528 /checksum/SHA1/156 1076s ok 529 /checksum/SHA1/157 1076s ok 530 /checksum/SHA1/158 1076s ok 531 /checksum/SHA1/159 1076s ok 532 /checksum/SHA1/160 1076s ok 533 /checksum/SHA1/161 1076s ok 534 /checksum/SHA1/162 1076s ok 535 /checksum/SHA1/163 1076s ok 536 /checksum/SHA1/164 1076s ok 537 /checksum/SHA1/165 1076s ok 538 /checksum/SHA1/166 1076s ok 539 /checksum/SHA1/167 1076s ok 540 /checksum/SHA1/168 1076s ok 541 /checksum/SHA1/169 1076s ok 542 /checksum/SHA1/170 1076s ok 543 /checksum/SHA1/171 1076s ok 544 /checksum/SHA1/172 1076s ok 545 /checksum/SHA1/173 1076s ok 546 /checksum/SHA1/174 1076s ok 547 /checksum/SHA1/175 1076s ok 548 /checksum/SHA1/176 1076s ok 549 /checksum/SHA1/177 1076s ok 550 /checksum/SHA1/178 1076s ok 551 /checksum/SHA1/179 1076s ok 552 /checksum/SHA1/180 1076s ok 553 /checksum/SHA1/181 1076s ok 554 /checksum/SHA1/182 1076s ok 555 /checksum/SHA1/183 1076s ok 556 /checksum/SHA1/string 1076s ok 557 /checksum/SHA1/bytes 1076s # Start of reset tests 1076s ok 558 /checksum/SHA1/reset/0 1076s ok 559 /checksum/SHA1/reset/1 1076s ok 560 /checksum/SHA1/reset/2 1076s ok 561 /checksum/SHA1/reset/3 1076s ok 562 /checksum/SHA1/reset/4 1076s ok 563 /checksum/SHA1/reset/5 1076s ok 564 /checksum/SHA1/reset/6 1076s ok 565 /checksum/SHA1/reset/7 1076s ok 566 /checksum/SHA1/reset/8 1076s ok 567 /checksum/SHA1/reset/9 1076s ok 568 /checksum/SHA1/reset/10 1076s ok 569 /checksum/SHA1/reset/11 1076s ok 570 /checksum/SHA1/reset/12 1076s ok 571 /checksum/SHA1/reset/13 1076s ok 572 /checksum/SHA1/reset/14 1076s ok 573 /checksum/SHA1/reset/15 1076s ok 574 /checksum/SHA1/reset/16 1076s ok 575 /checksum/SHA1/reset/17 1076s ok 576 /checksum/SHA1/reset/18 1076s ok 577 /checksum/SHA1/reset/19 1076s ok 578 /checksum/SHA1/reset/20 1076s ok 579 /checksum/SHA1/reset/21 1076s ok 580 /checksum/SHA1/reset/22 1076s ok 581 /checksum/SHA1/reset/23 1076s ok 582 /checksum/SHA1/reset/24 1076s ok 583 /checksum/SHA1/reset/25 1076s ok 584 /checksum/SHA1/reset/26 1076s ok 585 /checksum/SHA1/reset/27 1076s ok 586 /checksum/SHA1/reset/28 1076s ok 587 /checksum/SHA1/reset/29 1076s ok 588 /checksum/SHA1/reset/30 1076s ok 589 /checksum/SHA1/reset/31 1076s ok 590 /checksum/SHA1/reset/32 1076s ok 591 /checksum/SHA1/reset/33 1076s ok 592 /checksum/SHA1/reset/34 1076s ok 593 /checksum/SHA1/reset/35 1076s ok 594 /checksum/SHA1/reset/36 1076s ok 595 /checksum/SHA1/reset/37 1076s ok 596 /checksum/SHA1/reset/38 1076s ok 597 /checksum/SHA1/reset/39 1076s ok 598 /checksum/SHA1/reset/40 1076s ok 599 /checksum/SHA1/reset/41 1076s ok 600 /checksum/SHA1/reset/42 1076s ok 601 /checksum/SHA1/reset/43 1076s ok 602 /checksum/SHA1/reset/44 1076s ok 603 /checksum/SHA1/reset/45 1076s ok 604 /checksum/SHA1/reset/46 1076s ok 605 /checksum/SHA1/reset/47 1076s ok 606 /checksum/SHA1/reset/48 1076s ok 607 /checksum/SHA1/reset/49 1076s ok 608 /checksum/SHA1/reset/50 1076s ok 609 /checksum/SHA1/reset/51 1076s ok 610 /checksum/SHA1/reset/52 1076s ok 611 /checksum/SHA1/reset/53 1076s ok 612 /checksum/SHA1/reset/54 1076s ok 613 /checksum/SHA1/reset/55 1076s ok 614 /checksum/SHA1/reset/56 1076s ok 615 /checksum/SHA1/reset/57 1076s ok 616 /checksum/SHA1/reset/58 1076s ok 617 /checksum/SHA1/reset/59 1076s ok 618 /checksum/SHA1/reset/60 1076s ok 619 /checksum/SHA1/reset/61 1076s ok 620 /checksum/SHA1/reset/62 1076s ok 621 /checksum/SHA1/reset/63 1076s ok 622 /checksum/SHA1/reset/64 1076s ok 623 /checksum/SHA1/reset/65 1076s ok 624 /checksum/SHA1/reset/66 1076s ok 625 /checksum/SHA1/reset/67 1076s ok 626 /checksum/SHA1/reset/68 1076s ok 627 /checksum/SHA1/reset/69 1076s ok 628 /checksum/SHA1/reset/70 1076s ok 629 /checksum/SHA1/reset/71 1076s ok 630 /checksum/SHA1/reset/72 1076s ok 631 /checksum/SHA1/reset/73 1076s ok 632 /checksum/SHA1/reset/74 1076s ok 633 /checksum/SHA1/reset/75 1076s ok 634 /checksum/SHA1/reset/76 1076s ok 635 /checksum/SHA1/reset/77 1076s ok 636 /checksum/SHA1/reset/78 1076s ok 637 /checksum/SHA1/reset/79 1076s ok 638 /checksum/SHA1/reset/80 1076s ok 639 /checksum/SHA1/reset/81 1076s ok 640 /checksum/SHA1/reset/82 1076s ok 641 /checksum/SHA1/reset/83 1076s ok 642 /checksum/SHA1/reset/84 1076s ok 643 /checksum/SHA1/reset/85 1076s ok 644 /checksum/SHA1/reset/86 1076s ok 645 /checksum/SHA1/reset/87 1076s ok 646 /checksum/SHA1/reset/88 1076s ok 647 /checksum/SHA1/reset/89 1076s ok 648 /checksum/SHA1/reset/90 1076s ok 649 /checksum/SHA1/reset/91 1076s ok 650 /checksum/SHA1/reset/92 1076s ok 651 /checksum/SHA1/reset/93 1076s ok 652 /checksum/SHA1/reset/94 1076s ok 653 /checksum/SHA1/reset/95 1076s ok 654 /checksum/SHA1/reset/96 1076s ok 655 /checksum/SHA1/reset/97 1076s ok 656 /checksum/SHA1/reset/98 1076s ok 657 /checksum/SHA1/reset/99 1076s ok 658 /checksum/SHA1/reset/100 1076s ok 659 /checksum/SHA1/reset/101 1076s ok 660 /checksum/SHA1/reset/102 1076s ok 661 /checksum/SHA1/reset/103 1076s ok 662 /checksum/SHA1/reset/104 1076s ok 663 /checksum/SHA1/reset/105 1076s ok 664 /checksum/SHA1/reset/106 1076s ok 665 /checksum/SHA1/reset/107 1076s ok 666 /checksum/SHA1/reset/108 1076s ok 667 /checksum/SHA1/reset/109 1076s ok 668 /checksum/SHA1/reset/110 1076s ok 669 /checksum/SHA1/reset/111 1076s ok 670 /checksum/SHA1/reset/112 1076s ok 671 /checksum/SHA1/reset/113 1076s ok 672 /checksum/SHA1/reset/114 1076s ok 673 /checksum/SHA1/reset/115 1076s ok 674 /checksum/SHA1/reset/116 1076s ok 675 /checksum/SHA1/reset/117 1076s ok 676 /checksum/SHA1/reset/118 1076s ok 677 /checksum/SHA1/reset/119 1076s ok 678 /checksum/SHA1/reset/120 1076s ok 679 /checksum/SHA1/reset/121 1076s ok 680 /checksum/SHA1/reset/122 1076s ok 681 /checksum/SHA1/reset/123 1076s ok 682 /checksum/SHA1/reset/124 1076s ok 683 /checksum/SHA1/reset/125 1076s ok 684 /checksum/SHA1/reset/126 1076s ok 685 /checksum/SHA1/reset/127 1076s ok 686 /checksum/SHA1/reset/128 1076s ok 687 /checksum/SHA1/reset/129 1076s ok 688 /checksum/SHA1/reset/130 1076s ok 689 /checksum/SHA1/reset/131 1076s ok 690 /checksum/SHA1/reset/132 1076s ok 691 /checksum/SHA1/reset/133 1076s ok 692 /checksum/SHA1/reset/134 1076s ok 693 /checksum/SHA1/reset/135 1076s ok 694 /checksum/SHA1/reset/136 1076s ok 695 /checksum/SHA1/reset/137 1076s ok 696 /checksum/SHA1/reset/138 1076s ok 697 /checksum/SHA1/reset/139 1076s ok 698 /checksum/SHA1/reset/140 1076s ok 699 /checksum/SHA1/reset/141 1076s ok 700 /checksum/SHA1/reset/142 1076s ok 701 /checksum/SHA1/reset/143 1076s ok 702 /checksum/SHA1/reset/144 1076s ok 703 /checksum/SHA1/reset/145 1076s ok 704 /checksum/SHA1/reset/146 1076s ok 705 /checksum/SHA1/reset/147 1076s ok 706 /checksum/SHA1/reset/148 1076s ok 707 /checksum/SHA1/reset/149 1076s ok 708 /checksum/SHA1/reset/150 1076s ok 709 /checksum/SHA1/reset/151 1076s ok 710 /checksum/SHA1/reset/152 1076s ok 711 /checksum/SHA1/reset/153 1076s ok 712 /checksum/SHA1/reset/154 1076s ok 713 /checksum/SHA1/reset/155 1076s ok 714 /checksum/SHA1/reset/156 1076s ok 715 /checksum/SHA1/reset/157 1076s ok 716 /checksum/SHA1/reset/158 1076s ok 717 /checksum/SHA1/reset/159 1076s ok 718 /checksum/SHA1/reset/160 1076s ok 719 /checksum/SHA1/reset/161 1076s ok 720 /checksum/SHA1/reset/162 1076s ok 721 /checksum/SHA1/reset/163 1076s ok 722 /checksum/SHA1/reset/164 1076s ok 723 /checksum/SHA1/reset/165 1076s ok 724 /checksum/SHA1/reset/166 1076s ok 725 /checksum/SHA1/reset/167 1076s ok 726 /checksum/SHA1/reset/168 1076s ok 727 /checksum/SHA1/reset/169 1076s ok 728 /checksum/SHA1/reset/170 1076s ok 729 /checksum/SHA1/reset/171 1076s ok 730 /checksum/SHA1/reset/172 1076s ok 731 /checksum/SHA1/reset/173 1076s ok 732 /checksum/SHA1/reset/174 1076s ok 733 /checksum/SHA1/reset/175 1076s ok 734 /checksum/SHA1/reset/176 1076s ok 735 /checksum/SHA1/reset/177 1076s ok 736 /checksum/SHA1/reset/178 1076s ok 737 /checksum/SHA1/reset/179 1076s ok 738 /checksum/SHA1/reset/180 1076s ok 739 /checksum/SHA1/reset/181 1076s ok 740 /checksum/SHA1/reset/182 1076s ok 741 /checksum/SHA1/reset/183 1076s # End of reset tests 1076s # End of SHA1 tests 1076s # Start of SHA256 tests 1076s ok 742 /checksum/SHA256/0 1076s ok 743 /checksum/SHA256/1 1076s ok 744 /checksum/SHA256/2 1076s ok 745 /checksum/SHA256/3 1076s ok 746 /checksum/SHA256/4 1076s ok 747 /checksum/SHA256/5 1076s ok 748 /checksum/SHA256/6 1076s ok 749 /checksum/SHA256/7 1076s ok 750 /checksum/SHA256/8 1076s ok 751 /checksum/SHA256/9 1076s ok 752 /checksum/SHA256/10 1076s ok 753 /checksum/SHA256/11 1076s ok 754 /checksum/SHA256/12 1076s ok 755 /checksum/SHA256/13 1076s ok 756 /checksum/SHA256/14 1076s ok 757 /checksum/SHA256/15 1076s ok 758 /checksum/SHA256/16 1076s ok 759 /checksum/SHA256/17 1076s ok 760 /checksum/SHA256/18 1076s ok 761 /checksum/SHA256/19 1076s ok 762 /checksum/SHA256/20 1076s ok 763 /checksum/SHA256/21 1076s ok 764 /checksum/SHA256/22 1076s ok 765 /checksum/SHA256/23 1076s ok 766 /checksum/SHA256/24 1076s ok 767 /checksum/SHA256/25 1076s ok 768 /checksum/SHA256/26 1076s ok 769 /checksum/SHA256/27 1076s ok 770 /checksum/SHA256/28 1076s ok 771 /checksum/SHA256/29 1076s ok 772 /checksum/SHA256/30 1076s ok 773 /checksum/SHA256/31 1076s ok 774 /checksum/SHA256/32 1076s ok 775 /checksum/SHA256/33 1076s ok 776 /checksum/SHA256/34 1076s ok 777 /checksum/SHA256/35 1076s ok 778 /checksum/SHA256/36 1076s ok 779 /checksum/SHA256/37 1076s ok 780 /checksum/SHA256/38 1076s ok 781 /checksum/SHA256/39 1076s ok 782 /checksum/SHA256/40 1076s ok 783 /checksum/SHA256/41 1076s ok 784 /checksum/SHA256/42 1076s ok 785 /checksum/SHA256/43 1076s ok 786 /checksum/SHA256/44 1076s ok 787 /checksum/SHA256/45 1076s ok 788 /checksum/SHA256/46 1076s ok 789 /checksum/SHA256/47 1076s ok 790 /checksum/SHA256/48 1076s ok 791 /checksum/SHA256/49 1076s ok 792 /checksum/SHA256/50 1076s ok 793 /checksum/SHA256/51 1076s ok 794 /checksum/SHA256/52 1076s ok 795 /checksum/SHA256/53 1076s ok 796 /checksum/SHA256/54 1076s ok 797 /checksum/SHA256/55 1076s ok 798 /checksum/SHA256/56 1076s ok 799 /checksum/SHA256/57 1076s ok 800 /checksum/SHA256/58 1076s ok 801 /checksum/SHA256/59 1076s ok 802 /checksum/SHA256/60 1076s ok 803 /checksum/SHA256/61 1076s ok 804 /checksum/SHA256/62 1076s ok 805 /checksum/SHA256/63 1076s ok 806 /checksum/SHA256/64 1076s ok 807 /checksum/SHA256/65 1076s ok 808 /checksum/SHA256/66 1076s ok 809 /checksum/SHA256/67 1076s ok 810 /checksum/SHA256/68 1076s ok 811 /checksum/SHA256/69 1076s ok 812 /checksum/SHA256/70 1076s ok 813 /checksum/SHA256/71 1076s ok 814 /checksum/SHA256/72 1076s ok 815 /checksum/SHA256/73 1076s ok 816 /checksum/SHA256/74 1076s ok 817 /checksum/SHA256/75 1076s ok 818 /checksum/SHA256/76 1076s ok 819 /checksum/SHA256/77 1076s ok 820 /checksum/SHA256/78 1076s ok 821 /checksum/SHA256/79 1076s ok 822 /checksum/SHA256/80 1076s ok 823 /checksum/SHA256/81 1076s ok 824 /checksum/SHA256/82 1076s ok 825 /checksum/SHA256/83 1076s ok 826 /checksum/SHA256/84 1076s ok 827 /checksum/SHA256/85 1076s ok 828 /checksum/SHA256/86 1076s ok 829 /checksum/SHA256/87 1076s ok 830 /checksum/SHA256/88 1076s ok 831 /checksum/SHA256/89 1076s ok 832 /checksum/SHA256/90 1076s ok 833 /checksum/SHA256/91 1076s ok 834 /checksum/SHA256/92 1076s ok 835 /checksum/SHA256/93 1076s ok 836 /checksum/SHA256/94 1076s ok 837 /checksum/SHA256/95 1076s ok 838 /checksum/SHA256/96 1076s ok 839 /checksum/SHA256/97 1076s ok 840 /checksum/SHA256/98 1076s ok 841 /checksum/SHA256/99 1076s ok 842 /checksum/SHA256/100 1076s ok 843 /checksum/SHA256/101 1076s ok 844 /checksum/SHA256/102 1076s ok 845 /checksum/SHA256/103 1076s ok 846 /checksum/SHA256/104 1076s ok 847 /checksum/SHA256/105 1076s ok 848 /checksum/SHA256/106 1076s ok 849 /checksum/SHA256/107 1076s ok 850 /checksum/SHA256/108 1076s ok 851 /checksum/SHA256/109 1076s ok 852 /checksum/SHA256/110 1076s ok 853 /checksum/SHA256/111 1076s ok 854 /checksum/SHA256/112 1076s ok 855 /checksum/SHA256/113 1076s ok 856 /checksum/SHA256/114 1076s ok 857 /checksum/SHA256/115 1076s ok 858 /checksum/SHA256/116 1076s ok 859 /checksum/SHA256/117 1076s ok 860 /checksum/SHA256/118 1076s ok 861 /checksum/SHA256/119 1076s ok 862 /checksum/SHA256/120 1076s ok 863 /checksum/SHA256/121 1076s ok 864 /checksum/SHA256/122 1076s ok 865 /checksum/SHA256/123 1076s ok 866 /checksum/SHA256/124 1076s ok 867 /checksum/SHA256/125 1076s ok 868 /checksum/SHA256/126 1076s ok 869 /checksum/SHA256/127 1076s ok 870 /checksum/SHA256/128 1076s ok 871 /checksum/SHA256/129 1076s ok 872 /checksum/SHA256/130 1076s ok 873 /checksum/SHA256/131 1076s ok 874 /checksum/SHA256/132 1076s ok 875 /checksum/SHA256/133 1076s ok 876 /checksum/SHA256/134 1076s ok 877 /checksum/SHA256/135 1076s ok 878 /checksum/SHA256/136 1076s ok 879 /checksum/SHA256/137 1076s ok 880 /checksum/SHA256/138 1076s ok 881 /checksum/SHA256/139 1076s ok 882 /checksum/SHA256/140 1076s ok 883 /checksum/SHA256/141 1076s ok 884 /checksum/SHA256/142 1076s ok 885 /checksum/SHA256/143 1076s ok 886 /checksum/SHA256/144 1076s ok 887 /checksum/SHA256/145 1076s ok 888 /checksum/SHA256/146 1076s ok 889 /checksum/SHA256/147 1076s ok 890 /checksum/SHA256/148 1076s ok 891 /checksum/SHA256/149 1076s ok 892 /checksum/SHA256/150 1076s ok 893 /checksum/SHA256/151 1076s ok 894 /checksum/SHA256/152 1076s ok 895 /checksum/SHA256/153 1076s ok 896 /checksum/SHA256/154 1076s ok 897 /checksum/SHA256/155 1076s ok 898 /checksum/SHA256/156 1076s ok 899 /checksum/SHA256/157 1076s ok 900 /checksum/SHA256/158 1076s ok 901 /checksum/SHA256/159 1076s ok 902 /checksum/SHA256/160 1076s ok 903 /checksum/SHA256/161 1076s ok 904 /checksum/SHA256/162 1076s ok 905 /checksum/SHA256/163 1076s ok 906 /checksum/SHA256/164 1076s ok 907 /checksum/SHA256/165 1076s ok 908 /checksum/SHA256/166 1076s ok 909 /checksum/SHA256/167 1076s ok 910 /checksum/SHA256/168 1076s ok 911 /checksum/SHA256/169 1076s ok 912 /checksum/SHA256/170 1076s ok 913 /checksum/SHA256/171 1076s ok 914 /checksum/SHA256/172 1076s ok 915 /checksum/SHA256/173 1076s ok 916 /checksum/SHA256/174 1076s ok 917 /checksum/SHA256/175 1076s ok 918 /checksum/SHA256/176 1076s ok 919 /checksum/SHA256/177 1076s ok 920 /checksum/SHA256/178 1076s ok 921 /checksum/SHA256/179 1076s ok 922 /checksum/SHA256/180 1076s ok 923 /checksum/SHA256/181 1076s ok 924 /checksum/SHA256/182 1076s ok 925 /checksum/SHA256/183 1076s ok 926 /checksum/SHA256/string 1076s ok 927 /checksum/SHA256/bytes 1076s # Start of reset tests 1076s ok 928 /checksum/SHA256/reset/0 1076s ok 929 /checksum/SHA256/reset/1 1076s ok 930 /checksum/SHA256/reset/2 1076s ok 931 /checksum/SHA256/reset/3 1076s ok 932 /checksum/SHA256/reset/4 1076s ok 933 /checksum/SHA256/reset/5 1076s ok 934 /checksum/SHA256/reset/6 1076s ok 935 /checksum/SHA256/reset/7 1076s ok 936 /checksum/SHA256/reset/8 1076s ok 937 /checksum/SHA256/reset/9 1076s ok 938 /checksum/SHA256/reset/10 1076s ok 939 /checksum/SHA256/reset/11 1076s ok 940 /checksum/SHA256/reset/12 1076s ok 941 /checksum/SHA256/reset/13 1076s ok 942 /checksum/SHA256/reset/14 1076s ok 943 /checksum/SHA256/reset/15 1076s ok 944 /checksum/SHA256/reset/16 1076s ok 945 /checksum/SHA256/reset/17 1076s ok 946 /checksum/SHA256/reset/18 1076s ok 947 /checksum/SHA256/reset/19 1076s ok 948 /checksum/SHA256/reset/20 1076s ok 949 /checksum/SHA256/reset/21 1076s ok 950 /checksum/SHA256/reset/22 1076s ok 951 /checksum/SHA256/reset/23 1076s ok 952 /checksum/SHA256/reset/24 1076s ok 953 /checksum/SHA256/reset/25 1076s ok 954 /checksum/SHA256/reset/26 1076s ok 955 /checksum/SHA256/reset/27 1076s ok 956 /checksum/SHA256/reset/28 1076s ok 957 /checksum/SHA256/reset/29 1076s ok 958 /checksum/SHA256/reset/30 1076s ok 959 /checksum/SHA256/reset/31 1076s ok 960 /checksum/SHA256/reset/32 1076s ok 961 /checksum/SHA256/reset/33 1076s ok 962 /checksum/SHA256/reset/34 1076s ok 963 /checksum/SHA256/reset/35 1076s ok 964 /checksum/SHA256/reset/36 1076s ok 965 /checksum/SHA256/reset/37 1076s ok 966 /checksum/SHA256/reset/38 1076s ok 967 /checksum/SHA256/reset/39 1076s ok 968 /checksum/SHA256/reset/40 1076s ok 969 /checksum/SHA256/reset/41 1076s ok 970 /checksum/SHA256/reset/42 1076s ok 971 /checksum/SHA256/reset/43 1076s ok 972 /checksum/SHA256/reset/44 1076s ok 973 /checksum/SHA256/reset/45 1076s ok 974 /checksum/SHA256/reset/46 1076s ok 975 /checksum/SHA256/reset/47 1076s ok 976 /checksum/SHA256/reset/48 1076s ok 977 /checksum/SHA256/reset/49 1076s ok 978 /checksum/SHA256/reset/50 1076s ok 979 /checksum/SHA256/reset/51 1076s ok 980 /checksum/SHA256/reset/52 1076s ok 981 /checksum/SHA256/reset/53 1076s ok 982 /checksum/SHA256/reset/54 1076s ok 983 /checksum/SHA256/reset/55 1076s ok 984 /checksum/SHA256/reset/56 1076s ok 985 /checksum/SHA256/reset/57 1076s ok 986 /checksum/SHA256/reset/58 1076s ok 987 /checksum/SHA256/reset/59 1076s ok 988 /checksum/SHA256/reset/60 1076s ok 989 /checksum/SHA256/reset/61 1076s ok 990 /checksum/SHA256/reset/62 1076s ok 991 /checksum/SHA256/reset/63 1076s ok 992 /checksum/SHA256/reset/64 1076s ok 993 /checksum/SHA256/reset/65 1076s ok 994 /checksum/SHA256/reset/66 1076s ok 995 /checksum/SHA256/reset/67 1076s ok 996 /checksum/SHA256/reset/68 1076s ok 997 /checksum/SHA256/reset/69 1076s ok 998 /checksum/SHA256/reset/70 1076s ok 999 /checksum/SHA256/reset/71 1076s ok 1000 /checksum/SHA256/reset/72 1076s ok 1001 /checksum/SHA256/reset/73 1076s ok 1002 /checksum/SHA256/reset/74 1076s ok 1003 /checksum/SHA256/reset/75 1076s ok 1004 /checksum/SHA256/reset/76 1076s ok 1005 /checksum/SHA256/reset/77 1076s ok 1006 /checksum/SHA256/reset/78 1076s ok 1007 /checksum/SHA256/reset/79 1076s ok 1008 /checksum/SHA256/reset/80 1076s ok 1009 /checksum/SHA256/reset/81 1076s ok 1010 /checksum/SHA256/reset/82 1076s ok 1011 /checksum/SHA256/reset/83 1076s ok 1012 /checksum/SHA256/reset/84 1076s ok 1013 /checksum/SHA256/reset/85 1076s ok 1014 /checksum/SHA256/reset/86 1076s ok 1015 /checksum/SHA256/reset/87 1076s ok 1016 /checksum/SHA256/reset/88 1076s ok 1017 /checksum/SHA256/reset/89 1076s ok 1018 /checksum/SHA256/reset/90 1076s ok 1019 /checksum/SHA256/reset/91 1076s ok 1020 /checksum/SHA256/reset/92 1076s ok 1021 /checksum/SHA256/reset/93 1076s ok 1022 /checksum/SHA256/reset/94 1076s ok 1023 /checksum/SHA256/reset/95 1076s ok 1024 /checksum/SHA256/reset/96 1076s ok 1025 /checksum/SHA256/reset/97 1076s ok 1026 /checksum/SHA256/reset/98 1076s ok 1027 /checksum/SHA256/reset/99 1076s ok 1028 /checksum/SHA256/reset/100 1076s ok 1029 /checksum/SHA256/reset/101 1076s ok 1030 /checksum/SHA256/reset/102 1076s ok 1031 /checksum/SHA256/reset/103 1076s ok 1032 /checksum/SHA256/reset/104 1076s ok 1033 /checksum/SHA256/reset/105 1076s ok 1034 /checksum/SHA256/reset/106 1076s ok 1035 /checksum/SHA256/reset/107 1076s ok 1036 /checksum/SHA256/reset/108 1076s ok 1037 /checksum/SHA256/reset/109 1076s ok 1038 /checksum/SHA256/reset/110 1076s ok 1039 /checksum/SHA256/reset/111 1076s ok 1040 /checksum/SHA256/reset/112 1076s ok 1041 /checksum/SHA256/reset/113 1076s ok 1042 /checksum/SHA256/reset/114 1076s ok 1043 /checksum/SHA256/reset/115 1076s ok 1044 /checksum/SHA256/reset/116 1076s ok 1045 /checksum/SHA256/reset/117 1076s ok 1046 /checksum/SHA256/reset/118 1076s ok 1047 /checksum/SHA256/reset/119 1076s ok 1048 /checksum/SHA256/reset/120 1076s ok 1049 /checksum/SHA256/reset/121 1076s ok 1050 /checksum/SHA256/reset/122 1076s ok 1051 /checksum/SHA256/reset/123 1076s ok 1052 /checksum/SHA256/reset/124 1076s ok 1053 /checksum/SHA256/reset/125 1076s ok 1054 /checksum/SHA256/reset/126 1076s ok 1055 /checksum/SHA256/reset/127 1076s ok 1056 /checksum/SHA256/reset/128 1076s ok 1057 /checksum/SHA256/reset/129 1076s ok 1058 /checksum/SHA256/reset/130 1076s ok 1059 /checksum/SHA256/reset/131 1076s ok 1060 /checksum/SHA256/reset/132 1076s ok 1061 /checksum/SHA256/reset/133 1076s ok 1062 /checksum/SHA256/reset/134 1076s ok 1063 /checksum/SHA256/reset/135 1076s ok 1064 /checksum/SHA256/reset/136 1076s ok 1065 /checksum/SHA256/reset/137 1076s ok 1066 /checksum/SHA256/reset/138 1076s ok 1067 /checksum/SHA256/reset/139 1076s ok 1068 /checksum/SHA256/reset/140 1076s ok 1069 /checksum/SHA256/reset/141 1076s ok 1070 /checksum/SHA256/reset/142 1076s ok 1071 /checksum/SHA256/reset/143 1076s ok 1072 /checksum/SHA256/reset/144 1076s ok 1073 /checksum/SHA256/reset/145 1076s ok 1074 /checksum/SHA256/reset/146 1076s ok 1075 /checksum/SHA256/reset/147 1076s ok 1076 /checksum/SHA256/reset/148 1076s ok 1077 /checksum/SHA256/reset/149 1076s ok 1078 /checksum/SHA256/reset/150 1076s ok 1079 /checksum/SHA256/reset/151 1076s ok 1080 /checksum/SHA256/reset/152 1076s ok 1081 /checksum/SHA256/reset/153 1076s ok 1082 /checksum/SHA256/reset/154 1076s ok 1083 /checksum/SHA256/reset/155 1076s ok 1084 /checksum/SHA256/reset/156 1076s ok 1085 /checksum/SHA256/reset/157 1076s ok 1086 /checksum/SHA256/reset/158 1076s ok 1087 /checksum/SHA256/reset/159 1076s ok 1088 /checksum/SHA256/reset/160 1076s ok 1089 /checksum/SHA256/reset/161 1076s ok 1090 /checksum/SHA256/reset/162 1076s ok 1091 /checksum/SHA256/reset/163 1076s ok 1092 /checksum/SHA256/reset/164 1076s ok 1093 /checksum/SHA256/reset/165 1076s ok 1094 /checksum/SHA256/reset/166 1076s ok 1095 /checksum/SHA256/reset/167 1076s ok 1096 /checksum/SHA256/reset/168 1076s ok 1097 /checksum/SHA256/reset/169 1076s ok 1098 /checksum/SHA256/reset/170 1076s ok 1099 /checksum/SHA256/reset/171 1076s ok 1100 /checksum/SHA256/reset/172 1076s ok 1101 /checksum/SHA256/reset/173 1076s ok 1102 /checksum/SHA256/reset/174 1076s ok 1103 /checksum/SHA256/reset/175 1076s ok 1104 /checksum/SHA256/reset/176 1076s ok 1105 /checksum/SHA256/reset/177 1076s ok 1106 /checksum/SHA256/reset/178 1076s ok 1107 /checksum/SHA256/reset/179 1076s ok 1108 /checksum/SHA256/reset/180 1076s ok 1109 /checksum/SHA256/reset/181 1076s ok 1110 /checksum/SHA256/reset/182 1076s ok 1111 /checksum/SHA256/reset/183 1076s # End of reset tests 1076s # End of SHA256 tests 1076s # Start of SHA384 tests 1076s ok 1112 /checksum/SHA384/0 1076s ok 1113 /checksum/SHA384/1 1076s ok 1114 /checksum/SHA384/2 1076s ok 1115 /checksum/SHA384/3 1076s ok 1116 /checksum/SHA384/4 1076s ok 1117 /checksum/SHA384/5 1076s ok 1118 /checksum/SHA384/6 1076s ok 1119 /checksum/SHA384/7 1076s ok 1120 /checksum/SHA384/8 1076s ok 1121 /checksum/SHA384/9 1076s ok 1122 /checksum/SHA384/10 1076s ok 1123 /checksum/SHA384/11 1076s ok 1124 /checksum/SHA384/12 1076s ok 1125 /checksum/SHA384/13 1076s ok 1126 /checksum/SHA384/14 1076s ok 1127 /checksum/SHA384/15 1076s ok 1128 /checksum/SHA384/16 1076s ok 1129 /checksum/SHA384/17 1076s ok 1130 /checksum/SHA384/18 1076s ok 1131 /checksum/SHA384/19 1076s ok 1132 /checksum/SHA384/20 1076s ok 1133 /checksum/SHA384/21 1076s ok 1134 /checksum/SHA384/22 1076s ok 1135 /checksum/SHA384/23 1076s ok 1136 /checksum/SHA384/24 1076s ok 1137 /checksum/SHA384/25 1076s ok 1138 /checksum/SHA384/26 1076s ok 1139 /checksum/SHA384/27 1076s ok 1140 /checksum/SHA384/28 1076s ok 1141 /checksum/SHA384/29 1076s ok 1142 /checksum/SHA384/30 1076s ok 1143 /checksum/SHA384/31 1076s ok 1144 /checksum/SHA384/32 1076s ok 1145 /checksum/SHA384/33 1076s ok 1146 /checksum/SHA384/34 1076s ok 1147 /checksum/SHA384/35 1076s ok 1148 /checksum/SHA384/36 1076s ok 1149 /checksum/SHA384/37 1076s ok 1150 /checksum/SHA384/38 1076s ok 1151 /checksum/SHA384/39 1076s ok 1152 /checksum/SHA384/40 1076s ok 1153 /checksum/SHA384/41 1076s ok 1154 /checksum/SHA384/42 1076s ok 1155 /checksum/SHA384/43 1076s ok 1156 /checksum/SHA384/44 1076s ok 1157 /checksum/SHA384/45 1076s ok 1158 /checksum/SHA384/46 1076s ok 1159 /checksum/SHA384/47 1076s ok 1160 /checksum/SHA384/48 1076s ok 1161 /checksum/SHA384/49 1076s ok 1162 /checksum/SHA384/50 1076s ok 1163 /checksum/SHA384/51 1076s ok 1164 /checksum/SHA384/52 1076s ok 1165 /checksum/SHA384/53 1076s ok 1166 /checksum/SHA384/54 1076s ok 1167 /checksum/SHA384/55 1076s ok 1168 /checksum/SHA384/56 1076s ok 1169 /checksum/SHA384/57 1076s ok 1170 /checksum/SHA384/58 1076s ok 1171 /checksum/SHA384/59 1076s ok 1172 /checksum/SHA384/60 1076s ok 1173 /checksum/SHA384/61 1076s ok 1174 /checksum/SHA384/62 1076s ok 1175 /checksum/SHA384/63 1076s ok 1176 /checksum/SHA384/64 1076s ok 1177 /checksum/SHA384/65 1076s ok 1178 /checksum/SHA384/66 1076s ok 1179 /checksum/SHA384/67 1076s ok 1180 /checksum/SHA384/68 1076s ok 1181 /checksum/SHA384/69 1076s ok 1182 /checksum/SHA384/70 1076s ok 1183 /checksum/SHA384/71 1076s ok 1184 /checksum/SHA384/72 1076s ok 1185 /checksum/SHA384/73 1076s ok 1186 /checksum/SHA384/74 1076s ok 1187 /checksum/SHA384/75 1076s ok 1188 /checksum/SHA384/76 1076s ok 1189 /checksum/SHA384/77 1076s ok 1190 /checksum/SHA384/78 1076s ok 1191 /checksum/SHA384/79 1076s ok 1192 /checksum/SHA384/80 1076s ok 1193 /checksum/SHA384/81 1076s ok 1194 /checksum/SHA384/82 1076s ok 1195 /checksum/SHA384/83 1076s ok 1196 /checksum/SHA384/84 1076s ok 1197 /checksum/SHA384/85 1076s ok 1198 /checksum/SHA384/86 1076s ok 1199 /checksum/SHA384/87 1076s ok 1200 /checksum/SHA384/88 1076s ok 1201 /checksum/SHA384/89 1076s ok 1202 /checksum/SHA384/90 1076s ok 1203 /checksum/SHA384/91 1076s ok 1204 /checksum/SHA384/92 1076s ok 1205 /checksum/SHA384/93 1076s ok 1206 /checksum/SHA384/94 1076s ok 1207 /checksum/SHA384/95 1076s ok 1208 /checksum/SHA384/96 1076s ok 1209 /checksum/SHA384/97 1076s ok 1210 /checksum/SHA384/98 1076s ok 1211 /checksum/SHA384/99 1076s ok 1212 /checksum/SHA384/100 1076s ok 1213 /checksum/SHA384/101 1076s ok 1214 /checksum/SHA384/102 1076s ok 1215 /checksum/SHA384/103 1076s ok 1216 /checksum/SHA384/104 1076s ok 1217 /checksum/SHA384/105 1076s ok 1218 /checksum/SHA384/106 1076s ok 1219 /checksum/SHA384/107 1076s ok 1220 /checksum/SHA384/108 1076s ok 1221 /checksum/SHA384/109 1076s ok 1222 /checksum/SHA384/110 1076s ok 1223 /checksum/SHA384/111 1076s ok 1224 /checksum/SHA384/112 1076s ok 1225 /checksum/SHA384/113 1076s ok 1226 /checksum/SHA384/114 1076s ok 1227 /checksum/SHA384/115 1076s ok 1228 /checksum/SHA384/116 1076s ok 1229 /checksum/SHA384/117 1076s ok 1230 /checksum/SHA384/118 1076s ok 1231 /checksum/SHA384/119 1076s ok 1232 /checksum/SHA384/120 1076s ok 1233 /checksum/SHA384/121 1076s ok 1234 /checksum/SHA384/122 1076s ok 1235 /checksum/SHA384/123 1076s ok 1236 /checksum/SHA384/124 1076s ok 1237 /checksum/SHA384/125 1076s ok 1238 /checksum/SHA384/126 1076s ok 1239 /checksum/SHA384/127 1076s ok 1240 /checksum/SHA384/128 1076s ok 1241 /checksum/SHA384/129 1076s ok 1242 /checksum/SHA384/130 1076s ok 1243 /checksum/SHA384/131 1076s ok 1244 /checksum/SHA384/132 1076s ok 1245 /checksum/SHA384/133 1076s ok 1246 /checksum/SHA384/134 1076s ok 1247 /checksum/SHA384/135 1076s ok 1248 /checksum/SHA384/136 1076s ok 1249 /checksum/SHA384/137 1076s ok 1250 /checksum/SHA384/138 1076s ok 1251 /checksum/SHA384/139 1076s ok 1252 /checksum/SHA384/140 1076s ok 1253 /checksum/SHA384/141 1076s ok 1254 /checksum/SHA384/142 1076s ok 1255 /checksum/SHA384/143 1076s ok 1256 /checksum/SHA384/144 1076s ok 1257 /checksum/SHA384/145 1076s ok 1258 /checksum/SHA384/146 1076s ok 1259 /checksum/SHA384/147 1076s ok 1260 /checksum/SHA384/148 1076s ok 1261 /checksum/SHA384/149 1076s ok 1262 /checksum/SHA384/150 1076s ok 1263 /checksum/SHA384/151 1076s ok 1264 /checksum/SHA384/152 1076s ok 1265 /checksum/SHA384/153 1076s ok 1266 /checksum/SHA384/154 1076s ok 1267 /checksum/SHA384/155 1076s ok 1268 /checksum/SHA384/156 1076s ok 1269 /checksum/SHA384/157 1076s ok 1270 /checksum/SHA384/158 1076s ok 1271 /checksum/SHA384/159 1076s ok 1272 /checksum/SHA384/160 1076s ok 1273 /checksum/SHA384/161 1076s ok 1274 /checksum/SHA384/162 1076s ok 1275 /checksum/SHA384/163 1076s ok 1276 /checksum/SHA384/164 1076s ok 1277 /checksum/SHA384/165 1076s ok 1278 /checksum/SHA384/166 1076s ok 1279 /checksum/SHA384/167 1076s ok 1280 /checksum/SHA384/168 1076s ok 1281 /checksum/SHA384/169 1076s ok 1282 /checksum/SHA384/170 1076s ok 1283 /checksum/SHA384/171 1076s ok 1284 /checksum/SHA384/172 1076s ok 1285 /checksum/SHA384/173 1076s ok 1286 /checksum/SHA384/174 1076s ok 1287 /checksum/SHA384/175 1076s ok 1288 /checksum/SHA384/176 1076s ok 1289 /checksum/SHA384/177 1076s ok 1290 /checksum/SHA384/178 1076s ok 1291 /checksum/SHA384/179 1076s ok 1292 /checksum/SHA384/180 1076s ok 1293 /checksum/SHA384/181 1076s ok 1294 /checksum/SHA384/182 1076s ok 1295 /checksum/SHA384/183 1076s ok 1296 /checksum/SHA384/string 1076s ok 1297 /checksum/SHA384/bytes 1076s # Start of reset tests 1076s ok 1298 /checksum/SHA384/reset/0 1076s ok 1299 /checksum/SHA384/reset/1 1076s ok 1300 /checksum/SHA384/reset/2 1076s ok 1301 /checksum/SHA384/reset/3 1076s ok 1302 /checksum/SHA384/reset/4 1076s ok 1303 /checksum/SHA384/reset/5 1076s ok 1304 /checksum/SHA384/reset/6 1076s ok 1305 /checksum/SHA384/reset/7 1076s ok 1306 /checksum/SHA384/reset/8 1076s ok 1307 /checksum/SHA384/reset/9 1076s ok 1308 /checksum/SHA384/reset/10 1076s ok 1309 /checksum/SHA384/reset/11 1076s ok 1310 /checksum/SHA384/reset/12 1076s ok 1311 /checksum/SHA384/reset/13 1076s ok 1312 /checksum/SHA384/reset/14 1076s ok 1313 /checksum/SHA384/reset/15 1076s ok 1314 /checksum/SHA384/reset/16 1076s ok 1315 /checksum/SHA384/reset/17 1076s ok 1316 /checksum/SHA384/reset/18 1076s ok 1317 /checksum/SHA384/reset/19 1076s ok 1318 /checksum/SHA384/reset/20 1076s ok 1319 /checksum/SHA384/reset/21 1076s ok 1320 /checksum/SHA384/reset/22 1076s ok 1321 /checksum/SHA384/reset/23 1076s ok 1322 /checksum/SHA384/reset/24 1076s ok 1323 /checksum/SHA384/reset/25 1076s ok 1324 /checksum/SHA384/reset/26 1076s ok 1325 /checksum/SHA384/reset/27 1076s ok 1326 /checksum/SHA384/reset/28 1076s ok 1327 /checksum/SHA384/reset/29 1076s ok 1328 /checksum/SHA384/reset/30 1076s ok 1329 /checksum/SHA384/reset/31 1076s ok 1330 /checksum/SHA384/reset/32 1076s ok 1331 /checksum/SHA384/reset/33 1076s ok 1332 /checksum/SHA384/reset/34 1076s ok 1333 /checksum/SHA384/reset/35 1076s ok 1334 /checksum/SHA384/reset/36 1076s ok 1335 /checksum/SHA384/reset/37 1076s ok 1336 /checksum/SHA384/reset/38 1076s ok 1337 /checksum/SHA384/reset/39 1076s ok 1338 /checksum/SHA384/reset/40 1076s ok 1339 /checksum/SHA384/reset/41 1076s ok 1340 /checksum/SHA384/reset/42 1076s ok 1341 /checksum/SHA384/reset/43 1076s ok 1342 /checksum/SHA384/reset/44 1076s ok 1343 /checksum/SHA384/reset/45 1076s ok 1344 /checksum/SHA384/reset/46 1076s ok 1345 /checksum/SHA384/reset/47 1076s ok 1346 /checksum/SHA384/reset/48 1076s ok 1347 /checksum/SHA384/reset/49 1076s ok 1348 /checksum/SHA384/reset/50 1076s ok 1349 /checksum/SHA384/reset/51 1076s ok 1350 /checksum/SHA384/reset/52 1076s ok 1351 /checksum/SHA384/reset/53 1076s ok 1352 /checksum/SHA384/reset/54 1076s ok 1353 /checksum/SHA384/reset/55 1076s ok 1354 /checksum/SHA384/reset/56 1076s ok 1355 /checksum/SHA384/reset/57 1076s ok 1356 /checksum/SHA384/reset/58 1076s ok 1357 /checksum/SHA384/reset/59 1076s ok 1358 /checksum/SHA384/reset/60 1076s ok 1359 /checksum/SHA384/reset/61 1076s ok 1360 /checksum/SHA384/reset/62 1076s ok 1361 /checksum/SHA384/reset/63 1076s ok 1362 /checksum/SHA384/reset/64 1076s ok 1363 /checksum/SHA384/reset/65 1076s ok 1364 /checksum/SHA384/reset/66 1076s ok 1365 /checksum/SHA384/reset/67 1076s ok 1366 /checksum/SHA384/reset/68 1076s ok 1367 /checksum/SHA384/reset/69 1076s ok 1368 /checksum/SHA384/reset/70 1076s ok 1369 /checksum/SHA384/reset/71 1076s ok 1370 /checksum/SHA384/reset/72 1076s ok 1371 /checksum/SHA384/reset/73 1076s ok 1372 /checksum/SHA384/reset/74 1076s ok 1373 /checksum/SHA384/reset/75 1076s ok 1374 /checksum/SHA384/reset/76 1076s ok 1375 /checksum/SHA384/reset/77 1076s ok 1376 /checksum/SHA384/reset/78 1076s ok 1377 /checksum/SHA384/reset/79 1076s ok 1378 /checksum/SHA384/reset/80 1076s ok 1379 /checksum/SHA384/reset/81 1076s ok 1380 /checksum/SHA384/reset/82 1076s ok 1381 /checksum/SHA384/reset/83 1076s ok 1382 /checksum/SHA384/reset/84 1076s ok 1383 /checksum/SHA384/reset/85 1076s ok 1384 /checksum/SHA384/reset/86 1076s ok 1385 /checksum/SHA384/reset/87 1076s ok 1386 /checksum/SHA384/reset/88 1076s ok 1387 /checksum/SHA384/reset/89 1076s ok 1388 /checksum/SHA384/reset/90 1076s ok 1389 /checksum/SHA384/reset/91 1076s ok 1390 /checksum/SHA384/reset/92 1076s ok 1391 /checksum/SHA384/reset/93 1076s ok 1392 /checksum/SHA384/reset/94 1076s ok 1393 /checksum/SHA384/reset/95 1076s ok 1394 /checksum/SHA384/reset/96 1076s ok 1395 /checksum/SHA384/reset/97 1076s ok 1396 /checksum/SHA384/reset/98 1076s ok 1397 /checksum/SHA384/reset/99 1076s ok 1398 /checksum/SHA384/reset/100 1076s ok 1399 /checksum/SHA384/reset/101 1076s ok 1400 /checksum/SHA384/reset/102 1076s ok 1401 /checksum/SHA384/reset/103 1076s ok 1402 /checksum/SHA384/reset/104 1076s ok 1403 /checksum/SHA384/reset/105 1076s ok 1404 /checksum/SHA384/reset/106 1076s ok 1405 /checksum/SHA384/reset/107 1076s ok 1406 /checksum/SHA384/reset/108 1076s ok 1407 /checksum/SHA384/reset/109 1076s ok 1408 /checksum/SHA384/reset/110 1076s ok 1409 /checksum/SHA384/reset/111 1076s ok 1410 /checksum/SHA384/reset/112 1076s ok 1411 /checksum/SHA384/reset/113 1076s ok 1412 /checksum/SHA384/reset/114 1076s ok 1413 /checksum/SHA384/reset/115 1076s ok 1414 /checksum/SHA384/reset/116 1076s ok 1415 /checksum/SHA384/reset/117 1076s ok 1416 /checksum/SHA384/reset/118 1076s ok 1417 /checksum/SHA384/reset/119 1076s ok 1418 /checksum/SHA384/reset/120 1076s ok 1419 /checksum/SHA384/reset/121 1076s ok 1420 /checksum/SHA384/reset/122 1076s ok 1421 /checksum/SHA384/reset/123 1076s ok 1422 /checksum/SHA384/reset/124 1076s ok 1423 /checksum/SHA384/reset/125 1076s ok 1424 /checksum/SHA384/reset/126 1076s ok 1425 /checksum/SHA384/reset/127 1076s ok 1426 /checksum/SHA384/reset/128 1076s ok 1427 /checksum/SHA384/reset/129 1076s ok 1428 /checksum/SHA384/reset/130 1076s ok 1429 /checksum/SHA384/reset/131 1076s ok 1430 /checksum/SHA384/reset/132 1076s ok 1431 /checksum/SHA384/reset/133 1076s ok 1432 /checksum/SHA384/reset/134 1076s ok 1433 /checksum/SHA384/reset/135 1076s ok 1434 /checksum/SHA384/reset/136 1076s ok 1435 /checksum/SHA384/reset/137 1076s ok 1436 /checksum/SHA384/reset/138 1076s ok 1437 /checksum/SHA384/reset/139 1076s ok 1438 /checksum/SHA384/reset/140 1076s ok 1439 /checksum/SHA384/reset/141 1076s ok 1440 /checksum/SHA384/reset/142 1076s ok 1441 /checksum/SHA384/reset/143 1076s ok 1442 /checksum/SHA384/reset/144 1076s ok 1443 /checksum/SHA384/reset/145 1076s ok 1444 /checksum/SHA384/reset/146 1076s ok 1445 /checksum/SHA384/reset/147 1076s ok 1446 /checksum/SHA384/reset/148 1076s ok 1447 /checksum/SHA384/reset/149 1076s ok 1448 /checksum/SHA384/reset/150 1076s ok 1449 /checksum/SHA384/reset/151 1076s ok 1450 /checksum/SHA384/reset/152 1076s ok 1451 /checksum/SHA384/reset/153 1076s ok 1452 /checksum/SHA384/reset/154 1076s ok 1453 /checksum/SHA384/reset/155 1076s ok 1454 /checksum/SHA384/reset/156 1076s ok 1455 /checksum/SHA384/reset/157 1076s ok 1456 /checksum/SHA384/reset/158 1076s ok 1457 /checksum/SHA384/reset/159 1076s ok 1458 /checksum/SHA384/reset/160 1076s ok 1459 /checksum/SHA384/reset/161 1076s ok 1460 /checksum/SHA384/reset/162 1076s ok 1461 /checksum/SHA384/reset/163 1076s ok 1462 /checksum/SHA384/reset/164 1076s ok 1463 /checksum/SHA384/reset/165 1076s ok 1464 /checksum/SHA384/reset/166 1076s ok 1465 /checksum/SHA384/reset/167 1076s ok 1466 /checksum/SHA384/reset/168 1076s ok 1467 /checksum/SHA384/reset/169 1076s ok 1468 /checksum/SHA384/reset/170 1076s ok 1469 /checksum/SHA384/reset/171 1076s ok 1470 /checksum/SHA384/reset/172 1076s ok 1471 /checksum/SHA384/reset/173 1076s ok 1472 /checksum/SHA384/reset/174 1076s ok 1473 /checksum/SHA384/reset/175 1076s ok 1474 /checksum/SHA384/reset/176 1076s ok 1475 /checksum/SHA384/reset/177 1076s ok 1476 /checksum/SHA384/reset/178 1076s ok 1477 /checksum/SHA384/reset/179 1076s ok 1478 /checksum/SHA384/reset/180 1076s ok 1479 /checksum/SHA384/reset/181 1076s ok 1480 /checksum/SHA384/reset/182 1076s ok 1481 /checksum/SHA384/reset/183 1076s # End of reset tests 1076s # End of SHA384 tests 1076s # Start of SHA512 tests 1076s ok 1482 /checksum/SHA512/0 1076s ok 1483 /checksum/SHA512/1 1076s ok 1484 /checksum/SHA512/2 1076s ok 1485 /checksum/SHA512/3 1076s ok 1486 /checksum/SHA512/4 1076s ok 1487 /checksum/SHA512/5 1076s ok 1488 /checksum/SHA512/6 1076s ok 1489 /checksum/SHA512/7 1076s ok 1490 /checksum/SHA512/8 1076s ok 1491 /checksum/SHA512/9 1076s ok 1492 /checksum/SHA512/10 1076s ok 1493 /checksum/SHA512/11 1076s ok 1494 /checksum/SHA512/12 1076s ok 1495 /checksum/SHA512/13 1076s ok 1496 /checksum/SHA512/14 1076s ok 1497 /checksum/SHA512/15 1076s ok 1498 /checksum/SHA512/16 1076s ok 1499 /checksum/SHA512/17 1076s ok 1500 /checksum/SHA512/18 1076s ok 1501 /checksum/SHA512/19 1076s ok 1502 /checksum/SHA512/20 1076s ok 1503 /checksum/SHA512/21 1076s ok 1504 /checksum/SHA512/22 1076s ok 1505 /checksum/SHA512/23 1076s ok 1506 /checksum/SHA512/24 1076s ok 1507 /checksum/SHA512/25 1076s ok 1508 /checksum/SHA512/26 1076s ok 1509 /checksum/SHA512/27 1076s ok 1510 /checksum/SHA512/28 1076s ok 1511 /checksum/SHA512/29 1076s ok 1512 /checksum/SHA512/30 1076s ok 1513 /checksum/SHA512/31 1076s ok 1514 /checksum/SHA512/32 1076s ok 1515 /checksum/SHA512/33 1076s ok 1516 /checksum/SHA512/34 1076s ok 1517 /checksum/SHA512/35 1076s ok 1518 /checksum/SHA512/36 1076s ok 1519 /checksum/SHA512/37 1076s ok 1520 /checksum/SHA512/38 1076s ok 1521 /checksum/SHA512/39 1076s ok 1522 /checksum/SHA512/40 1076s ok 1523 /checksum/SHA512/41 1076s ok 1524 /checksum/SHA512/42 1076s ok 1525 /checksum/SHA512/43 1076s ok 1526 /checksum/SHA512/44 1076s ok 1527 /checksum/SHA512/45 1076s ok 1528 /checksum/SHA512/46 1076s ok 1529 /checksum/SHA512/47 1076s ok 1530 /checksum/SHA512/48 1076s ok 1531 /checksum/SHA512/49 1076s ok 1532 /checksum/SHA512/50 1076s ok 1533 /checksum/SHA512/51 1076s ok 1534 /checksum/SHA512/52 1076s ok 1535 /checksum/SHA512/53 1076s ok 1536 /checksum/SHA512/54 1076s ok 1537 /checksum/SHA512/55 1076s ok 1538 /checksum/SHA512/56 1076s ok 1539 /checksum/SHA512/57 1076s ok 1540 /checksum/SHA512/58 1076s ok 1541 /checksum/SHA512/59 1076s ok 1542 /checksum/SHA512/60 1076s ok 1543 /checksum/SHA512/61 1076s ok 1544 /checksum/SHA512/62 1076s ok 1545 /checksum/SHA512/63 1076s ok 1546 /checksum/SHA512/64 1076s ok 1547 /checksum/SHA512/65 1076s ok 1548 /checksum/SHA512/66 1076s ok 1549 /checksum/SHA512/67 1076s ok 1550 /checksum/SHA512/68 1076s ok 1551 /checksum/SHA512/69 1076s ok 1552 /checksum/SHA512/70 1076s ok 1553 /checksum/SHA512/71 1076s ok 1554 /checksum/SHA512/72 1076s ok 1555 /checksum/SHA512/73 1076s ok 1556 /checksum/SHA512/74 1076s ok 1557 /checksum/SHA512/75 1076s ok 1558 /checksum/SHA512/76 1076s ok 1559 /checksum/SHA512/77 1076s ok 1560 /checksum/SHA512/78 1076s ok 1561 /checksum/SHA512/79 1076s ok 1562 /checksum/SHA512/80 1076s ok 1563 /checksum/SHA512/81 1076s ok 1564 /checksum/SHA512/82 1076s ok 1565 /checksum/SHA512/83 1076s ok 1566 /checksum/SHA512/84 1076s ok 1567 /checksum/SHA512/85 1076s ok 1568 /checksum/SHA512/86 1076s ok 1569 /checksum/SHA512/87 1076s ok 1570 /checksum/SHA512/88 1076s ok 1571 /checksum/SHA512/89 1076s ok 1572 /checksum/SHA512/90 1076s ok 1573 /checksum/SHA512/91 1076s ok 1574 /checksum/SHA512/92 1076s ok 1575 /checksum/SHA512/93 1076s ok 1576 /checksum/SHA512/94 1076s ok 1577 /checksum/SHA512/95 1076s ok 1578 /checksum/SHA512/96 1076s ok 1579 /checksum/SHA512/97 1076s ok 1580 /checksum/SHA512/98 1076s ok 1581 /checksum/SHA512/99 1076s ok 1582 /checksum/SHA512/100 1076s ok 1583 /checksum/SHA512/101 1076s ok 1584 /checksum/SHA512/102 1076s ok 1585 /checksum/SHA512/103 1076s ok 1586 /checksum/SHA512/104 1076s ok 1587 /checksum/SHA512/105 1076s ok 1588 /checksum/SHA512/106 1076s ok 1589 /checksum/SHA512/107 1076s ok 1590 /checksum/SHA512/108 1076s ok 1591 /checksum/SHA512/109 1076s ok 1592 /checksum/SHA512/110 1076s ok 1593 /checksum/SHA512/111 1076s ok 1594 /checksum/SHA512/112 1076s ok 1595 /checksum/SHA512/113 1076s ok 1596 /checksum/SHA512/114 1076s ok 1597 /checksum/SHA512/115 1076s ok 1598 /checksum/SHA512/116 1076s ok 1599 /checksum/SHA512/117 1076s ok 1600 /checksum/SHA512/118 1076s ok 1601 /checksum/SHA512/119 1076s ok 1602 /checksum/SHA512/120 1076s ok 1603 /checksum/SHA512/121 1076s ok 1604 /checksum/SHA512/122 1076s ok 1605 /checksum/SHA512/123 1076s ok 1606 /checksum/SHA512/124 1076s ok 1607 /checksum/SHA512/125 1076s ok 1608 /checksum/SHA512/126 1076s ok 1609 /checksum/SHA512/127 1076s ok 1610 /checksum/SHA512/128 1076s ok 1611 /checksum/SHA512/129 1076s ok 1612 /checksum/SHA512/130 1076s ok 1613 /checksum/SHA512/131 1076s ok 1614 /checksum/SHA512/132 1076s ok 1615 /checksum/SHA512/133 1076s ok 1616 /checksum/SHA512/134 1076s ok 1617 /checksum/SHA512/135 1076s ok 1618 /checksum/SHA512/136 1076s ok 1619 /checksum/SHA512/137 1076s ok 1620 /checksum/SHA512/138 1076s ok 1621 /checksum/SHA512/139 1076s ok 1622 /checksum/SHA512/140 1076s ok 1623 /checksum/SHA512/141 1076s ok 1624 /checksum/SHA512/142 1076s ok 1625 /checksum/SHA512/143 1076s ok 1626 /checksum/SHA512/144 1076s ok 1627 /checksum/SHA512/145 1076s ok 1628 /checksum/SHA512/146 1076s ok 1629 /checksum/SHA512/147 1076s ok 1630 /checksum/SHA512/148 1076s ok 1631 /checksum/SHA512/149 1076s ok 1632 /checksum/SHA512/150 1076s ok 1633 /checksum/SHA512/151 1076s ok 1634 /checksum/SHA512/152 1076s ok 1635 /checksum/SHA512/153 1076s ok 1636 /checksum/SHA512/154 1076s ok 1637 /checksum/SHA512/155 1076s ok 1638 /checksum/SHA512/156 1076s ok 1639 /checksum/SHA512/157 1076s ok 1640 /checksum/SHA512/158 1076s ok 1641 /checksum/SHA512/159 1076s ok 1642 /checksum/SHA512/160 1076s ok 1643 /checksum/SHA512/161 1076s ok 1644 /checksum/SHA512/162 1076s ok 1645 /checksum/SHA512/163 1076s ok 1646 /checksum/SHA512/164 1076s ok 1647 /checksum/SHA512/165 1076s ok 1648 /checksum/SHA512/166 1076s ok 1649 /checksum/SHA512/167 1076s ok 1650 /checksum/SHA512/168 1076s ok 1651 /checksum/SHA512/169 1076s ok 1652 /checksum/SHA512/170 1076s ok 1653 /checksum/SHA512/171 1076s ok 1654 /checksum/SHA512/172 1076s ok 1655 /checksum/SHA512/173 1076s ok 1656 /checksum/SHA512/174 1076s ok 1657 /checksum/SHA512/175 1076s ok 1658 /checksum/SHA512/176 1076s ok 1659 /checksum/SHA512/177 1076s ok 1660 /checksum/SHA512/178 1076s ok 1661 /checksum/SHA512/179 1076s ok 1662 /checksum/SHA512/180 1076s ok 1663 /checksum/SHA512/181 1076s ok 1664 /checksum/SHA512/182 1076s ok 1665 /checksum/SHA512/183 1076s ok 1666 /checksum/SHA512/string 1076s ok 1667 /checksum/SHA512/bytes 1076s # Start of reset tests 1076s ok 1668 /checksum/SHA512/reset/0 1076s ok 1669 /checksum/SHA512/reset/1 1076s ok 1670 /checksum/SHA512/reset/2 1076s ok 1671 /checksum/SHA512/reset/3 1076s ok 1672 /checksum/SHA512/reset/4 1076s ok 1673 /checksum/SHA512/reset/5 1076s ok 1674 /checksum/SHA512/reset/6 1076s ok 1675 /checksum/SHA512/reset/7 1076s ok 1676 /checksum/SHA512/reset/8 1076s ok 1677 /checksum/SHA512/reset/9 1076s ok 1678 /checksum/SHA512/reset/10 1076s ok 1679 /checksum/SHA512/reset/11 1076s ok 1680 /checksum/SHA512/reset/12 1076s ok 1681 /checksum/SHA512/reset/13 1076s ok 1682 /checksum/SHA512/reset/14 1076s ok 1683 /checksum/SHA512/reset/15 1076s ok 1684 /checksum/SHA512/reset/16 1076s ok 1685 /checksum/SHA512/reset/17 1076s ok 1686 /checksum/SHA512/reset/18 1076s ok 1687 /checksum/SHA512/reset/19 1076s ok 1688 /checksum/SHA512/reset/20 1076s ok 1689 /checksum/SHA512/reset/21 1076s ok 1690 /checksum/SHA512/reset/22 1076s ok 1691 /checksum/SHA512/reset/23 1076s ok 1692 /checksum/SHA512/reset/24 1076s ok 1693 /checksum/SHA512/reset/25 1076s ok 1694 /checksum/SHA512/reset/26 1076s ok 1695 /checksum/SHA512/reset/27 1076s ok 1696 /checksum/SHA512/reset/28 1076s ok 1697 /checksum/SHA512/reset/29 1076s ok 1698 /checksum/SHA512/reset/30 1076s ok 1699 /checksum/SHA512/reset/31 1076s ok 1700 /checksum/SHA512/reset/32 1076s ok 1701 /checksum/SHA512/reset/33 1076s ok 1702 /checksum/SHA512/reset/34 1076s ok 1703 /checksum/SHA512/reset/35 1076s ok 1704 /checksum/SHA512/reset/36 1076s ok 1705 /checksum/SHA512/reset/37 1076s ok 1706 /checksum/SHA512/reset/38 1076s ok 1707 /checksum/SHA512/reset/39 1076s ok 1708 /checksum/SHA512/reset/40 1076s ok 1709 /checksum/SHA512/reset/41 1076s ok 1710 /checksum/SHA512/reset/42 1076s ok 1711 /checksum/SHA512/reset/43 1076s ok 1712 /checksum/SHA512/reset/44 1076s ok 1713 /checksum/SHA512/reset/45 1076s ok 1714 /checksum/SHA512/reset/46 1076s ok 1715 /checksum/SHA512/reset/47 1076s ok 1716 /checksum/SHA512/reset/48 1076s ok 1717 /checksum/SHA512/reset/49 1076s ok 1718 /checksum/SHA512/reset/50 1076s ok 1719 /checksum/SHA512/reset/51 1076s ok 1720 /checksum/SHA512/reset/52 1076s ok 1721 /checksum/SHA512/reset/53 1076s ok 1722 /checksum/SHA512/reset/54 1076s ok 1723 /checksum/SHA512/reset/55 1076s ok 1724 /checksum/SHA512/reset/56 1076s ok 1725 /checksum/SHA512/reset/57 1076s ok 1726 /checksum/SHA512/reset/58 1076s ok 1727 /checksum/SHA512/reset/59 1076s ok 1728 /checksum/SHA512/reset/60 1076s ok 1729 /checksum/SHA512/reset/61 1076s ok 1730 /checksum/SHA512/reset/62 1076s ok 1731 /checksum/SHA512/reset/63 1076s ok 1732 /checksum/SHA512/reset/64 1076s ok 1733 /checksum/SHA512/reset/65 1076s ok 1734 /checksum/SHA512/reset/66 1076s ok 1735 /checksum/SHA512/reset/67 1076s ok 1736 /checksum/SHA512/reset/68 1076s ok 1737 /checksum/SHA512/reset/69 1076s ok 1738 /checksum/SHA512/reset/70 1076s ok 1739 /checksum/SHA512/reset/71 1076s ok 1740 /checksum/SHA512/reset/72 1076s ok 1741 /checksum/SHA512/reset/73 1076s ok 1742 /checksum/SHA512/reset/74 1076s ok 1743 /checksum/SHA512/reset/75 1076s ok 1744 /checksum/SHA512/reset/76 1076s ok 1745 /checksum/SHA512/reset/77 1076s ok 1746 /checksum/SHA512/reset/78 1076s ok 1747 /checksum/SHA512/reset/79 1076s ok 1748 /checksum/SHA512/reset/80 1076s ok 1749 /checksum/SHA512/reset/81 1076s ok 1750 /checksum/SHA512/reset/82 1076s ok 1751 /checksum/SHA512/reset/83 1076s ok 1752 /checksum/SHA512/reset/84 1076s ok 1753 /checksum/SHA512/reset/85 1076s ok 1754 /checksum/SHA512/reset/86 1076s ok 1755 /checksum/SHA512/reset/87 1076s ok 1756 /checksum/SHA512/reset/88 1076s ok 1757 /checksum/SHA512/reset/89 1076s ok 1758 /checksum/SHA512/reset/90 1076s ok 1759 /checksum/SHA512/reset/91 1076s ok 1760 /checksum/SHA512/reset/92 1076s ok 1761 /checksum/SHA512/reset/93 1076s ok 1762 /checksum/SHA512/reset/94 1076s ok 1763 /checksum/SHA512/reset/95 1076s ok 1764 /checksum/SHA512/reset/96 1076s ok 1765 /checksum/SHA512/reset/97 1076s ok 1766 /checksum/SHA512/reset/98 1076s ok 1767 /checksum/SHA512/reset/99 1076s ok 1768 /checksum/SHA512/reset/100 1076s ok 1769 /checksum/SHA512/reset/101 1076s ok 1770 /checksum/SHA512/reset/102 1076s ok 1771 /checksum/SHA512/reset/103 1076s ok 1772 /checksum/SHA512/reset/104 1076s ok 1773 /checksum/SHA512/reset/105 1076s ok 1774 /checksum/SHA512/reset/106 1076s ok 1775 /checksum/SHA512/reset/107 1076s ok 1776 /checksum/SHA512/reset/108 1076s ok 1777 /checksum/SHA512/reset/109 1076s ok 1778 /checksum/SHA512/reset/110 1076s ok 1779 /checksum/SHA512/reset/111 1076s ok 1780 /checksum/SHA512/reset/112 1076s ok 1781 /checksum/SHA512/reset/113 1076s ok 1782 /checksum/SHA512/reset/114 1076s ok 1783 /checksum/SHA512/reset/115 1076s ok 1784 /checksum/SHA512/reset/116 1076s ok 1785 /checksum/SHA512/reset/117 1076s ok 1786 /checksum/SHA512/reset/118 1076s ok 1787 /checksum/SHA512/reset/119 1076s ok 1788 /checksum/SHA512/reset/120 1076s ok 1789 /checksum/SHA512/reset/121 1076s ok 1790 /checksum/SHA512/reset/122 1076s ok 1791 /checksum/SHA512/reset/123 1076s ok 1792 /checksum/SHA512/reset/124 1076s ok 1793 /checksum/SHA512/reset/125 1076s ok 1794 /checksum/SHA512/reset/126 1076s ok 1795 /checksum/SHA512/reset/127 1076s ok 1796 /checksum/SHA512/reset/128 1076s ok 1797 /checksum/SHA512/reset/129 1076s ok 1798 /checksum/SHA512/reset/130 1076s ok 1799 /checksum/SHA512/reset/131 1076s ok 1800 /checksum/SHA512/reset/132 1076s ok 1801 /checksum/SHA512/reset/133 1076s ok 1802 /checksum/SHA512/reset/134 1076s ok 1803 /checksum/SHA512/reset/135 1076s ok 1804 /checksum/SHA512/reset/136 1076s ok 1805 /checksum/SHA512/reset/137 1076s ok 1806 /checksum/SHA512/reset/138 1076s ok 1807 /checksum/SHA512/reset/139 1076s ok 1808 /checksum/SHA512/reset/140 1076s ok 1809 /checksum/SHA512/reset/141 1076s ok 1810 /checksum/SHA512/reset/142 1076s ok 1811 /checksum/SHA512/reset/143 1076s ok 1812 /checksum/SHA512/reset/144 1076s ok 1813 /checksum/SHA512/reset/145 1076s ok 1814 /checksum/SHA512/reset/146 1076s ok 1815 /checksum/SHA512/reset/147 1076s ok 1816 /checksum/SHA512/reset/148 1076s ok 1817 /checksum/SHA512/reset/149 1076s ok 1818 /checksum/SHA512/reset/150 1076s ok 1819 /checksum/SHA512/reset/151 1076s ok 1820 /checksum/SHA512/reset/152 1076s ok 1821 /checksum/SHA512/reset/153 1076s ok 1822 /checksum/SHA512/reset/154 1076s ok 1823 /checksum/SHA512/reset/155 1076s ok 1824 /checksum/SHA512/reset/156 1076s ok 1825 /checksum/SHA512/reset/157 1076s ok 1826 /checksum/SHA512/reset/158 1076s ok 1827 /checksum/SHA512/reset/159 1076s ok 1828 /checksum/SHA512/reset/160 1076s ok 1829 /checksum/SHA512/reset/161 1076s ok 1830 /checksum/SHA512/reset/162 1076s ok 1831 /checksum/SHA512/reset/163 1076s ok 1832 /checksum/SHA512/reset/164 1076s ok 1833 /checksum/SHA512/reset/165 1076s ok 1834 /checksum/SHA512/reset/166 1076s ok 1835 /checksum/SHA512/reset/167 1076s ok 1836 /checksum/SHA512/reset/168 1076s ok 1837 /checksum/SHA512/reset/169 1076s ok 1838 /checksum/SHA512/reset/170 1076s ok 1839 /checksum/SHA512/reset/171 1076s ok 1840 /checksum/SHA512/reset/172 1076s ok 1841 /checksum/SHA512/reset/173 1076s ok 1842 /checksum/SHA512/reset/174 1076s ok 1843 /checksum/SHA512/reset/175 1076s ok 1844 /checksum/SHA512/reset/176 1076s ok 1845 /checksum/SHA512/reset/177 1076s ok 1846 /checksum/SHA512/reset/178 1076s ok 1847 /checksum/SHA512/reset/179 1076s ok 1848 /checksum/SHA512/reset/180 1076s ok 1849 /checksum/SHA512/reset/181 1076s ok 1850 /checksum/SHA512/reset/182 1076s ok 1851 /checksum/SHA512/reset/183 1076s # End of reset tests 1076s # End of SHA512 tests 1076s # End of checksum tests 1076s ok - glib/checksum.test 1076s # Running test: glib/struct-info.test 1076s TAP version 14 1076s # random seed: R02Sf2be33e75235c71c0717a910f35dec5f 1076s 1..4 1076s # Start of struct-info tests 1076s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_LTLGC3/struct-info/field-iterators/.dirs/home 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_LTLGC3/struct-info/field-iterators/.dirs/cache 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_LTLGC3/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_LTLGC3/struct-info/field-iterators/.dirs/system-config2 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_LTLGC3/struct-info/field-iterators/.dirs/config 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_LTLGC3/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_LTLGC3/struct-info/field-iterators/.dirs/system-data2 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_LTLGC3/struct-info/field-iterators/.dirs/data 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_LTLGC3/struct-info/field-iterators/.dirs/state 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_LTLGC3/struct-info/field-iterators/.dirs/runtime 1076s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1076s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 1076s ok 1 /struct-info/field-iterators 1076s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_LTLGC3/struct-info/sizeof-gvalue/.dirs/home 1076s ok - glib/struct-info.test 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_LTLGC3/struct-info/sizeof-gvalue/.dirs/cache 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_LTLGC3/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_LTLGC3/struct-info/sizeof-gvalue/.dirs/system-config2 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_LTLGC3/struct-info/sizeof-gvalue/.dirs/config 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_LTLGC3/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_LTLGC3/struct-info/sizeof-gvalue/.dirs/system-data2 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_LTLGC3/struct-info/sizeof-gvalue/.dirs/data 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_LTLGC3/struct-info/sizeof-gvalue/.dirs/state 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_LTLGC3/struct-info/sizeof-gvalue/.dirs/runtime 1076s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1076s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 1076s ok 2 /struct-info/sizeof-gvalue 1076s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_LTLGC3/struct-info/is-pointer-for-struct-method-arg/.dirs/home 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_LTLGC3/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_LTLGC3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_LTLGC3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_LTLGC3/struct-info/is-pointer-for-struct-method-arg/.dirs/config 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_LTLGC3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_LTLGC3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_LTLGC3/struct-info/is-pointer-for-struct-method-arg/.dirs/data 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_LTLGC3/struct-info/is-pointer-for-struct-method-arg/.dirs/state 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_LTLGC3/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 1076s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1076s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 1076s ok 3 /struct-info/is-pointer-for-struct-method-arg 1076s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_LTLGC3/struct-info/boxed/.dirs/home 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_LTLGC3/struct-info/boxed/.dirs/cache 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_LTLGC3/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_LTLGC3/struct-info/boxed/.dirs/system-config2 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_LTLGC3/struct-info/boxed/.dirs/config 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_LTLGC3/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_LTLGC3/struct-info/boxed/.dirs/system-data2 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_LTLGC3/struct-info/boxed/.dirs/data 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_LTLGC3/struct-info/boxed/.dirs/state 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_LTLGC3/struct-info/boxed/.dirs/runtime 1076s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1076s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 1076s ok 4 /struct-info/boxed 1076s # End of struct-info tests 1076s # Running test: glib/memory-settings-backend.test 1076s ok - glib/memory-settings-backend.test 1076s TAP version 14 1076s # random seed: R02S2c7325404d2be70064daba4bef339298 1076s 1..1 1076s # Start of memory-settings-backend tests 1076s ok 1 /memory-settings-backend/extension-point-registered 1076s # End of memory-settings-backend tests 1076s # Running test: glib/dataset.test 1076s TAP version 14 1076s # random seed: R02See03028e856377c7c5cf4aaee79de408 1076s 1..15 1076s # Start of quark tests 1076s ok 1 /quark/basic 1076s ok 2 /quark/string 1076s # End of quark tests 1076s # Start of dataset tests 1076s ok 3 /dataset/basic 1076s ok 4 /dataset/id 1076s ok 5 /dataset/full 1076s ok 6 /dataset/foreach 1076s ok 7 /dataset/destroy 1076s # End of dataset tests 1076s # Start of datalist tests 1076s ok 8 /datalist/id 1076s ok 9 /datalist/recursive-clear 1076s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1076s ok 10 /datalist/id-remove-multiple 1076s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 1076s ok 11 /datalist/id-remove-multiple-destroy-order 1076s ok 12 /datalist/update-atomic 1076s # Start of basic tests 1076s ok 13 /datalist/basic/few 1076s ok 14 /datalist/basic/many 1076s # End of basic tests 1076s # Start of id-remove-multiple tests 1076s ok 15 /datalist/id-remove-multiple/resize 1076s # End of id-remove-multiple tests 1076s # End of datalist tests 1076s ok - glib/dataset.test 1076s # Running test: glib/gdbus-introspection.test 1076s TAP version 14 1076s # random seed: R02S87744f8deee6dd5dd9677a0ed67ff6c2 1076s 1..4 1076s # Start of gdbus tests 1076s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-parser/.dirs/home 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-parser/.dirs/cache 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-parser/.dirs/system-config2 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-parser/.dirs/config 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-parser/.dirs/system-data2 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-parser/.dirs/data 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-parser/.dirs/state 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-parser/.dirs/runtime 1076s ok 1 /gdbus/introspection-parser 1076s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-generate/.dirs/home 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-generate/.dirs/cache 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-generate/.dirs/system-config2 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-generate/.dirs/config 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-generate/.dirs/system-data2 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-generate/.dirs/data 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-generate/.dirs/state 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-generate/.dirs/runtime 1076s ok 2 /gdbus/introspection-generate 1076s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-default-direction/.dirs/home 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-default-direction/.dirs/cache 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-default-direction/.dirs/system-config2 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-default-direction/.dirs/config 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-default-direction/.dirs/system-data2 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-default-direction/.dirs/data 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-default-direction/.dirs/state 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-default-direction/.dirs/runtime 1076s ok 3 /gdbus/introspection-default-direction 1076s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-extra-data/.dirs/home 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-extra-data/.dirs/cache 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-extra-data/.dirs/system-config2 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-extra-data/.dirs/config 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-extra-data/.dirs/system-data2 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-extra-data/.dirs/data 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-extra-data/.dirs/state 1076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_ZYAGC3/gdbus/introspection-extra-data/.dirs/runtime 1076s ok 4 /gdbus/introspection-extra-data 1076s # End of gdbus tests 1076s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1076s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1076s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1076s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1076s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1076s ok - glib/gdbus-introspection.test 1076s # Running test: glib/gi-compile-repository.py.test 1076s TAP version 13 1076s ok 1 __main__.TestGICompileRepository.test_open_failure 1076s # gir path set to [PosixPath('/usr/lib/powerpc64le-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1076s # gi-compile-repository: /usr/bin/gi-compile-repository 1076s # tmpdir: /tmp/tmpy1zqw25x 1076s # Running: ['/usr/bin/gi-compile-repository', 'this-is/not/a-file.gir', '--output', '/tmp/tmpy1zqw25x/invalid.typelib'] 1076s # Return code: 1 1076s # Output: 1076s # 1076s # Error: 1076s # Error parsing file ‘this-is/not/a-file.gir’: Failed to open file “this-is/not/a-file.gir”: No such file or directory 1076s ok 2 __main__.TestGICompileRepositoryForGLib.test_compile 1076s # gir path set to [PosixPath('/usr/lib/powerpc64le-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1076s # gi-compile-repository: /usr/bin/gi-compile-repository 1076s # tmpdir: /tmp/tmp_hpri2e9 1076s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', '/tmp/tmp_hpri2e9/GLib-2.typelib'] 1076s # Return code: 0 1076s # Output: 1076s # 1076s # Error: 1076s ok 3 __main__.TestGICompileRepositoryForGLib.test_write_failure 1076s # gi-compile-repository: /usr/bin/gi-compile-repository 1076s # tmpdir: /tmp/tmpxurbsx1u 1076s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/powerpc64le-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', 'this-is/not/a-good-output/invalid.typelib'] 1076s # Return code: 1 1076s # Output: 1076s # 1076s # Error: 1076s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 1077s ok 4 __main__.TestGICompileRepositoryForGObject.test_compile 1077s # gir path set to [PosixPath('/usr/lib/powerpc64le-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1077s # gi-compile-repository: /usr/bin/gi-compile-repository 1077s # tmpdir: /tmp/tmpmlrhg4_c 1077s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/GObject-2.0.gir', '--output', '/tmp/tmpmlrhg4_c/GObject-2.typelib', '--includedir', '/usr/lib/powerpc64le-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 1077s # Return code: 0 1077s # Output: 1077s # 1077s # Error: 1077s ok 5 __main__.TestGICompileRepositoryForGObject.test_write_failure 1077s # gi-compile-repository: /usr/bin/gi-compile-repository 1077s # tmpdir: /tmp/tmpdo4n1t9u 1077s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/GObject-2.0.gir', '--output', 'this-is/not/a-good-output/invalid.typelib', '--includedir', '/usr/lib/powerpc64le-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 1077s # Return code: 1 1077s # Output: 1077s # 1077s # Error: 1077s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 1077s ok 6 __main__.TestGICompileRepositoryForGio.test_compile 1077s # gir path set to [PosixPath('/usr/lib/powerpc64le-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')] 1077s # gi-compile-repository: /usr/bin/gi-compile-repository 1077s # tmpdir: /tmp/tmp0slhk1dc 1077s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/Gio-2.0.gir', '--output', '/tmp/tmp0slhk1dc/Gio-2.typelib', '--includedir', '/usr/lib/powerpc64le-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 1077s # Return code: 0 1077s # Output: 1077s # 1077s # Error: 1078s ok 7 __main__.TestGICompileRepositoryForGio.test_write_failure 1078s # gi-compile-repository: /usr/bin/gi-compile-repository 1078s # tmpdir: /tmp/tmpsnu99prk 1078s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/Gio-2.0.gir', '--output', 'this-is/not/a-good-output/invalid.typelib', '--includedir', '/usr/lib/powerpc64le-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 1078s # Return code: 1 1078s # Output: 1078s # 1078s # Error: 1078s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 1078s 1..7 1078s ok - glib/gi-compile-repository.py.test 1078s # Running test: glib/win32-appinfo.test 1078s TAP version 14 1078s # random seed: R02S7e719d7f5e06facdb07bc639d58251d0 1078s 1..5 1078s # Start of appinfo tests 1078s ok 1 /appinfo/utf16-strfuncs 1078s ok 2 /appinfo/win32-extract-executable 1078s ok 3 /appinfo/win32-rundll32-fixup 1078s ok 4 /appinfo/win32-parse-filename 1078s ok 5 /appinfo/win32-utf16-conversion-fail 1078s # Start of subprocess tests 1078s # End of subprocess tests 1078s # End of appinfo tests 1078s ok - glib/win32-appinfo.test 1078s # Running test: glib/async-splice-output-stream.test 1078s TAP version 14 1078s # random seed: R02S9681201672fac747e084cf1bbe582ed0 1078s 1..5 1078s # Start of async-splice tests 1078s ok 1 /async-splice/copy-chunks 1078s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1078s ok 2 /async-splice/copy-chunks-threaded-input 1078s ok 3 /async-splice/copy-chunks-threaded-output 1078s ok - glib/async-splice-output-stream.test 1078s # Running test: glib/uri.test 1078s ok 4 /async-splice/copy-chunks-threaded 1078s ok 5 /async-splice/cancelled 1078s # End of async-splice tests 1078s TAP version 14 1078s # random seed: R02Se43feed8b2c79ce9802917105793ae2c 1078s 1..24 1078s # Start of uri tests 1078s ok 1 /uri/file-to-uri 1078s ok 2 /uri/file-from-uri 1078s ok 3 /uri/file-roundtrip 1078s ok 4 /uri/list 1078s # Test 0: %2Babc %4F 1078s # Test 1: %2Babc %4F 1078s # Test 2: %00abc %4F 1078s # Test 3: /cursors/none.png 1078s # Test 4: /cursors%2fbad-subdir/none.png 1078s # Test 5: %0 1078s # Test 6: %ra 1078s # Test 7: %2r 1078s # Test 8: Timm Bäder 1078s # Test 9: (null) 1078s ok 5 /uri/unescape-string 1078s ok 6 /uri/unescape-segment 1078s # Test 0: abcdefgABCDEFG._~ 1078s # Test 1: :+ \\?# 1078s # Test 2: a+b:c 1078s # Test 3: a+b:c\303\234 1078s # Test 4: \374;\322 1078s # Test 5: \303\261\303( 1078s ok 7 /uri/escape-string 1078s ok 8 /uri/escape-bytes 1078s ok 9 /uri/scheme 1078s ok 10 /uri/build 1078s ok 11 /uri/split 1078s ok 12 /uri/is_valid 1078s ok 13 /uri/to-string 1078s ok 14 /uri/join 1078s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 1078s # Combination 0 1078s # Combination 1 1078s ok - glib/uri.test 1078s # Running test: glib/gdbus-close-pending.test 1078s # Combination 2 1078s # Combination 3 1078s # Combination 4 1078s # Combination 5 1078s # Combination 6 1078s # Combination 7 1078s # Combination 8 1078s # Combination 9 1078s # Combination 10 1078s # Combination 11 1078s # Combination 12 1078s # Combination 13 1078s # Combination 14 1078s # Combination 15 1078s # Combination 16 1078s # Combination 17 1078s # Combination 18 1078s # Combination 19 1078s # Combination 20 1078s # Combination 21 1078s # Combination 22 1078s # Combination 23 1078s # Combination 24 1078s # Combination 25 1078s # Combination 26 1078s # Combination 27 1078s # Combination 28 1078s # Combination 29 1078s # Combination 30 1078s # Combination 31 1078s # Combination 32 1078s # Combination 33 1078s # Combination 34 1078s # Combination 35 1078s # Combination 36 1078s # Combination 37 1078s # Combination 38 1078s # Combination 39 1078s # Combination 40 1078s # Combination 41 1078s # Combination 42 1078s # Combination 43 1078s # Combination 44 1078s # Combination 45 1078s # Combination 46 1078s # Combination 47 1078s # Combination 48 1078s # Combination 49 1078s # Combination 50 1078s # Combination 51 1078s # Combination 52 1078s # Combination 53 1078s # Combination 54 1078s # Combination 55 1078s # Combination 56 1078s # Combination 57 1078s # Combination 58 1078s # Combination 59 1078s # Combination 60 1078s # Combination 61 1078s # Combination 62 1078s # Combination 63 1078s # Combination 64 1078s # Combination 65 1078s # Combination 66 1078s # Combination 67 1078s # Combination 68 1078s # Combination 69 1078s # Combination 70 1078s # Combination 71 1078s # Combination 72 1078s # Combination 73 1078s # Combination 74 1078s # Combination 75 1078s # Combination 76 1078s # Combination 77 1078s # Combination 78 1078s # Combination 79 1078s # Combination 80 1078s # Combination 81 1078s # Combination 82 1078s # Combination 83 1078s # Combination 84 1078s # Combination 85 1078s # Combination 86 1078s # Combination 87 1078s # Combination 88 1078s # Combination 89 1078s # Combination 90 1078s # Combination 91 1078s # Combination 92 1078s # Combination 93 1078s # Combination 94 1078s # Combination 95 1078s # Combination 96 1078s # Combination 97 1078s # Combination 98 1078s # Combination 99 1078s # Combination 100 1078s # Combination 101 1078s # Combination 102 1078s # Combination 103 1078s # Combination 104 1078s # Combination 105 1078s # Combination 106 1078s # Combination 107 1078s # Combination 108 1078s # Combination 109 1078s # Combination 110 1078s # Combination 111 1078s # Combination 112 1078s # Combination 113 1078s # Combination 114 1078s # Combination 115 1078s # Combination 116 1078s # Combination 117 1078s # Combination 118 1078s # Combination 119 1078s # Combination 120 1078s # Combination 121 1078s # Combination 122 1078s # Combination 123 1078s # Combination 124 1078s # Combination 125 1078s # Combination 126 1078s # Combination 127 1078s # Combination 128 1078s # Combination 129 1078s # Combination 130 1078s # Combination 131 1078s # Combination 132 1078s # Combination 133 1078s # Combination 134 1078s # Combination 135 1078s # Combination 136 1078s # Combination 137 1078s # Combination 138 1078s # Combination 139 1078s # Combination 140 1078s # Combination 141 1078s # Combination 142 1078s # Combination 143 1078s # Combination 144 1078s # Combination 145 1078s # Combination 146 1078s # Combination 147 1078s # Combination 148 1078s # Combination 149 1078s # Combination 150 1078s # Combination 151 1078s # Combination 152 1078s # Combination 153 1078s # Combination 154 1078s # Combination 155 1078s # Combination 156 1078s # Combination 157 1078s # Combination 158 1078s # Combination 159 1078s # Combination 160 1078s # Combination 161 1078s # Combination 162 1078s # Combination 163 1078s # Combination 164 1078s # Combination 165 1078s # Combination 166 1078s # Combination 167 1078s # Combination 168 1078s # Combination 169 1078s # Combination 170 1078s # Combination 171 1078s # Combination 172 1078s # Combination 173 1078s # Combination 174 1078s # Combination 175 1078s # Combination 176 1078s # Combination 177 1078s # Combination 178 1078s # Combination 179 1078s # Combination 180 1078s # Combination 181 1078s # Combination 182 1078s # Combination 183 1078s # Combination 184 1078s # Combination 185 1078s # Combination 186 1078s # Combination 187 1078s # Combination 188 1078s # Combination 189 1078s # Combination 190 1078s # Combination 191 1078s # Combination 192 1078s # Combination 193 1078s # Combination 194 1078s # Combination 195 1078s # Combination 196 1078s # Combination 197 1078s # Combination 198 1078s # Combination 199 1078s # Combination 200 1078s # Combination 201 1078s # Combination 202 1078s # Combination 203 1078s # Combination 204 1078s # Combination 205 1078s # Combination 206 1078s # Combination 207 1078s # Combination 208 1078s # Combination 209 1078s # Combination 210 1078s # Combination 211 1078s # Combination 212 1078s # Combination 213 1078s # Combination 214 1078s # Combination 215 1078s # Combination 216 1078s # Combination 217 1078s # Combination 218 1078s # Combination 219 1078s # Combination 220 1078s # Combination 221 1078s # Combination 222 1078s # Combination 223 1078s # Combination 224 1078s # Combination 225 1078s # Combination 226 1078s # Combination 227 1078s # Combination 228 1078s # Combination 229 1078s # Combination 230 1078s # Combination 231 1078s # Combination 232 1078s # Combination 233 1078s # Combination 234 1078s # Combination 235 1078s # Combination 236 1078s # Combination 237 1078s # Combination 238 1078s # Combination 239 1078s # Combination 240 1078s # Combination 241 1078s # Combination 242 1078s # Combination 243 1078s # Combination 244 1078s # Combination 245 1078s # Combination 246 1078s # Combination 247 1078s # Combination 248 1078s # Combination 249 1078s # Combination 250 1078s # Combination 251 1078s # Combination 252 1078s # Combination 253 1078s # Combination 254 1078s # Combination 255 1078s ok 15 /uri/join-split-round-trip 1078s ok 16 /uri/normalize 1078s # Start of unescape-bytes tests 1078s # Test 0: %00%00 1078s # Test 1: /cursors/none.png 1078s # Test 2: /cursors%2fbad-subdir/none.png 1078s # Test 3: %% 1078s # Test 4: % 1078s ok 17 /uri/unescape-bytes/nul-terminated 1078s # Test 0: %00%00 1078s # Test 1: /cursors/none.png 1078s # Test 2: /cursors%2fbad-subdir/none.png 1078s # Test 3: %% 1078s # Test 4: % 1078s ok 18 /uri/unescape-bytes/length 1078s # End of unescape-bytes tests 1078s # Start of parsing tests 1078s # Test 0: foo: 1078s # Test 1: file:/dev/null 1078s # Test 2: file:///dev/null 1078s # Test 3: ftp://user@host/path 1078s # Test 4: ftp://user@host:9999/path 1078s # Test 5: ftp://user:password@host/path 1078s # Test 6: ftp://user:password@host:9999/path 1078s # Test 7: ftp://user:password@host 1078s # Test 8: http://us%65r@host 1078s # Test 9: http://us%40r@host 1078s # Test 10: http://us%3ar@host 1078s # Test 11: http://us%2fr@host 1078s # Test 12: http://us%3fr@host 1078s # Test 13: http://host?query 1078s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 1078s # 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 1078s # Test 16: http://space/%20 1078s # Test 17: http://delims/%3C%3E%23%25%22 1078s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 1078s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 1078s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 1078s # Test 21: http://[3ffe:2a00:100:7031::1] 1078s # Test 22: http://[1080::8:800:200C:417A]/foo 1078s # Test 23: http://[::192.9.5.5]/ipng 1078s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 1078s # Test 25: http://[2010:836B:4179::836B:4179] 1078s # Test 26: http://host/path with spaces 1078s # Test 27: http://host/path 1078s # Test 28: http://host/path 1078s # Test 29: http://host 1078s # Test 30: http://host:999 1078s # Test 31: http://host/pa 1078s # th 1078s # Test 32: http: 1078s # //host/path 1078s # Test 33: http:// host/path 1078s # Test 34: http://host/path? 1078s # Test 35: http://host/path# 1078s # Test 36: http://host/path% 1078s # Test 37: http://h%ost/path 1078s # Test 38: http://host/path%% 1078s # Test 39: http://host/path%%% 1078s # Test 40: http://host/path%/x/ 1078s # Test 41: http://host/path%0x/ 1078s # Test 42: http://host/path%ax 1078s # Test 43: http://host/päth/ 1078s # Test 44: HTTP://////////////// 1078s # Test 45: http://@host 1078s # Test 46: http://:@host 1078s # Test 47: scheme://foo%3Abar._webdav._tcp.local 1078s # Test 48: http://example.com/.. 1078s # Test 49: foo0://host/path 1078s # Test 50: f0.o://host/path 1078s # Test 51: http++://host/path 1078s # Test 52: http-ish://host/path 1078s # Test 53: http://[fe80::dead:beef%]/ 1078s # Test 54: http://[fe80::dead:beef%em1]/ 1078s # Test 55: http://[fe80::dead:beef%em1]/ 1078s # Test 56: http://[fe80::dead:beef%25em1]/ 1078s # Test 57: http://[fe80::dead:beef%25em1%20]/ 1078s # Test 58: http://[fe80::dead:beef%25em%31]/ 1078s # Test 59: http://[fe80::dead:beef%10]/ 1078s # Test 60: http://[fe80::dead:beef%10]/ 1078s # Test 61: http://[fe80::dead:beef%25]/ 1078s # Test 62: http://[fe80::dead:beef%25]/ 1078s # Test 63: http://[192.168.0.1%25em1]/ 1078s # Test 64: http://[fe80::dead:beef%2em1]/ 1078s # Test 65: http://[fe80::dead:beef%2em1]/ 1078s # Test 66: http://[fe80::dead:beef%25em1%00]/ 1078s # Test 67: http://[fe80::dead:beef%25em1%00]/ 1078s # Test 68: http://xn--mixed-üp/ 1078s # Test 69: data:./// 1078s # Test 70: data:/.// 1078s ok 19 /uri/parsing/absolute 1078s ok 20 /uri/parsing/relative 1078s # End of parsing tests 1078s # Start of iter-params tests 1078s # URI 0: p1=foo&p2=bar;p3=baz 1078s # URI 1: p1=foo&p2=bar 1078s # URI 2: p1=foo&&P1=bar 1078s # URI 3: %00=foo 1078s # URI 4: p1=%00 1078s # URI 5: p1=foo&p1=bar 1078s # URI 6: p1=foo&P1=bar 1078s # URI 7: =% 1078s # URI 8: = 1078s # URI 9: foo 1078s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1078s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1078s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1078s ok 21 /uri/iter-params/nul-terminated 1078s # URI 0: p1=foo&p2=bar;p3=baz 1078s # URI 1: p1=foo&p2=bar 1078s # URI 2: p1=foo&&P1=bar 1078s # URI 3: %00=foo 1078s # URI 4: p1=%00 1078s # URI 5: p1=foo&p1=bar 1078s # URI 6: p1=foo&P1=bar 1078s # URI 7: =% 1078s # URI 8: = 1078s # URI 9: foo 1078s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1078s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1078s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1078s ok 22 /uri/iter-params/length 1078s # End of iter-params tests 1078s # Start of parse-params tests 1078s # URI 0: p1=foo&p2=bar;p3=baz 1078s # URI 1: p1=foo&p2=bar 1078s # URI 2: p1=foo&&P1=bar 1078s # URI 3: %00=foo 1078s # URI 4: p1=%00 1078s # URI 5: p1=foo&p1=bar 1078s # URI 6: p1=foo&P1=bar 1078s # URI 7: =% 1078s # URI 8: = 1078s # URI 9: foo 1078s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1078s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1078s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1078s ok 23 /uri/parse-params/nul-terminated 1078s # URI 0: p1=foo&p2=bar;p3=baz 1078s # URI 1: p1=foo&p2=bar 1078s # URI 2: p1=foo&&P1=bar 1078s # URI 3: %00=foo 1078s # URI 4: p1=%00 1078s # URI 5: p1=foo&p1=bar 1078s # URI 6: p1=foo&P1=bar 1078s # URI 7: =% 1078s # URI 8: = 1078s # URI 9: foo 1078s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1078s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 1078s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 1078s ok 24 /uri/parse-params/length 1078s # End of parse-params tests 1078s # End of uri tests 1078s TAP version 14 1078s # random seed: R02Sbfacfa632ae166c8cd07bd9e0eb15d13 1078s 1..2 1078s # Start of gdbus tests 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_PKXGC3/gdbus/close-pending/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_PKXGC3/gdbus/close-pending/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_PKXGC3/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_PKXGC3/gdbus/close-pending/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_PKXGC3/gdbus/close-pending/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_PKXGC3/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_PKXGC3/gdbus/close-pending/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_PKXGC3/gdbus/close-pending/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_PKXGC3/gdbus/close-pending/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_PKXGC3/gdbus/close-pending/.dirs/runtime 1078s ok 1 /gdbus/close-pending 1078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_PKXGC3/gdbus/unref-pending/.dirs/home 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_PKXGC3/gdbus/unref-pending/.dirs/cache 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_PKXGC3/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_PKXGC3/gdbus/unref-pending/.dirs/system-config2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_PKXGC3/gdbus/unref-pending/.dirs/config 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_PKXGC3/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_PKXGC3/gdbus/unref-pending/.dirs/system-data2 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_PKXGC3/gdbus/unref-pending/.dirs/data 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_PKXGC3/gdbus/unref-pending/.dirs/state 1078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_PKXGC3/gdbus/unref-pending/.dirs/runtime 1079s # Executing: glib/gdbus-close-pending.test 1079s ok - glib/gdbus-close-pending.test 1079s ok 2 /gdbus/unref-pending 1079s # End of gdbus tests 1079s # Running test: glib/atomic-c-99.test 1079s TAP version 14 1079s # random seed: R02Sed4505898bd602793356d5649af67eaf 1079s 1..2 1079s # Start of atomic tests 1079s ok 1 /atomic/types 1079s ok 2 /atomic/threaded 1079s # End of atomic tests 1079s ok - glib/atomic-c-99.test 1079s # Running test: glib/memory-monitor-portal.test 1079s TAP version 13 1079s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 1079s 1..1 1079s ok - glib/memory-monitor-portal.test 1079s # Running test: glib/slice.test 1079s TAP version 14 1079s # random seed: R02S823233629f412fb3f124833f0be005e6 1079s 1..3 1079s # Start of slice tests 1079s ok 1 /slice/copy 1079s ok 2 /slice/chain 1079s ok - glib/slice.test 1079s # Running test: glib/basic-signals.test 1079s ok - glib/basic-signals.test 1079s # Running test: glib/repository.test 1079s ok 3 /slice/allocate 1079s # End of slice tests 1079s TAP version 14 1079s # random seed: R02Sf2ce8606444196b2e4e9105bb937b893 1079s 1..1 1079s # Start of gobject tests 1079s ok 1 /gobject/basic-signals 1079s # End of gobject tests 1080s TAP version 14 1080s # random seed: R02S0339f0cbb2c0c2dd31f5f63bed6706e0 1080s 1..24 1080s # Start of repository tests 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WVD9B3/repository/basic/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WVD9B3/repository/basic/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WVD9B3/repository/basic/.dirs/system-config1:/tmp/test_repository_WVD9B3/repository/basic/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WVD9B3/repository/basic/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WVD9B3/repository/basic/.dirs/system-data1:/tmp/test_repository_WVD9B3/repository/basic/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WVD9B3/repository/basic/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WVD9B3/repository/basic/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WVD9B3/repository/basic/.dirs/runtime 1080s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1080s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 1080s ok 1 /repository/basic 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WVD9B3/repository/info/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WVD9B3/repository/info/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WVD9B3/repository/info/.dirs/system-config1:/tmp/test_repository_WVD9B3/repository/info/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WVD9B3/repository/info/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WVD9B3/repository/info/.dirs/system-data1:/tmp/test_repository_WVD9B3/repository/info/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WVD9B3/repository/info/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WVD9B3/repository/info/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WVD9B3/repository/info/.dirs/runtime 1080s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1080s # /repository/info summary: Test retrieving some basic info blobs from a typelib 1080s ok 2 /repository/info 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WVD9B3/repository/dependencies/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WVD9B3/repository/dependencies/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WVD9B3/repository/dependencies/.dirs/system-config1:/tmp/test_repository_WVD9B3/repository/dependencies/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WVD9B3/repository/dependencies/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WVD9B3/repository/dependencies/.dirs/system-data1:/tmp/test_repository_WVD9B3/repository/dependencies/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WVD9B3/repository/dependencies/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WVD9B3/repository/dependencies/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WVD9B3/repository/dependencies/.dirs/runtime 1080s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1080s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 1080s ok 3 /repository/dependencies 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WVD9B3/repository/arg-info/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WVD9B3/repository/arg-info/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WVD9B3/repository/arg-info/.dirs/system-config1:/tmp/test_repository_WVD9B3/repository/arg-info/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WVD9B3/repository/arg-info/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WVD9B3/repository/arg-info/.dirs/system-data1:/tmp/test_repository_WVD9B3/repository/arg-info/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WVD9B3/repository/arg-info/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WVD9B3/repository/arg-info/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WVD9B3/repository/arg-info/.dirs/runtime 1080s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1080s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 1080s ok 4 /repository/arg-info 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WVD9B3/repository/callable-info/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WVD9B3/repository/callable-info/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WVD9B3/repository/callable-info/.dirs/system-config1:/tmp/test_repository_WVD9B3/repository/callable-info/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WVD9B3/repository/callable-info/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WVD9B3/repository/callable-info/.dirs/system-data1:/tmp/test_repository_WVD9B3/repository/callable-info/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WVD9B3/repository/callable-info/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WVD9B3/repository/callable-info/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WVD9B3/repository/callable-info/.dirs/runtime 1080s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1080s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 1080s ok 5 /repository/callable-info 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WVD9B3/repository/callback-info/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WVD9B3/repository/callback-info/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WVD9B3/repository/callback-info/.dirs/system-config1:/tmp/test_repository_WVD9B3/repository/callback-info/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WVD9B3/repository/callback-info/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WVD9B3/repository/callback-info/.dirs/system-data1:/tmp/test_repository_WVD9B3/repository/callback-info/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WVD9B3/repository/callback-info/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WVD9B3/repository/callback-info/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WVD9B3/repository/callback-info/.dirs/runtime 1080s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1080s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 1080s ok 6 /repository/callback-info 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WVD9B3/repository/char-types/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WVD9B3/repository/char-types/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WVD9B3/repository/char-types/.dirs/system-config1:/tmp/test_repository_WVD9B3/repository/char-types/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WVD9B3/repository/char-types/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WVD9B3/repository/char-types/.dirs/system-data1:/tmp/test_repository_WVD9B3/repository/char-types/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WVD9B3/repository/char-types/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WVD9B3/repository/char-types/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WVD9B3/repository/char-types/.dirs/runtime 1080s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1080s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 1080s ok 7 /repository/char-types 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WVD9B3/repository/constructor-return-type/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WVD9B3/repository/constructor-return-type/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WVD9B3/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_WVD9B3/repository/constructor-return-type/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WVD9B3/repository/constructor-return-type/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WVD9B3/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_WVD9B3/repository/constructor-return-type/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WVD9B3/repository/constructor-return-type/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WVD9B3/repository/constructor-return-type/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WVD9B3/repository/constructor-return-type/.dirs/runtime 1080s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1080s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 1080s ok 8 /repository/constructor-return-type 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WVD9B3/repository/enum-info-c-identifier/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WVD9B3/repository/enum-info-c-identifier/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WVD9B3/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_WVD9B3/repository/enum-info-c-identifier/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WVD9B3/repository/enum-info-c-identifier/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WVD9B3/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_WVD9B3/repository/enum-info-c-identifier/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WVD9B3/repository/enum-info-c-identifier/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WVD9B3/repository/enum-info-c-identifier/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WVD9B3/repository/enum-info-c-identifier/.dirs/runtime 1080s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1080s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 1080s ok 9 /repository/enum-info-c-identifier 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WVD9B3/repository/enum-info-static-methods/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WVD9B3/repository/enum-info-static-methods/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WVD9B3/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_WVD9B3/repository/enum-info-static-methods/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WVD9B3/repository/enum-info-static-methods/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WVD9B3/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_WVD9B3/repository/enum-info-static-methods/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WVD9B3/repository/enum-info-static-methods/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WVD9B3/repository/enum-info-static-methods/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WVD9B3/repository/enum-info-static-methods/.dirs/runtime 1080s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1080s # /repository/enum-info-static-methods summary: Test an enum with methods 1080s ok 10 /repository/enum-info-static-methods 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WVD9B3/repository/error-quark/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WVD9B3/repository/error-quark/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WVD9B3/repository/error-quark/.dirs/system-config1:/tmp/test_repository_WVD9B3/repository/error-quark/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WVD9B3/repository/error-quark/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WVD9B3/repository/error-quark/.dirs/system-data1:/tmp/test_repository_WVD9B3/repository/error-quark/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WVD9B3/repository/error-quark/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WVD9B3/repository/error-quark/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WVD9B3/repository/error-quark/.dirs/runtime 1080s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1080s # /repository/error-quark summary: Test finding an error quark by error domain 1080s ok 11 /repository/error-quark 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WVD9B3/repository/flags-info-c-identifier/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WVD9B3/repository/flags-info-c-identifier/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WVD9B3/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_WVD9B3/repository/flags-info-c-identifier/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WVD9B3/repository/flags-info-c-identifier/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WVD9B3/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_WVD9B3/repository/flags-info-c-identifier/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WVD9B3/repository/flags-info-c-identifier/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WVD9B3/repository/flags-info-c-identifier/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WVD9B3/repository/flags-info-c-identifier/.dirs/runtime 1080s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1080s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 1080s ok 12 /repository/flags-info-c-identifier 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WVD9B3/repository/fundamental-ref-func/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WVD9B3/repository/fundamental-ref-func/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WVD9B3/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_WVD9B3/repository/fundamental-ref-func/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WVD9B3/repository/fundamental-ref-func/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WVD9B3/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_WVD9B3/repository/fundamental-ref-func/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WVD9B3/repository/fundamental-ref-func/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WVD9B3/repository/fundamental-ref-func/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WVD9B3/repository/fundamental-ref-func/.dirs/runtime 1080s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1080s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 1080s ok 13 /repository/fundamental-ref-func 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WVD9B3/repository/instance-method-ownership-transfer/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WVD9B3/repository/instance-method-ownership-transfer/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WVD9B3/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_WVD9B3/repository/instance-method-ownership-transfer/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WVD9B3/repository/instance-method-ownership-transfer/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WVD9B3/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_WVD9B3/repository/instance-method-ownership-transfer/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WVD9B3/repository/instance-method-ownership-transfer/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WVD9B3/repository/instance-method-ownership-transfer/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WVD9B3/repository/instance-method-ownership-transfer/.dirs/runtime 1080s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1080s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 1080s ok 14 /repository/instance-method-ownership-transfer 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WVD9B3/repository/object-gtype-interfaces/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WVD9B3/repository/object-gtype-interfaces/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WVD9B3/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_WVD9B3/repository/object-gtype-interfaces/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WVD9B3/repository/object-gtype-interfaces/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WVD9B3/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_WVD9B3/repository/object-gtype-interfaces/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WVD9B3/repository/object-gtype-interfaces/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WVD9B3/repository/object-gtype-interfaces/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WVD9B3/repository/object-gtype-interfaces/.dirs/runtime 1080s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1080s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 1080s ok 15 /repository/object-gtype-interfaces 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WVD9B3/repository/signal-info-with-array-length-arg/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WVD9B3/repository/signal-info-with-array-length-arg/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WVD9B3/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_WVD9B3/repository/signal-info-with-array-length-arg/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WVD9B3/repository/signal-info-with-array-length-arg/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WVD9B3/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_WVD9B3/repository/signal-info-with-array-length-arg/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WVD9B3/repository/signal-info-with-array-length-arg/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WVD9B3/repository/signal-info-with-array-length-arg/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WVD9B3/repository/signal-info-with-array-length-arg/.dirs/runtime 1080s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1080s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 1080s ok 16 /repository/signal-info-with-array-length-arg 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WVD9B3/repository/type-info-name/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WVD9B3/repository/type-info-name/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WVD9B3/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_WVD9B3/repository/type-info-name/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WVD9B3/repository/type-info-name/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WVD9B3/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_WVD9B3/repository/type-info-name/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WVD9B3/repository/type-info-name/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WVD9B3/repository/type-info-name/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WVD9B3/repository/type-info-name/.dirs/runtime 1080s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1080s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 1080s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 1080s ok 17 /repository/type-info-name 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WVD9B3/repository/vfunc-info-with-no-invoker/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WVD9B3/repository/vfunc-info-with-no-invoker/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WVD9B3/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_WVD9B3/repository/vfunc-info-with-no-invoker/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WVD9B3/repository/vfunc-info-with-no-invoker/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WVD9B3/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_WVD9B3/repository/vfunc-info-with-no-invoker/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WVD9B3/repository/vfunc-info-with-no-invoker/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WVD9B3/repository/vfunc-info-with-no-invoker/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WVD9B3/repository/vfunc-info-with-no-invoker/.dirs/runtime 1080s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1080s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 1080s ok 18 /repository/vfunc-info-with-no-invoker 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WVD9B3/repository/vfunc-info-with-invoker-on-interface/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WVD9B3/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WVD9B3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_WVD9B3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WVD9B3/repository/vfunc-info-with-invoker-on-interface/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WVD9B3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_WVD9B3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WVD9B3/repository/vfunc-info-with-invoker-on-interface/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WVD9B3/repository/vfunc-info-with-invoker-on-interface/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WVD9B3/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 1080s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1080s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 1080s ok 19 /repository/vfunc-info-with-invoker-on-interface 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WVD9B3/repository/vfunc-info-with-invoker-on-object/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WVD9B3/repository/vfunc-info-with-invoker-on-object/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WVD9B3/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_WVD9B3/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WVD9B3/repository/vfunc-info-with-invoker-on-object/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WVD9B3/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_WVD9B3/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WVD9B3/repository/vfunc-info-with-invoker-on-object/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WVD9B3/repository/vfunc-info-with-invoker-on-object/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WVD9B3/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 1080s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1080s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 1080s ok 20 /repository/vfunc-info-with-invoker-on-object 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WVD9B3/repository/find-by-gtype/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WVD9B3/repository/find-by-gtype/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WVD9B3/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_WVD9B3/repository/find-by-gtype/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WVD9B3/repository/find-by-gtype/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WVD9B3/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_WVD9B3/repository/find-by-gtype/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WVD9B3/repository/find-by-gtype/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WVD9B3/repository/find-by-gtype/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WVD9B3/repository/find-by-gtype/.dirs/runtime 1080s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1080s # /repository/find-by-gtype summary: Test finding a GType 1080s ok 21 /repository/find-by-gtype 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WVD9B3/repository/loaded-namespaces/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WVD9B3/repository/loaded-namespaces/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WVD9B3/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_WVD9B3/repository/loaded-namespaces/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WVD9B3/repository/loaded-namespaces/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WVD9B3/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_WVD9B3/repository/loaded-namespaces/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WVD9B3/repository/loaded-namespaces/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WVD9B3/repository/loaded-namespaces/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WVD9B3/repository/loaded-namespaces/.dirs/runtime 1080s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1080s # /repository/loaded-namespaces summary: Test listing loaded namespaces 1080s ok 22 /repository/loaded-namespaces 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WVD9B3/repository/dup_default/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WVD9B3/repository/dup_default/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WVD9B3/repository/dup_default/.dirs/system-config1:/tmp/test_repository_WVD9B3/repository/dup_default/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WVD9B3/repository/dup_default/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WVD9B3/repository/dup_default/.dirs/system-data1:/tmp/test_repository_WVD9B3/repository/dup_default/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WVD9B3/repository/dup_default/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WVD9B3/repository/dup_default/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WVD9B3/repository/dup_default/.dirs/runtime 1080s ok 23 /repository/dup_default 1080s # Start of base-info tests 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_WVD9B3/repository/base-info/clear/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_WVD9B3/repository/base-info/clear/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_WVD9B3/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_WVD9B3/repository/base-info/clear/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_WVD9B3/repository/base-info/clear/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_WVD9B3/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_WVD9B3/repository/base-info/clear/.dirs/system-data2 1080s ok - glib/repository.test 1080s # Running test: glib/gnotification.test 1080s ok - glib/gnotification.test 1080s # Running test: glib/testfilemonitor.test 1080s ok - glib/testfilemonitor.test 1080s # Running test: glib/binding.test 1080s ok - glib/binding.test 1080s # Running test: glib/sandbox.test 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_WVD9B3/repository/base-info/clear/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_WVD9B3/repository/base-info/clear/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_WVD9B3/repository/base-info/clear/.dirs/runtime 1080s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1080s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 1080s ok 24 /repository/base-info/clear 1080s # End of base-info tests 1080s # End of repository tests 1080s TAP version 14 1080s # random seed: R02Sdbe101d55177f2d5239c6eda87c190cb 1080s 1..2 1080s # Start of gnotification tests 1080s ok 1 /gnotification/basic 1080s ok 2 /gnotification/properties 1080s # End of gnotification tests 1080s TAP version 14 1080s # random seed: R02S6c4c95b89e48d583060e898a92dc5eea 1080s 1..8 1080s # Start of monitor tests 1080s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1080s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1080s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1080s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1080s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1080s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1080s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1080s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1080s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1080s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1080s # Start of file tests 1080s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 1080s # End of file tests 1080s # End of monitor tests 1080s TAP version 14 1080s # random seed: R02Sb686aa2ca3ecd09f910ce8b99beb5304 1080s 1..19 1080s # Start of binding tests 1080s ok 1 /binding/default 1080s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 1080s ok 2 /binding/canonicalisation 1080s ok 3 /binding/bidirectional 1080s ok 4 /binding/transform 1080s ok 5 /binding/transform-default 1080s ok 6 /binding/transform-closure 1080s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 1080s ok 7 /binding/chain 1080s ok 8 /binding/sync-create 1080s ok 9 /binding/invert-boolean 1080s ok 10 /binding/same-object 1080s ok 11 /binding/unbind 1080s ok 12 /binding/unbind-weak 1080s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 1080s ok 13 /binding/unbind-multiple 1080s ok 14 /binding/fail 1080s ok 15 /binding/interface 1080s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 1080s ok 16 /binding/concurrent-unbind 1080s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 1080s ok 17 /binding/concurrent-finalizing 1080s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1080s ok 18 /binding/dispose-source 1080s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 1080s ok 19 /binding/dispose-target 1080s # End of binding tests 1080s TAP version 14 1080s ok - glib/sandbox.test 1080s # Running test: glib/pathbuf.test 1080s ok - glib/pathbuf.test 1080s # Running test: glib/socket-listener.test 1080s # random seed: R02S3d14e2c7dd85398018875bd275d2b563 1080s 1..4 1080s # Start of sandbox tests 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_L2E7B3/sandbox/none/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_L2E7B3/sandbox/none/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_L2E7B3/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_L2E7B3/sandbox/none/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_L2E7B3/sandbox/none/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_L2E7B3/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_L2E7B3/sandbox/none/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_L2E7B3/sandbox/none/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_L2E7B3/sandbox/none/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_L2E7B3/sandbox/none/.dirs/runtime 1080s ok 1 /sandbox/none 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_L2E7B3/sandbox/snap/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_L2E7B3/sandbox/snap/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_L2E7B3/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_L2E7B3/sandbox/snap/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_L2E7B3/sandbox/snap/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_L2E7B3/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_L2E7B3/sandbox/snap/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_L2E7B3/sandbox/snap/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_L2E7B3/sandbox/snap/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_L2E7B3/sandbox/snap/.dirs/runtime 1080s # Created snap.yaml in /tmp/test_sandbox_L2E7B3/snap/current/meta/snap.yaml 1080s ok 2 /sandbox/snap 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_L2E7B3/sandbox/classic-snap/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_L2E7B3/sandbox/classic-snap/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_L2E7B3/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_L2E7B3/sandbox/classic-snap/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_L2E7B3/sandbox/classic-snap/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_L2E7B3/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_L2E7B3/sandbox/classic-snap/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_L2E7B3/sandbox/classic-snap/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_L2E7B3/sandbox/classic-snap/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_L2E7B3/sandbox/classic-snap/.dirs/runtime 1080s # Created snap.yaml in /tmp/test_sandbox_L2E7B3/snap/current/meta/snap.yaml 1080s ok 3 /sandbox/classic-snap 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_L2E7B3/sandbox/flatpak/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_L2E7B3/sandbox/flatpak/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_L2E7B3/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_L2E7B3/sandbox/flatpak/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_L2E7B3/sandbox/flatpak/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_L2E7B3/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_L2E7B3/sandbox/flatpak/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_L2E7B3/sandbox/flatpak/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_L2E7B3/sandbox/flatpak/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_L2E7B3/sandbox/flatpak/.dirs/runtime 1080s # Creating .flatpak-info in /tmp/test_sandbox_L2E7B3/sandbox/flatpak/.dirs/runtime/.flatpak-info 1080s ok 4 /sandbox/flatpak 1080s # End of sandbox tests 1080s TAP version 14 1080s # random seed: R02S5731167d4befed9953b549adeb006367 1080s 1..3 1080s # Start of pathbuf tests 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_XSL7B3/pathbuf/init/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_XSL7B3/pathbuf/init/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_XSL7B3/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_XSL7B3/pathbuf/init/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_XSL7B3/pathbuf/init/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_XSL7B3/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_XSL7B3/pathbuf/init/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_XSL7B3/pathbuf/init/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_XSL7B3/pathbuf/init/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_XSL7B3/pathbuf/init/.dirs/runtime 1080s # Initializing empty path buf 1080s # Initializing with empty path 1080s # Initializing with full path 1080s # Initializing with no path 1080s # Allocating GPathBuf on the heap 1080s ok 1 /pathbuf/init 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_XSL7B3/pathbuf/push-pop/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_XSL7B3/pathbuf/push-pop/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_XSL7B3/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_XSL7B3/pathbuf/push-pop/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_XSL7B3/pathbuf/push-pop/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_XSL7B3/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_XSL7B3/pathbuf/push-pop/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_XSL7B3/pathbuf/push-pop/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_XSL7B3/pathbuf/push-pop/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_XSL7B3/pathbuf/push-pop/.dirs/runtime 1080s # Pushing relative path component 1080s # Pushing absolute path component 1080s # Popping a path component 1080s # Can't pop the last element of a path buffer 1080s ok 2 /pathbuf/push-pop 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_XSL7B3/pathbuf/filename-extension/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_XSL7B3/pathbuf/filename-extension/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_XSL7B3/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_XSL7B3/pathbuf/filename-extension/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_XSL7B3/pathbuf/filename-extension/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_XSL7B3/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_XSL7B3/pathbuf/filename-extension/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_XSL7B3/pathbuf/filename-extension/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_XSL7B3/pathbuf/filename-extension/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_XSL7B3/pathbuf/filename-extension/.dirs/runtime 1080s ok 3 /pathbuf/filename-extension 1080s # End of pathbuf tests 1080s TAP version 14 1080s # random seed: R02S2400e0534b26cfcb3bfab8dde38c01f6 1080s 1..4 1080s # Start of socket-listener tests 1080s ok 1 /socket-listener/event-signal 1080s # Start of accept tests 1080s # /socket-listener/accept/multi-simultaneously summary: Test that accepting multiple pending connections on the same GMainContext iteration works 1080s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3739 1080s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1080s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xadd55c4a130 and GSocketClientAsyncConnectData 0xadd55c45590 1080s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1080s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xadd55c4c780 and GSocketClientAsyncConnectData 0xadd55c4c5d0 1080s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1080s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xadd55c4cfa0 and GSocketClientAsyncConnectData 0xadd55c4cd20 1080s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1080s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xadd55c4d820 and GSocketClientAsyncConnectData 0xadd55c4d5a0 1080s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1080s ok - glib/socket-listener.test 1080s # Running test: glib/642026-ec.test 1080s ok - glib/642026-ec.test 1080s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xadd55c4e040 and GSocketClientAsyncConnectData 0xadd55c4ddc0 1080s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1080s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1080s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xadd55c50540 for GSocketClientAsyncConnectData 0xadd55c45590 1080s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1080s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1080s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xadd55c526b0 for GSocketClientAsyncConnectData 0xadd55c4c5d0 1080s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1080s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1080s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xadd55c52e60 for GSocketClientAsyncConnectData 0xadd55c4cd20 1080s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1080s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1080s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xadd55c53500 for GSocketClientAsyncConnectData 0xadd55c4d5a0 1080s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1080s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1080s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xadd55c4fbe0 for GSocketClientAsyncConnectData 0xadd55c4ddc0 1080s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1080s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1080s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1080s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1080s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1080s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1080s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1080s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1080s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1080s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1080s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1080s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1080s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1080s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1080s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1080s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1080s ok 2 /socket-listener/accept/multi-simultaneously 1080s # End of accept tests 1080s # Start of add-any-inet-port tests 1080s # /socket-listener/add-any-inet-port/listen-failures summary: Test that adding a listening port succeeds if either listening on IPv4 or IPv6 succeeds 1080s # Test 0 1080s # Test 1 1080s # Test 2 1080s # Test 3 1080s # Test 4 1080s # Test 5 1080s # Test 6 1080s # Test 7 1080s # Test 8 1080s # Test 9 1080s # Test 10 1080s ok 3 /socket-listener/add-any-inet-port/listen-failures 1080s # End of add-any-inet-port tests 1080s # Start of add-inet-port tests 1080s # /socket-listener/add-inet-port/listen-failures summary: Test that adding a listening port succeeds if either listening on IPv4 or IPv6 succeeds 1080s # Test 0 1080s # Test 1 1080s # Test 2 1080s # Test 3 1080s # Test 4 1080s # Test 5 1080s # Test 6 1080s # Test 7 1080s # Test 8 1080s # Test 9 1080s # Test 10 1080s ok 4 /socket-listener/add-inet-port/listen-failures 1080s # End of add-inet-port tests 1080s # End of socket-listener tests 1080s TAP version 14 1080s # random seed: R02S5a96fd5624ea6e6ae286d9cb1d9e0069 1080s 1..1 1080s # Start of glib tests 1080s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1080s ok 1 /glib/642026 1080s # End of glib tests 1080s # Running test: glib/rand.test 1080s TAP version 14 1080s # random seed: R02Sba325b33504c0defb8e19a730b09455e 1080s 1..2 1080s # Start of rand tests 1080s ok - glib/rand.test 1080s ok 1 /rand/test-rand 1080s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 1080s ok 2 /rand/double-range 1080s # End of rand tests 1080s # Running test: glib/asyncqueue.test 1080s TAP version 14 1080s # random seed: R02Sd7dca74ceca98ec512ca5f743e6ea034 1080s 1..7 1080s # Start of asyncqueue tests 1080s ok 1 /asyncqueue/basics 1080s ok 2 /asyncqueue/sort 1080s ok 3 /asyncqueue/destroy 1080s ok 4 /asyncqueue/threads 1080s ok - glib/asyncqueue.test 1080s # Running test: glib/macros-c-99.test 1080s ok 5 /asyncqueue/timed 1080s ok 6 /asyncqueue/remove 1080s ok 7 /asyncqueue/push_front 1080s # End of asyncqueue tests 1080s ok - glib/macros-c-99.test 1080s TAP version 14 1080s # random seed: R02Sd5c9a7c4e47d3778016439d24ead7454 1080s 1..4 1080s # Start of C tests 1080s ok 1 /C/standard-99 1080s # End of C tests 1080s # Start of alignof tests 1080s ok 2 /alignof/fallback 1080s # End of alignof tests 1080s # Start of assert tests 1080s ok 3 /assert/static 1080s # End of assert tests 1080s # Start of struct tests 1080s ok 4 /struct/sizeof_member 1080s # End of struct tests 1080s # Running test: glib/gdbus-subscribe.test 1080s TAP version 14 1080s # random seed: R02S3f9ce59b14d1f4b2462725f43fe55a3b 1080s 1..24 1080s # Start of gdbus tests 1080s # Start of subscribe tests 1080s # Start of conn tests 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/simple/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/simple/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/simple/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/simple/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/simple/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/simple/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/simple/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/simple/.dirs/runtime 1080s # subscriber is :1.0 1080s # service is :1.1 1080s # service 2 is :1.2 1080s # attacker is :1.3 1080s # Waiting for AddMatch to be processed 1080s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 1080s # Step 0: emitting signal 1080s # Sender: service 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Step 1: adding subscription 1080s # Sender: (any) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Subscribing via connection 1080s # Waiting for AddMatch to be processed 1080s # Step 2: emitting signal 1080s # Sender: service 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via connection 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 2 1080s # Received Finished signal from subscriber :1.0 1080s # Received Finished signal from service :1.1 1080s # Received Finished signal from service 2 :1.2 1080s # Received Finished signal from attacker :1.3 1080s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1080s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s ok 1 /gdbus/subscribe/conn/simple 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1080s # subscriber is :1.0 1080s # service is :1.1 1080s # service 2 is :1.2 1080s # attacker is :1.3 1080s # Waiting for AddMatch to be processed 1080s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1080s # Step 0: adding subscription 1080s # Sender: (any) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Subscribing via connection 1080s # Waiting for AddMatch to be processed 1080s # Step 1: emitting signal 1080s # Sender: service 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Step 2: emitting signal 1080s # Sender: service 2 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Step 3: emitting signal 1080s # Sender: service 1080s # Destination: subscriber :1.0 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Step 4: emitting signal 1080s # Sender: service 2 1080s # Destination: subscriber :1.0 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via connection 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 1 1080s # Signal received from service 2 :1.2 1080s # Signal received from service 2 :1.2 via connection 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 2 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via connection 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 3 1080s # Signal received from service 2 :1.2 1080s # Signal received from service 2 :1.2 via connection 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 4 1080s # Received Finished signal from subscriber :1.0 1080s # Received Finished signal from service :1.1 1080s # Received Finished signal from service 2 :1.2 1080s # Received Finished signal from attacker :1.3 1080s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1080s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1080s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1080s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/match_twice/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/match_twice/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/match_twice/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/match_twice/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/match_twice/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/match_twice/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/match_twice/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/match_twice/.dirs/runtime 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1080s # subscriber is :1.0 1080s # service is :1.1 1080s # service 2 is :1.2 1080s # attacker is :1.3 1080s # Waiting for AddMatch to be processed 1080s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 1080s # Step 0: adding subscription 1080s # Sender: service :1.1 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Subscribing via connection 1080s # Waiting for AddMatch to be processed 1080s # Step 1: adding subscription 1080s # Sender: (any) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: (any) 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Subscribing via connection 1080s # Waiting for AddMatch to be processed 1080s # Step 2: adding subscription 1080s # Sender: (any) 1080s # Path: (any) 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Subscribing via connection 1080s # Waiting for AddMatch to be processed 1080s # Step 3: adding subscription 1080s # Sender: service :1.1 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Subscribing via connection 1080s # Waiting for AddMatch to be processed 1080s # Step 4: emitting signal 1080s # Sender: service 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via connection 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 4 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via connection 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 4 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via connection 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 4 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via connection 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 4 1080s # Received Finished signal from subscriber :1.0 1080s # Received Finished signal from service :1.1 1080s # Received Finished signal from service 2 :1.2 1080s # Received Finished signal from attacker :1.3 1080s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s ok 3 /gdbus/subscribe/conn/match_twice 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1080s # subscriber is :1.0 1080s # service is :1.1 1080s # service 2 is :1.2 1080s # attacker is :1.3 1080s # Waiting for AddMatch to be processed 1080s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1080s # Step 0: adding subscription 1080s # Sender: service :1.1 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Subscribing via connection 1080s # Waiting for AddMatch to be processed 1080s # Step 1: emitting signal 1080s # Sender: attacker 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Step 2: emitting signal 1080s # Sender: attacker 1080s # Destination: subscriber :1.0 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Step 3: emitting signal 1080s # Sender: service 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via connection 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 3 1080s # Received Finished signal from subscriber :1.0 1080s # Received Finished signal from service :1.1 1080s # Received Finished signal from service 2 :1.2 1080s # Received Finished signal from attacker :1.3 1080s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1080s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1080s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1080s # subscriber is :1.0 1080s # service is :1.1 1080s # service 2 is :1.2 1080s # attacker is :1.3 1080s # Waiting for AddMatch to be processed 1080s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1080s # Step 0: adding subscription 1080s # Sender: :0.this.had.better.not.exist 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Subscribing via connection 1080s # Waiting for AddMatch to be processed 1080s # Step 1: emitting signal 1080s # Sender: attacker 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Step 2: emitting signal 1080s # Sender: attacker 1080s # Destination: subscriber :1.0 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Received Finished signal from subscriber :1.0 1080s # Received Finished signal from service :1.1 1080s # Received Finished signal from service 2 :1.2 1080s # Received Finished signal from attacker :1.3 1080s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1080s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1080s # subscriber is :1.0 1080s # service is :1.1 1080s # service 2 is :1.2 1080s # attacker is :1.3 1080s # Waiting for AddMatch to be processed 1080s # /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 1080s # Step 0: claiming bus name 1080s # Name: org.gtk.Test.AlreadyOwned 1080s # Owner: service 1080s # Step 1: adding subscription 1080s # Sender: org.gtk.Test.AlreadyOwned 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Subscribing via connection 1080s # Waiting for AddMatch to be processed 1080s # Step 2: adding subscription 1080s # Sender: org.gtk.Test.OwnedLater 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Subscribing via connection 1080s # Waiting for AddMatch to be processed 1080s # Step 3: emitting signal 1080s # Sender: attacker 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Step 4: emitting signal 1080s # Sender: attacker 1080s # Destination: subscriber :1.0 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Step 5: emitting signal 1080s # Sender: service 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Step 6: claiming bus name 1080s # Name: org.gtk.Test.OwnedLater 1080s # Owner: service 1080s # Step 7: emitting signal 1080s # Sender: service 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via connection 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 5 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via connection 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 7 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via connection 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 7 1080s # Received Finished signal from subscriber :1.0 1080s # Received Finished signal from service :1.1 1080s # Received Finished signal from service 2 :1.2 1080s # Received Finished signal from attacker :1.3 1080s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1080s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1080s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1080s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1080s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1080s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1080s # subscriber is :1.0 1080s # service is :1.1 1080s # service 2 is :1.2 1080s # attacker is :1.3 1080s # Waiting for AddMatch to be processed 1080s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1080s # Step 0: adding subscription 1080s # Sender: org.freedesktop.DBus 1080s # Path: /org/freedesktop/DBus 1080s # Interface: org.freedesktop.DBus 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Subscribing via connection 1080s # Waiting for AddMatch to be processed 1080s # Step 1: emitting signal 1080s # Sender: attacker 1080s # Destination: (broadcast) 1080s # Path: /org/freedesktop/DBus 1080s # Interface: org.freedesktop.DBus 1080s # Member: NameOwnerChanged 1080s # String argument 0: would I lie to you? 1080s # Waiting for signal to reach message bus 1080s # Step 2: emitting signal 1080s # Sender: attacker 1080s # Destination: subscriber :1.0 1080s # Path: /org/freedesktop/DBus 1080s # Interface: org.freedesktop.DBus 1080s # Member: NameOwnerChanged 1080s # Waiting for signal to reach message bus 1080s # Step 3: claiming bus name 1080s # Name: org.gtk.Test.OwnedLater 1080s # Owner: service 1080s # Signal received from message bus org.freedesktop.DBus 1080s # Signal received from (unused) org.freedesktop.DBus via connection 1080s # Path: /org/freedesktop/DBus 1080s # Interface: org.freedesktop.DBus 1080s # Member: NameOwnerChanged 1080s # Received Finished signal from subscriber :1.0 1080s # Received Finished signal from service :1.1 1080s # Received Finished signal from service 2 :1.2 1080s # Received Finished signal from attacker :1.3 1080s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1080s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1080s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1080s # subscriber is :1.0 1080s # service is :1.1 1080s # service 2 is :1.2 1080s # attacker is :1.3 1080s # Waiting for AddMatch to be processed 1080s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1080s # Step 0: claiming bus name 1080s # Name: org.gtk.Test.AlreadyOwned 1080s # Owner: service 1080s # Step 1: adding subscription 1080s # Sender: org.gtk.Test.AlreadyOwned 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Subscribing via connection 1080s # Immediately unsubscribing 1080s # Waiting for AddMatch to be processed 1080s # Step 2: emitting signal 1080s # Sender: service 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Received Finished signal from subscriber :1.0 1080s # Received Finished signal from service :1.1 1080s # Received Finished signal from service 2 :1.2 1080s # Received Finished signal from attacker :1.3 1080s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1080s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 1080s # End of conn tests 1080s # Start of proxy tests 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/simple/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/simple/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/simple/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/simple/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/simple/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/simple/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/simple/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/simple/.dirs/runtime 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1080s # subscriber is :1.0 1080s # service is :1.1 1080s # service 2 is :1.2 1080s # attacker is :1.3 1080s # Waiting for AddMatch to be processed 1080s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 1080s # Step 0: emitting signal 1080s # Sender: service 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Step 1: adding subscription 1080s # Sender: (any) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Cannot subscribe via proxy: no bus name 1080s # Waiting for AddMatch to be processed 1080s # Step 2: emitting signal 1080s # Sender: service 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Received Finished signal from subscriber :1.0 1080s # Received Finished signal from service :1.1 1080s # Received Finished signal from service 2 :1.2 1080s # Received Finished signal from attacker :1.3 1080s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1080s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s ok 9 /gdbus/subscribe/proxy/simple 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1080s # subscriber is :1.0 1080s # service is :1.1 1080s # service 2 is :1.2 1080s # attacker is :1.3 1080s # Waiting for AddMatch to be processed 1080s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1080s # Step 0: adding subscription 1080s # Sender: (any) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Cannot subscribe via proxy: no bus name 1080s # Waiting for AddMatch to be processed 1080s # Step 1: emitting signal 1080s # Sender: service 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Step 2: emitting signal 1080s # Sender: service 2 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Step 3: emitting signal 1080s # Sender: service 1080s # Destination: subscriber :1.0 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Step 4: emitting signal 1080s # Sender: service 2 1080s # Destination: subscriber :1.0 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Received Finished signal from subscriber :1.0 1080s # Received Finished signal from service :1.1 1080s # Received Finished signal from service 2 :1.2 1080s # Received Finished signal from attacker :1.3 1080s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1080s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1080s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1080s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/match_twice/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/match_twice/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/match_twice/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/match_twice/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/match_twice/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/match_twice/.dirs/runtime 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1080s # subscriber is :1.0 1080s # service is :1.1 1080s # service 2 is :1.2 1080s # attacker is :1.3 1080s # Waiting for AddMatch to be processed 1080s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 1080s # Step 0: adding subscription 1080s # Sender: service :1.1 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Subscribing via proxy 1080s # Waiting for AddMatch to be processed 1080s # Step 1: adding subscription 1080s # Sender: (any) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: (any) 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Cannot subscribe via proxy: no bus name 1080s # Waiting for AddMatch to be processed 1080s # Step 2: adding subscription 1080s # Sender: (any) 1080s # Path: (any) 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Cannot subscribe via proxy: no bus name 1080s # Waiting for AddMatch to be processed 1080s # Step 3: adding subscription 1080s # Sender: service :1.1 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Subscribing via proxy 1080s # Waiting for AddMatch to be processed 1080s # Step 4: emitting signal 1080s # Sender: service 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via proxy 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 4 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via proxy 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 4 1080s # Received Finished signal from subscriber :1.0 1080s # Received Finished signal from service :1.1 1080s # Received Finished signal from service 2 :1.2 1080s # Received Finished signal from attacker :1.3 1080s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s ok 11 /gdbus/subscribe/proxy/match_twice 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1080s # subscriber is :1.0 1080s # service is :1.1 1080s # service 2 is :1.2 1080s # attacker is :1.3 1080s # Waiting for AddMatch to be processed 1080s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1080s # Step 0: adding subscription 1080s # Sender: service :1.1 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Subscribing via proxy 1080s # Waiting for AddMatch to be processed 1080s # Step 1: emitting signal 1080s # Sender: attacker 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Step 2: emitting signal 1080s # Sender: attacker 1080s # Destination: subscriber :1.0 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Step 3: emitting signal 1080s # Sender: service 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via proxy 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 3 1080s # Received Finished signal from subscriber :1.0 1080s # Received Finished signal from service :1.1 1080s # Received Finished signal from service 2 :1.2 1080s # Received Finished signal from attacker :1.3 1080s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1080s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1080s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1080s # subscriber is :1.0 1080s # service is :1.1 1080s # service 2 is :1.2 1080s # attacker is :1.3 1080s # Waiting for AddMatch to be processed 1080s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1080s # Step 0: adding subscription 1080s # Sender: :0.this.had.better.not.exist 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Subscribing via proxy 1080s # Waiting for AddMatch to be processed 1080s # Step 1: emitting signal 1080s # Sender: attacker 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Step 2: emitting signal 1080s # Sender: attacker 1080s # Destination: subscriber :1.0 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Received Finished signal from subscriber :1.0 1080s # Received Finished signal from service :1.1 1080s # Received Finished signal from service 2 :1.2 1080s # Received Finished signal from attacker :1.3 1080s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1080s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1080s # subscriber is :1.0 1080s # service is :1.1 1080s # service 2 is :1.2 1080s # attacker is :1.3 1080s # Waiting for AddMatch to be processed 1080s # /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 1080s # Step 0: claiming bus name 1080s # Name: org.gtk.Test.AlreadyOwned 1080s # Owner: service 1080s # Step 1: adding subscription 1080s # Sender: org.gtk.Test.AlreadyOwned 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Subscribing via proxy 1080s # Waiting for AddMatch to be processed 1080s # Step 2: adding subscription 1080s # Sender: org.gtk.Test.OwnedLater 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Subscribing via proxy 1080s # Waiting for AddMatch to be processed 1080s # Step 3: emitting signal 1080s # Sender: attacker 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Step 4: emitting signal 1080s # Sender: attacker 1080s # Destination: subscriber :1.0 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Step 5: emitting signal 1080s # Sender: service 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Step 6: claiming bus name 1080s # Name: org.gtk.Test.OwnedLater 1080s # Owner: service 1080s # Step 7: emitting signal 1080s # Sender: service 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via proxy 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 5 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via proxy 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 7 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via proxy 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 7 1080s # Received Finished signal from subscriber :1.0 1080s # Received Finished signal from service :1.1 1080s # Received Finished signal from service 2 :1.2 1080s # Received Finished signal from attacker :1.3 1080s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1080s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1080s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1080s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1080s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1080s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1080s # subscriber is :1.0 1080s # service is :1.1 1080s # service 2 is :1.2 1080s # attacker is :1.3 1080s # Waiting for AddMatch to be processed 1080s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1080s # Step 0: adding subscription 1080s # Sender: org.freedesktop.DBus 1080s # Path: /org/freedesktop/DBus 1080s # Interface: org.freedesktop.DBus 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Subscribing via proxy 1080s # Waiting for AddMatch to be processed 1080s # Step 1: emitting signal 1080s # Sender: attacker 1080s # Destination: (broadcast) 1080s # Path: /org/freedesktop/DBus 1080s # Interface: org.freedesktop.DBus 1080s # Member: NameOwnerChanged 1080s # String argument 0: would I lie to you? 1080s # Waiting for signal to reach message bus 1080s # Step 2: emitting signal 1080s # Sender: attacker 1080s # Destination: subscriber :1.0 1080s # Path: /org/freedesktop/DBus 1080s # Interface: org.freedesktop.DBus 1080s # Member: NameOwnerChanged 1080s # Waiting for signal to reach message bus 1080s # Step 3: claiming bus name 1080s # Name: org.gtk.Test.OwnedLater 1080s # Owner: service 1080s # Signal received from message bus org.freedesktop.DBus 1080s # Signal received from (unused) org.freedesktop.DBus via proxy 1080s # Path: /org/freedesktop/DBus 1080s # Interface: org.freedesktop.DBus 1080s # Member: NameOwnerChanged 1080s # Received Finished signal from subscriber :1.0 1080s # Received Finished signal from service :1.1 1080s # Received Finished signal from service 2 :1.2 1080s # Received Finished signal from attacker :1.3 1080s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1080s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1080s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1080s # subscriber is :1.0 1080s # service is :1.1 1080s # service 2 is :1.2 1080s # attacker is :1.3 1080s # Waiting for AddMatch to be processed 1080s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1080s # Step 0: claiming bus name 1080s # Name: org.gtk.Test.AlreadyOwned 1080s # Owner: service 1080s # Step 1: adding subscription 1080s # Sender: org.gtk.Test.AlreadyOwned 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Subscribing via proxy 1080s # Waiting for AddMatch to be processed 1080s # Step 2: emitting signal 1080s # Sender: service 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via proxy 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 2 1080s # Received Finished signal from subscriber :1.0 1080s # Received Finished signal from service :1.1 1080s # Received Finished signal from service 2 :1.2 1080s # Received Finished signal from attacker :1.3 1080s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1080s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 1080s # End of proxy tests 1080s # Start of parallel tests 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/simple/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/simple/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/simple/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/simple/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/simple/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/simple/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/simple/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/simple/.dirs/runtime 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1080s # subscriber is :1.0 1080s # service is :1.1 1080s # service 2 is :1.2 1080s # attacker is :1.3 1080s # Waiting for AddMatch to be processed 1080s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 1080s # Step 0: emitting signal 1080s # Sender: service 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Step 1: adding subscription 1080s # Sender: (any) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Subscribing via connection 1080s # Cannot subscribe via proxy: no bus name 1080s # Waiting for AddMatch to be processed 1080s # Step 2: emitting signal 1080s # Sender: service 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via connection 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 2 1080s # Received Finished signal from subscriber :1.0 1080s # Received Finished signal from service :1.1 1080s # Received Finished signal from service 2 :1.2 1080s # Received Finished signal from attacker :1.3 1080s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 1080s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 1080s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1080s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s ok 17 /gdbus/subscribe/parallel/simple 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1080s # subscriber is :1.0 1080s # service is :1.1 1080s # service 2 is :1.2 1080s # attacker is :1.3 1080s # Waiting for AddMatch to be processed 1080s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 1080s # Step 0: adding subscription 1080s # Sender: (any) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Subscribing via connection 1080s # Cannot subscribe via proxy: no bus name 1080s # Waiting for AddMatch to be processed 1080s # Step 1: emitting signal 1080s # Sender: service 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Step 2: emitting signal 1080s # Sender: service 2 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Step 3: emitting signal 1080s # Sender: service 1080s # Destination: subscriber :1.0 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Step 4: emitting signal 1080s # Sender: service 2 1080s # Destination: subscriber :1.0 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via connection 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 1 1080s # Signal received from service 2 :1.2 1080s # Signal received from service 2 :1.2 via connection 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 2 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via connection 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 3 1080s # Signal received from service 2 :1.2 1080s # Signal received from service 2 :1.2 via connection 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 4 1080s # Received Finished signal from subscriber :1.0 1080s # Received Finished signal from service :1.1 1080s # Received Finished signal from service 2 :1.2 1080s # Received Finished signal from attacker :1.3 1080s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 1080s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1080s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 1080s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1080s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1080s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1080s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 1080s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/match_twice/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/match_twice/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/match_twice/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/match_twice/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/match_twice/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/match_twice/.dirs/runtime 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1080s # subscriber is :1.0 1080s # service is :1.1 1080s # service 2 is :1.2 1080s # attacker is :1.3 1080s # Waiting for AddMatch to be processed 1080s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 1080s # Step 0: adding subscription 1080s # Sender: service :1.1 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Subscribing via connection 1080s # Subscribing via proxy 1080s # Waiting for AddMatch to be processed 1080s # Step 1: adding subscription 1080s # Sender: (any) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: (any) 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Subscribing via connection 1080s # Cannot subscribe via proxy: no bus name 1080s # Waiting for AddMatch to be processed 1080s # Step 2: adding subscription 1080s # Sender: (any) 1080s # Path: (any) 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Subscribing via connection 1080s # Cannot subscribe via proxy: no bus name 1080s # Waiting for AddMatch to be processed 1080s # Step 3: adding subscription 1080s # Sender: service :1.1 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Subscribing via connection 1080s # Subscribing via proxy 1080s # Waiting for AddMatch to be processed 1080s # Step 4: emitting signal 1080s # Sender: service 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via connection 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 4 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via proxy 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 4 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via connection 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 4 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via proxy 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 4 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via connection 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 4 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via connection 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 4 1080s # Received Finished signal from subscriber :1.0 1080s # Received Finished signal from service :1.1 1080s # Received Finished signal from service 2 :1.2 1080s # Received Finished signal from attacker :1.3 1080s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 1080s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s ok 19 /gdbus/subscribe/parallel/match_twice 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1080s # subscriber is :1.0 1080s # service is :1.1 1080s # service 2 is :1.2 1080s # attacker is :1.3 1080s # Waiting for AddMatch to be processed 1080s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 1080s # Step 0: adding subscription 1080s # Sender: service :1.1 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Subscribing via connection 1080s # Subscribing via proxy 1080s # Waiting for AddMatch to be processed 1080s # Step 1: emitting signal 1080s # Sender: attacker 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Step 2: emitting signal 1080s # Sender: attacker 1080s # Destination: subscriber :1.0 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Step 3: emitting signal 1080s # Sender: service 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via connection 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 3 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via proxy 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 3 1080s # Received Finished signal from subscriber :1.0 1080s # Received Finished signal from service :1.1 1080s # Received Finished signal from service 2 :1.2 1080s # Received Finished signal from attacker :1.3 1080s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1080s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1080s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1080s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1080s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 1080s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1080s # subscriber is :1.0 1080s # service is :1.1 1080s # service 2 is :1.2 1080s # attacker is :1.3 1080s # Waiting for AddMatch to be processed 1080s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 1080s # Step 0: adding subscription 1080s # Sender: :0.this.had.better.not.exist 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Subscribing via connection 1080s # Subscribing via proxy 1080s # Waiting for AddMatch to be processed 1080s # Step 1: emitting signal 1080s # Sender: attacker 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Step 2: emitting signal 1080s # Sender: attacker 1080s # Destination: subscriber :1.0 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Received Finished signal from subscriber :1.0 1080s # Received Finished signal from service :1.1 1080s # Received Finished signal from service 2 :1.2 1080s # Received Finished signal from attacker :1.3 1080s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1080s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1080s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1080s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1080s # subscriber is :1.0 1080s # service is :1.1 1080s # service 2 is :1.2 1080s # attacker is :1.3 1080s # Waiting for AddMatch to be processed 1080s # /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 1080s # Step 0: claiming bus name 1080s # Name: org.gtk.Test.AlreadyOwned 1080s # Owner: service 1080s # Step 1: adding subscription 1080s # Sender: org.gtk.Test.AlreadyOwned 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Subscribing via connection 1080s # Subscribing via proxy 1080s # Waiting for AddMatch to be processed 1080s # Step 2: adding subscription 1080s # Sender: org.gtk.Test.OwnedLater 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Subscribing via connection 1080s # Subscribing via proxy 1080s # Waiting for AddMatch to be processed 1080s # Step 3: emitting signal 1080s # Sender: attacker 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Step 4: emitting signal 1080s # Sender: attacker 1080s # Destination: subscriber :1.0 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Step 5: emitting signal 1080s # Sender: service 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Step 6: claiming bus name 1080s # Name: org.gtk.Test.OwnedLater 1080s # Owner: service 1080s # Step 7: emitting signal 1080s # Sender: service 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via connection 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 5 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via proxy 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 5 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via connection 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 7 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via proxy 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 7 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via connection 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 7 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via proxy 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 7 1080s # Received Finished signal from subscriber :1.0 1080s # Received Finished signal from service :1.1 1080s # Received Finished signal from service 2 :1.2 1080s # Received Finished signal from attacker :1.3 1080s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1080s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1080s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 1080s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 1080s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 1080s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 1080s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 1080s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 1080s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 1080s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 1080s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 1080s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1080s # subscriber is :1.0 1080s # service is :1.1 1080s # service 2 is :1.2 1080s # attacker is :1.3 1080s # Waiting for AddMatch to be processed 1080s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 1080s # Step 0: adding subscription 1080s # Sender: org.freedesktop.DBus 1080s # Path: /org/freedesktop/DBus 1080s # Interface: org.freedesktop.DBus 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Subscribing via connection 1080s # Subscribing via proxy 1080s # Waiting for AddMatch to be processed 1080s # Step 1: emitting signal 1080s # Sender: attacker 1080s # Destination: (broadcast) 1080s # Path: /org/freedesktop/DBus 1080s # Interface: org.freedesktop.DBus 1080s # Member: NameOwnerChanged 1080s # String argument 0: would I lie to you? 1080s # Waiting for signal to reach message bus 1080s # Step 2: emitting signal 1080s # Sender: attacker 1080s # Destination: subscriber :1.0 1080s # Path: /org/freedesktop/DBus 1080s # Interface: org.freedesktop.DBus 1080s # Member: NameOwnerChanged 1080s # Waiting for signal to reach message bus 1080s # Step 3: claiming bus name 1080s # Name: org.gtk.Test.OwnedLater 1080s # Owner: service 1080s # Signal received from message bus org.freedesktop.DBus 1080s # Signal received from (unused) org.freedesktop.DBus via connection 1080s # Path: /org/freedesktop/DBus 1080s # Interface: org.freedesktop.DBus 1080s # Member: NameOwnerChanged 1080s # Signal received from message bus org.freedesktop.DBus 1080s # Signal received from (unused) org.freedesktop.DBus via proxy 1080s # Path: /org/freedesktop/DBus 1080s # Interface: org.freedesktop.DBus 1080s # Member: NameOwnerChanged 1080s # Received Finished signal from subscriber :1.0 1080s # Received Finished signal from service :1.1 1080s # Received Finished signal from service 2 :1.2 1080s # Received Finished signal from attacker :1.3 1080s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 1080s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 1080s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1080s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 1080s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 1080s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_6YTHC3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1080s # subscriber is :1.0 1080s # service is :1.1 1080s # service 2 is :1.2 1080s # attacker is :1.3 1080s # Waiting for AddMatch to be processed 1080s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 1080s # Step 0: claiming bus name 1080s # Name: org.gtk.Test.AlreadyOwned 1080s # Owner: service 1080s # Step 1: adding subscription 1080s # Sender: org.gtk.Test.AlreadyOwned 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: (any) 1080s # String argument 0: (any) 1080s # Flags: 0 1080s # Subscribing via connection 1080s # Immediately unsubscribing 1080s # Subscribing via proxy 1080s # Waiting for AddMatch to be processed 1080s # Step 2: emitting signal 1080s # Sender: service 1080s # Destination: (broadcast) 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Waiting for signal to reach message bus 1080s # Signal received from service :1.1 1080s # Signal received from service :1.1 via proxy 1080s # Path: /org/gtk/GDBus/ExampleInterface 1080s # Interface: org.gtk.GDBus.ExampleInterface 1080s # Member: Foo 1080s # Argument 0: (not a string) 1080s # Sent in step: 2 1080s # Received Finished signal from subscriber :1.0 1080s # Received Finished signal from service :1.1 1080s # Received Finished signal from service 2 :1.2 1080s # Received Finished signal from attacker :1.3 1080s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 1080s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 1080s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 1080s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 1080s # End of parallel tests 1080s # End of subscribe tests 1080s # End of gdbus tests 1080s ok - glib/gdbus-subscribe.test 1080s # Running test: glib/gdbus-connection.test 1080s TAP version 14 1080s # random seed: R02S86099b9e3ef76b216701df7efc40a099 1080s 1..9 1080s # Start of gdbus tests 1080s # Start of connection tests 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/bus-failure/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/bus-failure/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_N3E8B3/gdbus/connection/bus-failure/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/bus-failure/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_N3E8B3/gdbus/connection/bus-failure/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/bus-failure/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/bus-failure/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/bus-failure/.dirs/runtime 1080s ok 1 /gdbus/connection/bus-failure 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/basic/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/basic/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_N3E8B3/gdbus/connection/basic/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/basic/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_N3E8B3/gdbus/connection/basic/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/basic/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/basic/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/basic/.dirs/runtime 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s ok 2 /gdbus/connection/basic 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/life-cycle/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/life-cycle/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_N3E8B3/gdbus/connection/life-cycle/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/life-cycle/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_N3E8B3/gdbus/connection/life-cycle/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/life-cycle/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/life-cycle/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/life-cycle/.dirs/runtime 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s ok 3 /gdbus/connection/life-cycle 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/send/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/send/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_N3E8B3/gdbus/connection/send/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/send/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_N3E8B3/gdbus/connection/send/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/send/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/send/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/send/.dirs/runtime 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s ok 4 /gdbus/connection/send 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/signals/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/signals/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_N3E8B3/gdbus/connection/signals/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/signals/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_N3E8B3/gdbus/connection/signals/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/signals/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/signals/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/signals/.dirs/runtime 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s ok 5 /gdbus/connection/signals 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/signal-match-rules/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/signal-match-rules/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_N3E8B3/gdbus/connection/signal-match-rules/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/signal-match-rules/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_N3E8B3/gdbus/connection/signal-match-rules/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/signal-match-rules/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/signal-match-rules/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/signal-match-rules/.dirs/runtime 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s ok 6 /gdbus/connection/signal-match-rules 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/filter/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/filter/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_N3E8B3/gdbus/connection/filter/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/filter/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_N3E8B3/gdbus/connection/filter/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/filter/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/filter/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/filter/.dirs/runtime 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s ok 7 /gdbus/connection/filter 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/serials/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/serials/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_N3E8B3/gdbus/connection/serials/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/serials/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_N3E8B3/gdbus/connection/serials/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/serials/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/serials/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/serials/.dirs/runtime 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s ok 8 /gdbus/connection/serials 1080s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/cancel/.dirs/home 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/cancel/.dirs/cache 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_N3E8B3/gdbus/connection/cancel/.dirs/system-config2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/cancel/.dirs/config 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_N3E8B3/gdbus/connection/cancel/.dirs/system-data2 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/cancel/.dirs/data 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/cancel/.dirs/state 1080s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_N3E8B3/gdbus/connection/cancel/.dirs/runtime 1080s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1080s ok 9 /gdbus/connection/cancel 1080s # End of connection tests 1080s # End of gdbus tests 1080s ok - glib/gdbus-connection.test 1080s # Running test: glib/rwlock.test 1080s TAP version 14 1080s # random seed: R02S0cabe76ec39e07e444476f1b7eca7f53 1080s 1..8 1080s # Start of thread tests 1080s ok 1 /thread/rwlock1 1080s ok 2 /thread/rwlock2 1080s ok 3 /thread/rwlock3 1080s ok 4 /thread/rwlock4 1080s ok 5 /thread/rwlock5 1080s ok 6 /thread/rwlock6 1084s # Executing: glib/rwlock.test 1089s # Executing: glib/rwlock.test 1094s # Executing: glib/rwlock.test 1096s ok 7 /thread/rwlock7 1096s # slow test /thread/rwlock7 executed in 15.38 secs 1096s ok 8 /thread/rwlock8 1096s # End of thread tests 1096s ok - glib/rwlock.test 1096s # Running test: glib/messages-low-memory.py.test 1096s TAP version 13 1096s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 1096s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 1096s # tmpdir: /tmp/tmpqdfrjc1t 1096s # Running: ['/usr/libexec/installed-tests/glib/messages-low-memory'] 1096s # Return code: -6 1096s # Output: 1096s # 1096s # Error: 1096s # GLib-Message: 12:44:01.511: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 1096s # GLib-Message: 12:44:01.511: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 1096s # ../../../glib/gprintf.c:361: failed to allocate memory 1096s 1..1 1096s ok - glib/messages-low-memory.py.test 1096s # Running test: glib/file-thumbnail.test 1096s TAP version 14 1096s # random seed: R02Sb00d71b103692d1417f0448e0aa93612 1096s 1..7 1096s # Start of file-thumbnail tests 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/fail/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/fail/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_TDSHC3/file-thumbnail/fail/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/fail/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_TDSHC3/file-thumbnail/fail/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/fail/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/fail/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/fail/.dirs/runtime 1096s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1096s # Created test thumbnail at /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1096s ok 1 /file-thumbnail/fail 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/size-priority/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/size-priority/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_TDSHC3/file-thumbnail/size-priority/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/size-priority/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_TDSHC3/file-thumbnail/size-priority/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/size-priority/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/size-priority/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/size-priority/.dirs/runtime 1096s # Created test thumbnail at /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 1096s # Created test thumbnail at /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1096s # Created test thumbnail at /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1096s # Created test thumbnail at /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1096s # Created test thumbnail at /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1096s ok 2 /file-thumbnail/size-priority 1096s # Start of valid tests 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/normal/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/normal/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/normal/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/normal/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/normal/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/normal/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/normal/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/normal/.dirs/runtime 1096s # Created test thumbnail at /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 1096s ok 3 /file-thumbnail/valid/normal 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/large/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/large/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/large/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/large/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/large/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/large/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/large/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/large/.dirs/runtime 1096s # Created test thumbnail at /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 1096s ok 4 /file-thumbnail/valid/large 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/x-large/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/x-large/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/x-large/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/x-large/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/x-large/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/x-large/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/x-large/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/x-large/.dirs/runtime 1096s # Created test thumbnail at /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 1096s ok 5 /file-thumbnail/valid/x-large 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/xx-large/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/xx-large/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/xx-large/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/xx-large/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/xx-large/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/xx-large/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/xx-large/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/xx-large/.dirs/runtime 1096s # Created test thumbnail at /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 1096s ok - glib/file-thumbnail.test 1096s # Running test: glib/registered-type-info.test 1096s ok 6 /file-thumbnail/valid/xx-large 1096s # End of valid tests 1096s # Start of unknown tests 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/unknown/super-large/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/unknown/super-large/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_TDSHC3/file-thumbnail/unknown/super-large/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/unknown/super-large/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_TDSHC3/file-thumbnail/unknown/super-large/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/unknown/super-large/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/unknown/super-large/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/unknown/super-large/.dirs/runtime 1096s # Created test thumbnail at /tmp/test_file-thumbnail_TDSHC3/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 1096s ok 7 /file-thumbnail/unknown/super-large 1096s # End of unknown tests 1096s # End of file-thumbnail tests 1096s TAP version 14 1096s # random seed: R02S5f950af1ba5f74935740fba4ab53a9cf 1096s 1..1 1096s # Start of registered-type-info tests 1096s ok - glib/registered-type-info.test 1096s # Running test: glib/gdbus-address-get-session.test 1096s ok - glib/gdbus-address-get-session.test 1096s # Running test: glib/rec-mutex.test 1096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_08E3B3/registered-type-info/boxed/.dirs/home 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_08E3B3/registered-type-info/boxed/.dirs/cache 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_08E3B3/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_08E3B3/registered-type-info/boxed/.dirs/system-config2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_08E3B3/registered-type-info/boxed/.dirs/config 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_08E3B3/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_08E3B3/registered-type-info/boxed/.dirs/system-data2 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_08E3B3/registered-type-info/boxed/.dirs/data 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_08E3B3/registered-type-info/boxed/.dirs/state 1096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_08E3B3/registered-type-info/boxed/.dirs/runtime 1096s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1096s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 1096s # Expecting CClosure to not be boxed 1096s # Expecting TypeCValue to not be boxed 1096s # Expecting InitiallyUnownedClass to not be boxed 1096s # Expecting BookmarkFile to be boxed 1096s # Expecting Closure to be boxed 1096s # Expecting Object to not be boxed 1096s ok 1 /registered-type-info/boxed 1096s # End of registered-type-info tests 1096s TAP version 14 1096s # random seed: R02S0d28673e0d02427c422e15b7f7aac7f1 1096s 1..2 1096s # Start of gdbus tests 1096s ok 1 /gdbus/x11-autolaunch 1096s ok 2 /gdbus/xdg-runtime 1096s # End of gdbus tests 1096s TAP version 14 1096s # random seed: R02S6a3a7025309386385b960e791de2b3e3 1096s 1..29 1096s # Start of thread tests 1096s ok 1 /thread/rec-mutex1 1096s ok 2 /thread/rec-mutex2 1096s ok 3 /thread/rec-mutex3 1096s ok 4 /thread/rec-mutex4 1096s # Start of rec-mutex tests 1096s # Start of perf tests 1096s # Start of uncontended tests 1096s # max perf: 1.000000 mips 1096s ok 5 /thread/rec-mutex/perf/uncontended/depth1 1096s # max perf: inf mips 1096s ok 6 /thread/rec-mutex/perf/uncontended/depth2 1096s # max perf: inf mips 1096s ok 7 /thread/rec-mutex/perf/uncontended/depth3 1096s # max perf: 1.000000 mips 1096s ok 8 /thread/rec-mutex/perf/uncontended/depth4 1096s # max perf: inf mips 1096s ok 9 /thread/rec-mutex/perf/uncontended/depth5 1096s # End of uncontended tests 1096s # Start of contended1 tests 1096s # max perf: 2.000000 mips 1096s ok 10 /thread/rec-mutex/perf/contended1/depth1 1096s # max perf: 2.000000 mips 1096s ok 11 /thread/rec-mutex/perf/contended1/depth2 1096s # max perf: inf mips 1096s ok 12 /thread/rec-mutex/perf/contended1/depth3 1096s # max perf: 2.000000 mips 1096s ok 13 /thread/rec-mutex/perf/contended1/depth4 1096s # max perf: inf mips 1096s ok 14 /thread/rec-mutex/perf/contended1/depth5 1096s # End of contended1 tests 1096s # Start of contended2 tests 1096s # max perf: 3.000000 mips 1096s ok 15 /thread/rec-mutex/perf/contended2/depth1 1096s # max perf: 3.000000 mips 1096s ok 16 /thread/rec-mutex/perf/contended2/depth2 1096s # max perf: inf mips 1096s ok 17 /thread/rec-mutex/perf/contended2/depth3 1096s # max perf: inf mips 1096s ok 18 /thread/rec-mutex/perf/contended2/depth4 1096s # max perf: 3.000000 mips 1096s ok 19 /thread/rec-mutex/perf/contended2/depth5 1096s # End of contended2 tests 1096s # Start of contended3 tests 1096s # max perf: 4.000000 mips 1096s ok 20 /thread/rec-mutex/perf/contended3/depth1 1096s # max perf: 4.000000 mips 1096s ok 21 /thread/rec-mutex/perf/contended3/depth2 1096s # max perf: 4.000000 mips 1096s ok 22 /thread/rec-mutex/perf/contended3/depth3 1096s # max perf: 4.000000 mips 1096s ok 23 /thread/rec-mutex/perf/contended3/depth4 1096s # max perf: 4.000000 mips 1096s ok 24 /thread/rec-mutex/perf/contended3/depth5 1096s # End of contended3 tests 1096s # Start of contended4 tests 1096s # max perf: 5.000000 mips 1096s ok 25 /thread/rec-mutex/perf/contended4/depth1 1096s # max perf: 5.000000 mips 1096s ok 26 /thread/rec-mutex/perf/contended4/depth2 1096s # max perf: 5.000000 mips 1096s ok 27 /thread/rec-mutex/perf/contended4/depth3 1096s # max perf: 5.000000 mips 1096s ok 28 /thread/rec-mutex/perf/contended4/depth4 1096s # max perf: 2.500000 mips 1096s ok 29 /thread/rec-mutex/perf/contended4/depth5 1096s # End of contended4 tests 1096s # End of perf tests 1096s # End of rec-mutex tests 1096s # End of thread tests 1096s ok - glib/rec-mutex.test 1096s # Running test: glib/refcount.test 1096s TAP version 14 1096s # random seed: R02S12cc4b80579f2c74730daeaf4a9c2a8f 1096s 1..4 1096s # Start of refcount tests 1096s ok 1 /refcount/grefcount 1096s ok 2 /refcount/gatomicrefcount 1096s # Start of grefcount tests 1096s ok 3 /refcount/grefcount/saturation 1096s # End of grefcount tests 1096s # Start of gatomicrefcount tests 1096s ok 4 /refcount/gatomicrefcount/saturation 1096s # End of gatomicrefcount tests 1096s # End of refcount tests 1096s ok - glib/refcount.test 1096s # Running test: glib/utils-c-89.test 1096s TAP version 14 1096s # random seed: R02Sd740fab5d0360f4de8f76b976832ca51 1096s 1..41 1096s # Start of utils tests 1096s ok 1 /utils/language-names 1096s # Testing locale ‘en’ 1096s # Testing locale ‘sr@latin’ 1096s # Testing locale ‘fr_BE’ 1096s # Testing locale ‘sr_SR@latin’ 1096s # Testing locale ‘sr_SR@latin.UTF-8’ 1096s # Testing locale ‘sr@latin_invalid’ 1096s # Testing locale ‘sr.UTF-8@latin’ 1096s # Testing locale ‘sr.UTF-8_latin’ 1096s # Testing locale ‘sr.UTF-8@latin_invalid’ 1096s ok 2 /utils/locale-variants 1096s ok 3 /utils/version 1096s ok 4 /utils/appname 1096s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1096s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1096s ok 5 /utils/prgname-thread-safety 1096s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1096s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1096s ok 6 /utils/tmpdir 1096s ok 7 /utils/basic_bits 1096s ok 8 /utils/bits 1096s ok 9 /utils/swap 1096s ok 10 /utils/find-program 1096s ok 11 /utils/find-program-for-path 1096s ok 12 /utils/debug 1096s ok 13 /utils/codeset 1096s ok - glib/utils-c-89.test 1096s # Running test: glib/properties-refcount1.test 1096s ok 14 /utils/codeset2 1096s ok 15 /utils/console-charset 1096s ok 16 /utils/gettext 1096s ok 17 /utils/username 1096s ok 18 /utils/realname 1096s ok 19 /utils/hostname 1096s ok 20 /utils/xdgdirs 1096s ok 21 /utils/specialdir 1096s # NAME: Ubuntu 1096s ok 22 /utils/os-info 1096s ok 23 /utils/clear-pointer 1096s ok 24 /utils/clear-pointer-cast 1096s ok 25 /utils/take-pointer 1096s ok 26 /utils/clear-source 1096s ok 27 /utils/misc-mem 1096s # /utils/aligned-mem summary: Aligned memory allocator 1096s # Alignment must not be zero 1096s # Alignment must be a power of two 1096s # Alignment must be a multiple of sizeof(void*) 1096s ok 28 /utils/aligned-mem 1096s # /utils/free-sized summary: Check that g_free_sized() works 1096s ok 29 /utils/free-sized 1096s ok 30 /utils/nullify 1096s ok 31 /utils/atexit 1096s ok 32 /utils/check-setuid 1096s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1096s ok 33 /utils/int-limits 1096s ok 34 /utils/clear-list 1096s ok 35 /utils/clear-slist 1096s ok 36 /utils/steal-handle-id 1096s # Start of specialdir tests 1096s ok 37 /utils/specialdir/desktop 1096s # End of specialdir tests 1096s # Start of clear-pointer tests 1096s ok 38 /utils/clear-pointer/side-effects 1096s # End of clear-pointer tests 1096s # Start of aligned-mem tests 1096s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1096s ok 39 /utils/aligned-mem/alignment 1096s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1096s ok 40 /utils/aligned-mem/zeroed 1096s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1096s ok 41 /utils/aligned-mem/free-sized 1096s # Start of subprocess tests 1096s # End of subprocess tests 1096s # End of aligned-mem tests 1096s # End of utils tests 1096s TAP version 14 1096s # random seed: R02Sa434d4f785291e3889ec2f21185d56ab 1096s 1..1 1096s # Start of gobject tests 1096s # Start of refcount tests 1096s # .b 1096s # .f 1096s # .e 1096s # .c 1096s # .d 1096s # .f 1096s # .b 1096s # .e 1096s # .d 1096s # .c 1097s # .b 1097s # .e 1097s # .f 1097s # .c 1097s # .d 1097s # .e 1097s # .b 1097s # .f 1097s # .d 1097s # .c 1097s # .e 1097s # .b 1097s # .d 1097s # .f 1097s # .c 1097s # .e 1097s # .b 1097s # .d 1097s # .f 1097s # .e 1097s # .c 1097s # .f 1097s # .b 1097s # .d 1097s # .e 1097s # .f 1097s # .c 1097s # .b 1097s # .d 1097s # .e 1097s # .f 1097s # .b 1097s # .d 1097s # .c 1097s # .e 1097s # .f 1097s # .b 1097s # .c 1097s # .d 1097s # .e 1097s # .e 1097s # .f 1098s # .b 1098s # .c 1098s # .d 1098s # .e 1098s # .f 1098s # .b 1098s # .c 1098s # .e 1098s # .d 1098s # .f 1098s # .b 1098s # .c 1098s # .e 1098s # .d 1098s # .f 1098s # .b 1098s # .e 1098s # .c 1098s # .d 1098s # .f 1098s # .b 1098s # .e 1098s # .c 1098s # .d 1098s # .f 1098s # .b 1098s # .c 1098s # .f 1098s # .e 1098s # .d 1098s # .b 1098s # .c 1098s # .e 1098s # .f 1098s # .d 1098s # .b 1098s # .c 1098s # .e 1098s # .f 1098s # .d 1098s # .b 1098s # .e 1098s # .c 1099s # .d 1099s # .f 1099s # Executing: glib/properties-refcount1.test 1099s # .b 1099s # .e 1099s # .f 1099s # .c 1099s # .d 1099s # .b 1099s # .f 1099s # .e 1099s # .c 1099s # .d 1099s # .b 1099s # .e 1099s # .f 1099s # .d 1099s # .c 1099s # .b 1099s # .e 1099s # .f 1099s # .d 1099s # .c 1099s # .b 1099s # .e 1099s # .f 1099s # .d 1099s # .c 1099s # .b 1099s # .e 1099s ok 1 /gobject/refcount/properties-1 1099s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 1099s # End of refcount tests 1099s # End of gobject tests 1099s ok - glib/properties-refcount1.test 1099s # Running test: glib/sort.test 1099s TAP version 14 1099s # random seed: R02S0fe43bdd390e74877847f1c34c9bb38e 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 ok - glib/sort.test 1099s # Running test: glib/performance.test 1104s # Executing: glib/performance.test 1109s # Executing: glib/performance.test 1109s simple-construction: Millions of constructed objects per second: 7.046 1111s simple-construction1: Millions of constructed objects per second: 56.558 1114s # Executing: glib/performance.test 1116s complex-construction: Millions of constructed objects per second: 3.648 1119s # Executing: glib/performance.test 1123s complex-construction1: Millions of constructed objects per second: 4.899 1124s # Executing: glib/performance.test 1129s # Executing: glib/performance.test 1130s complex-construction2: Millions of constructed objects per second: 5.269 1132s finalization: Millions of finalized objects per second: 1.099 1134s # Executing: glib/performance.test 1134s type-check: Million type checks per second: 14.59 1135s emit-unhandled: Emissions per second: 1089999 1137s emit-unhandled-empty: Emissions per second: 9047092 1138s emit-unhandled-generic: Emissions per second: 1214017 1139s # Executing: glib/performance.test 1139s emit-unhandled-generic-empty: Emissions per second: 9049242 1141s emit-unhandled-args: Emissions per second: 1084043 1142s emit-handled: Emissions per second: 775303 1144s # Executing: glib/performance.test 1144s emit-handled-empty: Emissions per second: 774994 1145s emit-handled-generic: Emissions per second: 785759 1146s emit-handled-generic-empty: Emissions per second: 1191136 1148s emit-handled-args: Emissions per second: 774286 1149s # Executing: glib/performance.test 1149s notify-unhandled: Notify (unhandled) per second: 9237050 1150s notify-by-pspec-unhandled: Notify (unhandled) per second: 44973112 1152s notify-handled: Notify per second: 507506 1153s notify-by-pspec-handled: Notify per second: 538721 1154s # Executing: glib/performance.test 1155s property-set: Property set per second: 6323827 1156s property-set-signaled: Property set per second: 1572001 1157s property-get: Property get per second: 6819980 1159s # Executing: glib/performance.test 1159s refcount: Million refs+unref per second: 6.13 1160s refcount-1: Million refs+unref per second: 14.39 1162s ok - glib/performance.test 1162s # Running test: glib/type.test 1162s refcount-toggle: Million refs+unref per second: 12.62 1162s TAP version 14 1162s # random seed: R02S54b004d0c33f30b5e97a57dacfae0230 1162s ok - glib/type.test 1162s 1..6 1162s # Start of type tests 1162s ok 1 /type/registration-serial 1162s ok 2 /type/interface-prerequisite 1162s ok 3 /type/interface-check 1162s ok 4 /type/next-base 1162s ok 5 /type/is-a 1162s # Invalid types can’t be queried. 1162s # Unclassed types can’t be queried. 1162s ok 6 /type/query 1162s # End of type tests 1162s # Running test: glib/fdo-notification-backend.test 1162s TAP version 14 1162s # random seed: R02Sf3ed45996626dce449e75e1a4a79856a 1162s 1..2 1162s # Start of fdo-notification-backend tests 1162s # Test constructing a GFdoNotificationBackend 1162s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1162s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1162s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1162s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1162s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1162s ok 1 /fdo-notification-backend/construction 1162s # Start of dbus tests 1162s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 1162s ok - glib/fdo-notification-backend.test 1162s # Running test: glib/vfs.test 1162s ok - glib/vfs.test 1162s # Running test: glib/socket.test 1162s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1162s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1162s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1162s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1162s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1162s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1162s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1162s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1162s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1162s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1162s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1162s ok 2 /fdo-notification-backend/dbus/activate-action 1162s # End of dbus tests 1162s # End of fdo-notification-backend tests 1162s TAP version 14 1162s # random seed: R02S87597453b4765a3918709beeab3270c6 1162s 1..3 1162s # Start of gvfs tests 1162s ok 1 /gvfs/local 1162s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1162s ok 2 /gvfs/register-scheme 1162s # Start of resource tests 1162s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 1162s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 1162s ok 3 /gvfs/resource/malformed-escaping 1162s # End of resource tests 1162s # End of gvfs tests 1162s TAP version 14 1162s # random seed: R02Sb15e0f4f8a608590e9ee5796799a7917 1162s 1..30 1162s # Start of socket tests 1163s ok 1 /socket/ipv4_sync 1163s # slow test /socket/ipv4_sync executed in 1.00 secs 1164s # Executing: glib/socket.test 1164s ok 2 /socket/ipv4_async 1164s # slow test /socket/ipv4_async executed in 1.00 secs 1164s ok 3 /socket/ipv6_sync 1164s ok 4 /socket/ipv6_async 1164s ok 5 /socket/ipv6_v4mapped 1165s ok 6 /socket/close_graceful 1165s # slow test /socket/close_graceful executed in 1.00 secs 1165s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1165s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1165s ok 8 /socket/fd_reuse 1165s ok 9 /socket/address 1165s ok 10 /socket/unix-from-fd 1165s ok 11 /socket/unix-connection 1165s ok 12 /socket/unix-connection-ancillary-data 1165s ok 13 /socket/source-postmortem 1165s ok 14 /socket/read_write 1165s ok 15 /socket/read_writev 1165s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1165s ok 16 /socket/receive_bytes 1165s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1165s ok 17 /socket/receive_bytes_from 1165s # Start of ipv4_sync tests 1165s ok 18 /socket/ipv4_sync/datagram 1165s # Start of datagram tests 1166s ok 19 /socket/ipv4_sync/datagram/timeouts 1166s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1166s # End of datagram tests 1166s # End of ipv4_sync tests 1166s # Start of ipv6_sync tests 1166s ok 20 /socket/ipv6_sync/datagram 1166s # Start of datagram tests 1167s ok 21 /socket/ipv6_sync/datagram/timeouts 1167s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1167s # End of datagram tests 1167s # End of ipv6_sync tests 1167s # Start of reuse tests 1167s ok 22 /socket/reuse/tcp 1167s ok 23 /socket/reuse/udp 1167s # End of reuse tests 1167s # Start of get_available tests 1167s ok 24 /socket/get_available/datagram 1167s ok 25 /socket/get_available/stream 1167s # End of get_available tests 1167s # Start of credentials tests 1167s # Supported on this OS: GCredentials:linux-ucred:pid=0 1167s ok 26 /socket/credentials/tcp_client 1167s # Supported on this OS: GCredentials:linux-ucred:pid=0 1167s ok 27 /socket/credentials/tcp_server 1167s # Supported on this OS: GCredentials:linux-ucred:pid=30692,uid=1000,gid=1000 1167s ok 28 /socket/credentials/unix_socketpair 1167s # End of credentials tests 1167s # Start of accept tests 1167s # /socket/accept/cancelled summary: Calling g_socket_accept() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1167s ok 29 /socket/accept/cancelled 1167s # End of accept tests 1167s # Start of connect tests 1167s # /socket/connect/cancelled summary: Calling g_socket_connect() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1167s ok 30 /socket/connect/cancelled 1167s # End of connect tests 1167s # End of socket tests 1167s ok - glib/socket.test 1167s # Running test: glib/unicode.test 1167s TAP version 14 1167s # random seed: R02S1f4e056b259c000aa96aabb86edffd31 1167s 1..39 1167s # Start of unicode tests 1167s ok 1 /unicode/alnum 1167s ok 2 /unicode/alpha 1167s ok 3 /unicode/break-type 1167s ok 4 /unicode/canonical-decomposition 1167s ok 5 /unicode/casefold 1167s # Cannot set locale to lt_LT, skipping 1167s # Cannot set locale to lt_LT, skipping 1167s # Cannot set locale to lt_LT, skipping 1167s # Cannot set locale to lt_LT, skipping 1167s # Cannot set locale to lt_LT, skipping 1167s # Cannot set locale to lt_LT, skipping 1167s # Cannot set locale to lt_LT, skipping 1167s # Cannot set locale to lt_LT, skipping 1167s # Cannot set locale to lt_LT, skipping 1167s # Cannot set locale to lt_LT, skipping 1167s # Cannot set locale to lt_LT, skipping 1167s ok 6 /unicode/casemap_and_casefold 1167s ok 7 /unicode/cases 1167s ok 8 /unicode/character-type 1167s ok 9 /unicode/cntrl 1167s ok 10 /unicode/combining-class 1167s # Composing U+000041 and U+000042; expecting U+000000 1167s # Composing U+000041 and U+000000; expecting U+000000 1167s # Composing U+000066 and U+000069; expecting U+000000 1167s # Composing U+000308 and U+000301; expecting U+000000 1167s # Composing U+000f71 and U+000f72; expecting U+000000 1167s # Composing U+00212b and U+000000; expecting U+000000 1167s # Composing U+0000c5 and U+000000; expecting U+000000 1167s # Composing U+002126 and U+000000; expecting U+000000 1167s # Composing U+0003a9 and U+000000; expecting U+000000 1167s # Composing U+000041 and U+00030a; expecting U+0000c5 1167s # Composing U+00006f and U+000302; expecting U+0000f4 1167s # Composing U+001e63 and U+000307; expecting U+001e69 1167s # Composing U+000073 and U+000323; expecting U+001e63 1167s # Composing U+000064 and U+000307; expecting U+001e0b 1167s # Composing U+000064 and U+000323; expecting U+001e0d 1167s # Composing U+00d4cc and U+0011b6; expecting U+00d4db 1167s # Composing U+001111 and U+001171; expecting U+00d4cc 1167s # Composing U+00ce20 and U+0011b8; expecting U+00ce31 1167s # Composing U+00110e and U+001173; expecting U+00ce20 1167s # Composing U+001100 and U+001160; expecting U+000000 1167s # Composing U+001100 and U+001177; expecting U+000000 1167s # Composing U+00abff and U+0011b6; expecting U+000000 1167s # Composing U+00d7a5 and U+0011b6; expecting U+000000 1167s # Composing U+00ac01 and U+0011b6; expecting U+000000 1167s # Composing U+00d4cc and U+0011a6; expecting U+000000 1167s # Composing U+00d4cc and U+0011c4; expecting U+000000 1167s # Composing U+01611e and U+01611e; expecting U+016121 1167s # Composing U+01611e and U+01611f; expecting U+016123 1167s # Composing U+0000f6 and U+000304; expecting U+00022b 1167s # Composing U+000b47 and U+000b57; expecting U+000b4c 1167s # Composing U+0000a0 and U+000b57; expecting U+000000 1167s # Composing U+016e00 and U+00030a; expecting U+000000 1167s # Composing U+00212b and U+016e00; expecting U+000000 1167s # Composing U+001e63 and U+000306; expecting U+000000 1167s # Composing U+001e63 and U+000304; expecting U+000000 1167s # Composing U+001e63 and U+000b57; expecting U+000000 1167s # Composing U+001e63 and U+000000; expecting U+000000 1167s # Composing U+001e63 and U+0113c2; expecting U+000000 1167s # Composing U+001f01 and U+0113c2; expecting U+000000 1167s # Composing U+00006e and U+000302; expecting U+000000 1167s # Composing U+001e63 and U+01611f; expecting U+000000 1167s # Composing U+01138e and U+0113b8; expecting U+000000 1167s # Composing U+01611e and U+000000; expecting U+000000 1167s # Composing U+000000 and U+01611f; expecting U+000000 1167s # Composing U+011390 and U+0113c2; expecting U+000000 1167s ok 11 /unicode/compose 1167s ok 12 /unicode/decompose 1167s ok 13 /unicode/decompose-tail 1167s ok 14 /unicode/defined 1167s ok 15 /unicode/digit 1167s ok 16 /unicode/digit-value 1167s # Fully decomposing U+000041; expecting 1 codepoints 1167s # Fully decomposing U+00fb01; expecting 1 codepoints 1167s # Fully decomposing U+00212b; expecting 2 codepoints 1167s # Fully decomposing U+002126; expecting 1 codepoints 1167s # Fully decomposing U+000344; expecting 2 codepoints 1167s # Fully decomposing U+000f73; expecting 2 codepoints 1167s # Fully decomposing U+0000c5; expecting 2 codepoints 1167s # Fully decomposing U+0000f4; expecting 2 codepoints 1167s # Fully decomposing U+001e69; expecting 3 codepoints 1167s # Fully decomposing U+001e63; expecting 2 codepoints 1167s # Fully decomposing U+001e0b; expecting 2 codepoints 1167s # Fully decomposing U+001e0d; expecting 2 codepoints 1167s # Fully decomposing U+00d4db; expecting 3 codepoints 1167s # Fully decomposing U+00d4cc; expecting 2 codepoints 1167s # Fully decomposing U+00ce31; expecting 3 codepoints 1167s # Fully decomposing U+00ce20; expecting 2 codepoints 1167s ok 17 /unicode/fully-decompose-canonical 1167s ok 18 /unicode/fully-decompose-len 1167s ok 19 /unicode/normalization 1167s ok 20 /unicode/graph 1167s # Testing script Zyyy (code 1517910393) 1167s # Testing script Zinh (code 1516858984) 1167s # Testing script Zmth (code 1517122664) 1167s # Testing script Arab (code 1098015074) 1167s # Testing script Armn (code 1098018158) 1167s # Testing script Beng (code 1113943655) 1167s # Testing script Bopo (code 1114599535) 1167s # Testing script Cher (code 1130915186) 1167s # Testing script Copt (code 1131376756) 1167s # Testing script Cyrl (code 1132032620) 1167s # Testing script Dsrt (code 1148416628) 1167s # Testing script Deva (code 1147500129) 1167s # Testing script Ethi (code 1165256809) 1167s # Testing script Geor (code 1197830002) 1167s # Testing script Goth (code 1198486632) 1167s # Testing script Grek (code 1198679403) 1167s # Testing script Gujr (code 1198877298) 1167s # Testing script Guru (code 1198879349) 1167s # Testing script Hani (code 1214344809) 1167s # Testing script Hang (code 1214344807) 1167s # Testing script Hebr (code 1214603890) 1167s # Testing script Hira (code 1214870113) 1167s # Testing script Knda (code 1265525857) 1167s # Testing script Kana (code 1264676449) 1167s # Testing script Khmr (code 1265134962) 1167s # Testing script Laoo (code 1281453935) 1167s # Testing script Latn (code 1281455214) 1167s # Testing script Mlym (code 1298954605) 1167s # Testing script Mong (code 1299148391) 1167s # Testing script Mymr (code 1299803506) 1167s # Testing script Ogam (code 1332175213) 1167s # Testing script Ital (code 1232363884) 1167s # Testing script Orya (code 1332902241) 1167s # Testing script Runr (code 1383427698) 1167s # Testing script Sinh (code 1399418472) 1167s # Testing script Syrc (code 1400468067) 1167s # Testing script Taml (code 1415671148) 1167s # Testing script Telu (code 1415933045) 1167s # Testing script Thaa (code 1416126817) 1167s # Testing script Thai (code 1416126825) 1167s # Testing script Tibt (code 1416192628) 1167s # Testing script Cans (code 1130458739) 1167s # Testing script Yiii (code 1500080489) 1167s # Testing script Tglg (code 1416064103) 1167s # Testing script Hano (code 1214344815) 1167s # Testing script Buhd (code 1114990692) 1167s # Testing script Tagb (code 1415669602) 1167s # Testing script Brai (code 1114792297) 1167s # Testing script Cprt (code 1131442804) 1167s # Testing script Limb (code 1281977698) 1167s # Testing script Osma (code 1332964705) 1167s # Testing script Shaw (code 1399349623) 1167s # Testing script Linb (code 1281977954) 1167s # Testing script Tale (code 1415670885) 1167s # Testing script Ugar (code 1432838514) 1167s # Testing script Talu (code 1415670901) 1167s # Testing script Bugi (code 1114990441) 1167s # Testing script Glag (code 1198285159) 1167s # Testing script Tfng (code 1415999079) 1167s # Testing script Sylo (code 1400466543) 1167s # Testing script Xpeo (code 1483761007) 1167s # Testing script Khar (code 1265131890) 1167s # Testing script Zzzz (code 1517976186) 1167s # Testing script Bali (code 1113681001) 1167s # Testing script Xsux (code 1483961720) 1167s # Testing script Phnx (code 1349021304) 1167s # Testing script Phag (code 1349017959) 1167s # Testing script Nkoo (code 1315663727) 1167s # Testing script Kali (code 1264675945) 1167s # Testing script Lepc (code 1281716323) 1167s # Testing script Rjng (code 1382706791) 1167s # Testing script Sund (code 1400204900) 1167s # Testing script Saur (code 1398895986) 1167s # Testing script Cham (code 1130914157) 1167s # Testing script Olck (code 1332503403) 1167s # Testing script Vaii (code 1449224553) 1167s # Testing script Cari (code 1130459753) 1167s # Testing script Lyci (code 1283023721) 1167s # Testing script Lydi (code 1283023977) 1167s # Testing script Avst (code 1098281844) 1167s # Testing script Bamu (code 1113681269) 1167s # Testing script Egyp (code 1164409200) 1167s # Testing script Armi (code 1098018153) 1167s # Testing script Phli (code 1349020777) 1167s # Testing script Prti (code 1349678185) 1167s # Testing script Java (code 1247901281) 1167s # Testing script Kthi (code 1265920105) 1167s # Testing script Lisu (code 1281979253) 1167s # Testing script Mtei (code 1299473769) 1167s # Testing script Sarb (code 1398895202) 1167s # Testing script Orkh (code 1332898664) 1167s # Testing script Samr (code 1398893938) 1167s # Testing script Lana (code 1281453665) 1167s # Testing script Tavt (code 1415673460) 1167s # Testing script Batk (code 1113683051) 1167s # Testing script Brah (code 1114792296) 1167s # Testing script Mand (code 1298230884) 1167s # Testing script Cakm (code 1130457965) 1167s # Testing script Merc (code 1298494051) 1167s # Testing script Mero (code 1298494063) 1167s # Testing script Plrd (code 1349284452) 1167s # Testing script Shrd (code 1399353956) 1167s # Testing script Sora (code 1399812705) 1167s # Testing script Takr (code 1415670642) 1167s # Testing script Bass (code 1113682803) 1167s # Testing script Aghb (code 1097295970) 1167s # Testing script Dupl (code 1148547180) 1167s # Testing script Elba (code 1164730977) 1167s # Testing script Gran (code 1198678382) 1167s # Testing script Khoj (code 1265135466) 1167s # Testing script Sind (code 1399418468) 1167s # Testing script Lina (code 1281977953) 1167s # Testing script Mahj (code 1298229354) 1167s # Testing script Mani (code 1298230889) 1167s # Testing script Mend (code 1298493028) 1167s # Testing script Modi (code 1299145833) 1167s # Testing script Mroo (code 1299345263) 1167s # Testing script Nbat (code 1315070324) 1167s # Testing script Narb (code 1315009122) 1167s # Testing script Perm (code 1348825709) 1167s # Testing script Hmng (code 1215131239) 1167s # Testing script Palm (code 1348562029) 1167s # Testing script Pauc (code 1348564323) 1167s # Testing script Phlp (code 1349020784) 1167s # Testing script Sidd (code 1399415908) 1167s # Testing script Tirh (code 1416196712) 1167s # Testing script Wara (code 1466004065) 1167s # Testing script Ahom (code 1097363309) 1167s # Testing script Hluw (code 1215067511) 1167s # Testing script Hatr (code 1214346354) 1167s # Testing script Mult (code 1299541108) 1167s # Testing script Hung (code 1215655527) 1167s # Testing script Sgnw (code 1399287415) 1167s # Testing script Adlm (code 1097100397) 1167s # Testing script Bhks (code 1114139507) 1167s # Testing script Marc (code 1298231907) 1167s # Testing script Newa (code 1315272545) 1167s # Testing script Osge (code 1332963173) 1167s # Testing script Tang (code 1415671399) 1167s # Testing script Gonm (code 1198485101) 1167s # Testing script Nshu (code 1316186229) 1167s # Testing script Soyo (code 1399814511) 1167s # Testing script Zanb (code 1516334690) 1167s # Testing script Dogr (code 1148151666) 1167s # Testing script Gong (code 1198485095) 1167s # Testing script Rohg (code 1383032935) 1167s # Testing script Maka (code 1298230113) 1167s # Testing script Medf (code 1298490470) 1167s # Testing script Sogo (code 1399809903) 1167s # Testing script Sogd (code 1399809892) 1167s # Testing script Elym (code 1164736877) 1167s # Testing script Nand (code 1315008100) 1167s # Testing script Hmnp (code 1215131248) 1167s # Testing script Wcho (code 1466132591) 1167s # Testing script Chrs (code 1130918515) 1167s # Testing script Diak (code 1147756907) 1167s # Testing script Kits (code 1265202291) 1167s # Testing script Yezi (code 1499822697) 1167s # Testing script Cpmn (code 1131441518) 1167s # Testing script Ougr (code 1333094258) 1167s # Testing script Tnsa (code 1416524641) 1167s # Testing script Toto (code 1416590447) 1167s # Testing script Vith (code 1449751656) 1167s # Testing script Kawi (code 1264678761) 1167s # Testing script Nagm (code 1315006317) 1167s # Testing script Todr (code 1416586354) 1167s # Testing script Gara (code 1197568609) 1167s # Testing script Tutg (code 1416983655) 1167s ok - glib/unicode.test 1167s # Running test: glib/file-enumerator.test 1167s ok - glib/file-enumerator.test 1167s # Running test: glib/portal-support-none.test 1167s ok - glib/portal-support-none.test 1167s # Running test: glib/basics-gobject.test 1167s ok - glib/basics-gobject.test 1167s # Running test: glib/signals-refcount2.test 1167s # Testing script Sunu (code 1400204917) 1167s # Testing script Gukh (code 1198877544) 1167s # Testing script Krai (code 1265787241) 1167s # Testing script Onao (code 1332633967) 1167s ok 21 /unicode/iso15924 1167s ok 22 /unicode/lower 1167s ok 23 /unicode/mark 1167s ok 24 /unicode/mirror 1167s ok 25 /unicode/print 1167s ok 26 /unicode/punctuation 1167s ok 27 /unicode/script 1167s ok 28 /unicode/space 1167s ok 29 /unicode/strdown 1167s ok 30 /unicode/strup 1167s ok 31 /unicode/turkish-strupdown 1167s ok 32 /unicode/title 1167s ok 33 /unicode/upper 1167s ok 34 /unicode/validate 1167s ok 35 /unicode/wide 1167s ok 36 /unicode/xdigit 1167s ok 37 /unicode/xdigit-value 1167s ok 38 /unicode/zero-width 1167s ok 39 /unicode/normalize 1167s # End of unicode tests 1167s TAP version 14 1167s # random seed: R02Sc3023dd924e7d1338ae802aa6de1270f 1167s 1..1 1167s # Start of file-enumerator tests 1167s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1167s ok 1 /file-enumerator/close-on-dispose 1167s # End of file-enumerator tests 1167s TAP version 14 1167s # random seed: R02Sba59e88cd912b85d96fc714e11f0cdc1 1167s 1..1 1167s # Start of portal-support tests 1167s ok 1 /portal-support/none 1167s # End of portal-support tests 1167s TAP version 14 1167s # random seed: R02S5b7039878c84427fff64f8eedce07b2b 1167s 1..1 1167s # Start of gobject tests 1167s # private data during initialization: 54321 == 54321 1167s # MAIN: emit test-signal: 1167s # ::test_signal default_handler called 1167s # ::test_signal default_handler called 1167s # ::test_signal default_handler called 1167s # signal return: "" 1167s # MAIN: call iface print-string on test and derived object: 1167s # Iface-FOO: "iface-string-from-test-type" from 0x951046be860 1167s # Iface-BAR: "iface-string-from-derived-type" from 0x951046be710 1167s # chaining: 1167s # Iface-FOO: "iface-string-from-derived-type" from 0x951046be710 1167s # private data after initialization: 54321 == 54321 1167s ok 1 /gobject/basics 1167s # End of gobject tests 1167s TAP version 14 1167s # random seed: R02Sce049494fc1147ac0b96403ee275dfd7 1167s 1..1 1167s # Start of gobject tests 1167s # Start of refcount tests 1167s # init 0x15530d9fd490 1167s # 1167s # init 0x15530d9f5580 1167s # 1169s # Executing: glib/signals-refcount2.test 1172s # dispose 0x15530d9fd490! 1172s # 1172s # dispose 0x15530d9f5580! 1172s # 1172s ok 1 /gobject/refcount/signals 1172s # slow test /gobject/refcount/signals executed in 5.00 secs 1172s # End of refcount tests 1172s # End of gobject tests 1172s ok - glib/signals-refcount2.test 1172s # Running test: glib/g-file-info.test 1172s TAP version 14 1172s # random seed: R02S317cab0760ee944f341feaedd811ae1a 1172s 1..6 1172s # Start of g-file-info tests 1172s ok 1 /g-file-info/test_g_file_info 1172s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 1172s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1172s ok 2 /g-file-info/xattrs 1172s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 1172s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 1172s ok - glib/g-file-info.test 1172s # Running test: glib/gdbus-proxy.test 1172s ok 3 /g-file-info/set-modified-date-time-precision 1172s # Start of test_g_file_info tests 1172s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 1172s ok 4 /g-file-info/test_g_file_info/modification-time 1172s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 1172s ok 5 /g-file-info/test_g_file_info/access-time 1172s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 1172s ok 6 /g-file-info/test_g_file_info/creation-time 1172s # End of test_g_file_info tests 1172s # End of g-file-info tests 1172s TAP version 14 1172s # random seed: R02S79d0709d68371c25b8f98207219ee245 1172s 1..5 1172s # Start of gdbus tests 1172s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/.dirs/home 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/.dirs/cache 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/.dirs/system-config2 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/.dirs/config 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/.dirs/system-data2 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/.dirs/data 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/.dirs/state 1172s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/.dirs/runtime 1174s # Executing: glib/gdbus-proxy.test 1174s ok 1 /gdbus/proxy 1174s # slow test /gdbus/proxy executed in 1.78 secs 1174s # Start of proxy tests 1174s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/no-properties/.dirs/home 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/no-properties/.dirs/cache 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/no-properties/.dirs/system-config2 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/no-properties/.dirs/config 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/no-properties/.dirs/system-data2 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/no-properties/.dirs/data 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/no-properties/.dirs/state 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/no-properties/.dirs/runtime 1174s ok 2 /gdbus/proxy/no-properties 1174s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/wellknown-noauto/.dirs/home 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/wellknown-noauto/.dirs/cache 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/wellknown-noauto/.dirs/system-config2 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/wellknown-noauto/.dirs/config 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/wellknown-noauto/.dirs/system-data2 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/wellknown-noauto/.dirs/data 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/wellknown-noauto/.dirs/state 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/wellknown-noauto/.dirs/runtime 1174s ok 3 /gdbus/proxy/wellknown-noauto 1174s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/async/.dirs/home 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/async/.dirs/cache 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/async/.dirs/system-config2 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/async/.dirs/config 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/async/.dirs/system-data2 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/async/.dirs/data 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/async/.dirs/state 1174s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/async/.dirs/runtime 1176s ok 4 /gdbus/proxy/async 1176s # slow test /gdbus/proxy/async executed in 1.76 secs 1176s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/no-match-rule/.dirs/home 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/no-match-rule/.dirs/cache 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/no-match-rule/.dirs/system-config2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/no-match-rule/.dirs/config 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/no-match-rule/.dirs/system-data2 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/no-match-rule/.dirs/data 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/no-match-rule/.dirs/state 1176s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_XK4ZB3/gdbus/proxy/no-match-rule/.dirs/runtime 1176s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 1176s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 1178s ok 5 /gdbus/proxy/no-match-rule 1178s # slow test /gdbus/proxy/no-match-rule executed in 1.75 secs 1178s # End of proxy tests 1178s # End of gdbus tests 1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1178s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1178s ok - glib/gdbus-proxy.test 1178s # Running test: glib/autoptr-girepository.test 1178s TAP version 14 1178s # random seed: R02Sfacbf36a95b5a270a58dda90695083af 1178s 1..24 1178s # Start of autoptr tests 1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/repository/.dirs/home 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/repository/.dirs/cache 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_2G34B3/autoptr/repository/.dirs/system-config2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/repository/.dirs/config 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_2G34B3/autoptr/repository/.dirs/system-data2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/repository/.dirs/data 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/repository/.dirs/state 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2G34B3/autoptr/repository/.dirs/runtime 1178s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1178s ok 1 /autoptr/repository 1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/typelib/.dirs/home 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/typelib/.dirs/cache 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_2G34B3/autoptr/typelib/.dirs/system-config2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/typelib/.dirs/config 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_2G34B3/autoptr/typelib/.dirs/system-data2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/typelib/.dirs/data 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/typelib/.dirs/state 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2G34B3/autoptr/typelib/.dirs/runtime 1178s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1178s ok 2 /autoptr/typelib 1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/base-info/.dirs/home 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/base-info/.dirs/cache 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2G34B3/autoptr/base-info/.dirs/system-config2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/base-info/.dirs/config 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2G34B3/autoptr/base-info/.dirs/system-data2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/base-info/.dirs/data 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/base-info/.dirs/state 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2G34B3/autoptr/base-info/.dirs/runtime 1178s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1178s ok 3 /autoptr/base-info 1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/arg-info/.dirs/home 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/arg-info/.dirs/cache 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2G34B3/autoptr/arg-info/.dirs/system-config2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/arg-info/.dirs/config 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2G34B3/autoptr/arg-info/.dirs/system-data2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/arg-info/.dirs/data 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/arg-info/.dirs/state 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2G34B3/autoptr/arg-info/.dirs/runtime 1178s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1178s ok 4 /autoptr/arg-info 1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/callable-info/.dirs/home 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/callable-info/.dirs/cache 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2G34B3/autoptr/callable-info/.dirs/system-config2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/callable-info/.dirs/config 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2G34B3/autoptr/callable-info/.dirs/system-data2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/callable-info/.dirs/data 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/callable-info/.dirs/state 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2G34B3/autoptr/callable-info/.dirs/runtime 1178s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1178s ok 5 /autoptr/callable-info 1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/callback-info/.dirs/home 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/callback-info/.dirs/cache 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2G34B3/autoptr/callback-info/.dirs/system-config2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/callback-info/.dirs/config 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2G34B3/autoptr/callback-info/.dirs/system-data2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/callback-info/.dirs/data 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/callback-info/.dirs/state 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2G34B3/autoptr/callback-info/.dirs/runtime 1178s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1178s ok 6 /autoptr/callback-info 1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/constant-info/.dirs/home 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/constant-info/.dirs/cache 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2G34B3/autoptr/constant-info/.dirs/system-config2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/constant-info/.dirs/config 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2G34B3/autoptr/constant-info/.dirs/system-data2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/constant-info/.dirs/data 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/constant-info/.dirs/state 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2G34B3/autoptr/constant-info/.dirs/runtime 1178s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1178s ok 7 /autoptr/constant-info 1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/enum-info/.dirs/home 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/enum-info/.dirs/cache 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2G34B3/autoptr/enum-info/.dirs/system-config2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/enum-info/.dirs/config 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2G34B3/autoptr/enum-info/.dirs/system-data2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/enum-info/.dirs/data 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/enum-info/.dirs/state 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2G34B3/autoptr/enum-info/.dirs/runtime 1178s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1178s ok 8 /autoptr/enum-info 1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/field-info/.dirs/home 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/field-info/.dirs/cache 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2G34B3/autoptr/field-info/.dirs/system-config2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/field-info/.dirs/config 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2G34B3/autoptr/field-info/.dirs/system-data2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/field-info/.dirs/data 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/field-info/.dirs/state 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2G34B3/autoptr/field-info/.dirs/runtime 1178s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1178s ok 9 /autoptr/field-info 1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/flags-info/.dirs/home 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/flags-info/.dirs/cache 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2G34B3/autoptr/flags-info/.dirs/system-config2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/flags-info/.dirs/config 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2G34B3/autoptr/flags-info/.dirs/system-data2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/flags-info/.dirs/data 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/flags-info/.dirs/state 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2G34B3/autoptr/flags-info/.dirs/runtime 1178s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1178s ok 10 /autoptr/flags-info 1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/function-info/.dirs/home 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/function-info/.dirs/cache 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2G34B3/autoptr/function-info/.dirs/system-config2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/function-info/.dirs/config 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2G34B3/autoptr/function-info/.dirs/system-data2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/function-info/.dirs/data 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/function-info/.dirs/state 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2G34B3/autoptr/function-info/.dirs/runtime 1178s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1178s ok 11 /autoptr/function-info 1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/interface-info/.dirs/home 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/interface-info/.dirs/cache 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2G34B3/autoptr/interface-info/.dirs/system-config2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/interface-info/.dirs/config 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2G34B3/autoptr/interface-info/.dirs/system-data2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/interface-info/.dirs/data 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/interface-info/.dirs/state 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2G34B3/autoptr/interface-info/.dirs/runtime 1178s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1178s ok 12 /autoptr/interface-info 1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/object-info/.dirs/home 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/object-info/.dirs/cache 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2G34B3/autoptr/object-info/.dirs/system-config2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/object-info/.dirs/config 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2G34B3/autoptr/object-info/.dirs/system-data2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/object-info/.dirs/data 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/object-info/.dirs/state 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2G34B3/autoptr/object-info/.dirs/runtime 1178s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1178s ok 13 /autoptr/object-info 1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/property-info/.dirs/home 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/property-info/.dirs/cache 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2G34B3/autoptr/property-info/.dirs/system-config2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/property-info/.dirs/config 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2G34B3/autoptr/property-info/.dirs/system-data2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/property-info/.dirs/data 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/property-info/.dirs/state 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2G34B3/autoptr/property-info/.dirs/runtime 1178s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1178s ok 14 /autoptr/property-info 1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/registered-type-info/.dirs/home 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/registered-type-info/.dirs/cache 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2G34B3/autoptr/registered-type-info/.dirs/system-config2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/registered-type-info/.dirs/config 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2G34B3/autoptr/registered-type-info/.dirs/system-data2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/registered-type-info/.dirs/data 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/registered-type-info/.dirs/state 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2G34B3/autoptr/registered-type-info/.dirs/runtime 1178s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1178s ok 15 /autoptr/registered-type-info 1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/signal-info/.dirs/home 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/signal-info/.dirs/cache 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2G34B3/autoptr/signal-info/.dirs/system-config2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/signal-info/.dirs/config 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2G34B3/autoptr/signal-info/.dirs/system-data2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/signal-info/.dirs/data 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/signal-info/.dirs/state 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2G34B3/autoptr/signal-info/.dirs/runtime 1178s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1178s ok 16 /autoptr/signal-info 1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/struct-info/.dirs/home 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/struct-info/.dirs/cache 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2G34B3/autoptr/struct-info/.dirs/system-config2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/struct-info/.dirs/config 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2G34B3/autoptr/struct-info/.dirs/system-data2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/struct-info/.dirs/data 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/struct-info/.dirs/state 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2G34B3/autoptr/struct-info/.dirs/runtime 1178s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1178s ok 17 /autoptr/struct-info 1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/type-info/.dirs/home 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/type-info/.dirs/cache 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2G34B3/autoptr/type-info/.dirs/system-config2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/type-info/.dirs/config 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2G34B3/autoptr/type-info/.dirs/system-data2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/type-info/.dirs/data 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/type-info/.dirs/state 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2G34B3/autoptr/type-info/.dirs/runtime 1178s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1178s ok 18 /autoptr/type-info 1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/union-info/.dirs/home 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/union-info/.dirs/cache 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2G34B3/autoptr/union-info/.dirs/system-config2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/union-info/.dirs/config 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2G34B3/autoptr/union-info/.dirs/system-data2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/union-info/.dirs/data 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/union-info/.dirs/state 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2G34B3/autoptr/union-info/.dirs/runtime 1178s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1178s ok 19 /autoptr/union-info 1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/value-info/.dirs/home 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/value-info/.dirs/cache 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2G34B3/autoptr/value-info/.dirs/system-config2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/value-info/.dirs/config 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2G34B3/autoptr/value-info/.dirs/system-data2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/value-info/.dirs/data 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/value-info/.dirs/state 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2G34B3/autoptr/value-info/.dirs/runtime 1178s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1178s ok 20 /autoptr/value-info 1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/vfunc-info/.dirs/home 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/vfunc-info/.dirs/cache 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2G34B3/autoptr/vfunc-info/.dirs/system-config2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/vfunc-info/.dirs/config 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2G34B3/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2G34B3/autoptr/vfunc-info/.dirs/system-data2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/vfunc-info/.dirs/data 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2G34B3/autoptr/vfunc-info/.dirs/state 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2G34B3/autoptr/vfunc-info/.dirs/runtime 1178s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1178s ok 21 /autoptr/vfunc-info 1178s # End of autoptr tests 1178s # Start of auto tests 1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2G34B3/auto/arg-info/.dirs/home 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2G34B3/auto/arg-info/.dirs/cache 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2G34B3/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2G34B3/auto/arg-info/.dirs/system-config2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2G34B3/auto/arg-info/.dirs/config 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2G34B3/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2G34B3/auto/arg-info/.dirs/system-data2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2G34B3/auto/arg-info/.dirs/data 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2G34B3/auto/arg-info/.dirs/state 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2G34B3/auto/arg-info/.dirs/runtime 1178s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1178s ok 22 /auto/arg-info 1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2G34B3/auto/type-info/.dirs/home 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2G34B3/auto/type-info/.dirs/cache 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2G34B3/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_2G34B3/auto/type-info/.dirs/system-config2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2G34B3/auto/type-info/.dirs/config 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2G34B3/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_2G34B3/auto/type-info/.dirs/system-data2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2G34B3/auto/type-info/.dirs/data 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2G34B3/auto/type-info/.dirs/state 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2G34B3/auto/type-info/.dirs/runtime 1178s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1178s ok 23 /auto/type-info 1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_2G34B3/auto/function-invoker/.dirs/home 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_2G34B3/auto/function-invoker/.dirs/cache 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_2G34B3/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_2G34B3/auto/function-invoker/.dirs/system-config2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_2G34B3/auto/function-invoker/.dirs/config 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_2G34B3/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_2G34B3/auto/function-invoker/.dirs/system-data2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_2G34B3/auto/function-invoker/.dirs/data 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_2G34B3/auto/function-invoker/.dirs/state 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_2G34B3/auto/function-invoker/.dirs/runtime 1178s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1178s ok 24 /auto/function-invoker 1178s # End of auto tests 1178s TAP version 14 1178s # random seed: R02S3f05766cf55f5a1e3250c475d0ee5923 1178s 1..2 1178s # Start of gdbus tests 1178s # Start of connection tests 1178s # Start of flush tests 1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_QPK7B3/gdbus/connection/flush/busy/.dirs/home 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_QPK7B3/gdbus/connection/flush/busy/.dirs/cache 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_QPK7B3/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_QPK7B3/gdbus/connection/flush/busy/.dirs/system-config2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_QPK7B3/gdbus/connection/flush/busy/.dirs/config 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_QPK7B3/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_QPK7B3/gdbus/connection/flush/busy/.dirs/system-data2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_QPK7B3/gdbus/connection/flush/busy/.dirs/data 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_QPK7B3/gdbus/connection/flush/busy/.dirs/state 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_QPK7B3/gdbus/connection/flush/busy/.dirs/runtime 1178s ok 1 /gdbus/connection/flush/busy 1178s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_QPK7B3/gdbus/connection/flush/idle/.dirs/home 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_QPK7B3/gdbus/connection/flush/idle/.dirs/cache 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_QPK7B3/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_QPK7B3/gdbus/connection/flush/idle/.dirs/system-config2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_QPK7B3/gdbus/connection/flush/idle/.dirs/config 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_QPK7B3/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_QPK7B3/gdbus/connection/flush/idle/.dirs/system-data2 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_QPK7B3/gdbus/connection/flush/idle/.dirs/data 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_QPK7B3/gdbus/connection/flush/idle/.dirs/state 1178s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_QPK7B3/gdbus/connection/flush/idle/.dirs/runtime 1178s ok 2 /gdbus/connection/flush/idle 1178s # End of flush tests 1178s # End of connection tests 1178s # End of gdbus tests 1178s TAP version 14 1178s # random seed: R02S050e060f2c69703b484afe0dfa8f6efa 1178s 1..3 1178s # Start of trash tests 1178s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 1178s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1178s # File: /tmp/test-trashYUTDC3 (parent st_dev: 64769) 1178s # Home: /home/ubuntu (st_dev: 64769) 1178s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 1178s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 1178s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 1178s ok 3 /trash/long-filename 1178s # End of trash tests 1178s TAP version 14 1178s # random seed: R02S936a64b4e1370f1a574be4f0b82d55d2 1178s 1..15 1178s # Start of gmenu tests 1178s ok - glib/autoptr-girepository.test 1178s # Running test: glib/gdbus-connection-flush.test 1178s ok - glib/gdbus-connection-flush.test 1178s # Running test: glib/trash.test 1178s ok - glib/trash.test 1178s # Running test: glib/gmenumodel.test 1179s # Executing: glib/gmenumodel.test 1179s ok 1 /gmenu/equality 1179s # slow test /gmenu/equality executed in 1.39 secs 1181s ok 2 /gmenu/random 1181s # slow test /gmenu/random executed in 1.54 secs 1181s ok 3 /gmenu/attributes 1181s ok 4 /gmenu/links 1181s ok 5 /gmenu/mutable 1181s ok 6 /gmenu/convenience 1181s ok 7 /gmenu/menuitem 1181s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1181s ok 8 /gmenu/input-validation 1181s # Start of dbus tests 1182s ok 9 /gmenu/dbus/roundtrip 1182s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 1182s ok 10 /gmenu/dbus/subscriptions 1183s ok 11 /gmenu/dbus/threaded 1183s # slow test /gmenu/dbus/threaded executed in 1.31 secs 1183s # Start of peer tests 1184s # Executing: glib/gmenumodel.test 1184s ok 12 /gmenu/dbus/peer/roundtrip 1184s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 1185s ok 13 /gmenu/dbus/peer/subscriptions 1185s # End of peer tests 1185s # Start of export tests 1185s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1185s ok 14 /gmenu/dbus/export/error-handling 1185s # End of export tests 1185s # End of dbus tests 1185s # Start of attributes tests 1185s ok 15 /gmenu/attributes/iterate 1185s # End of attributes tests 1185s # End of gmenu tests 1185s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1185s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1185s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1185s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1185s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1185s cleaning up pid 30766 1185s ok - glib/gmenumodel.test 1185s # Running test: glib/print.test 1185s TAP version 14 1185s # random seed: R02S92b530c008b92763e1aab62737096522 1185s 1..1 1185s ok 1 /print-console # SKIP Testing console output only supported on Windows 1185s ok - glib/print.test 1185s # Running test: glib/pattern.test 1185s ok - glib/pattern.test 1185s # Running test: glib/contexts.test 1185s TAP version 14 1185s # random seed: R02Se91b0c589e82a85d28d7b8c32e44f0e8 1185s 1..90 1185s # Start of pattern tests 1185s # Start of compile tests 1185s ok 1 /pattern/compile/0 1185s ok 2 /pattern/compile/1 1185s ok 3 /pattern/compile/2 1185s ok 4 /pattern/compile/3 1185s ok 5 /pattern/compile/4 1185s ok 6 /pattern/compile/5 1185s ok 7 /pattern/compile/6 1185s ok 8 /pattern/compile/7 1185s ok 9 /pattern/compile/8 1185s ok 10 /pattern/compile/9 1185s ok 11 /pattern/compile/10 1185s ok 12 /pattern/compile/11 1185s ok 13 /pattern/compile/12 1185s ok 14 /pattern/compile/13 1185s # End of compile tests 1185s # Start of copy tests 1185s ok 15 /pattern/copy/0 1185s ok 16 /pattern/copy/1 1185s ok 17 /pattern/copy/2 1185s ok 18 /pattern/copy/3 1185s ok 19 /pattern/copy/4 1185s ok 20 /pattern/copy/5 1185s ok 21 /pattern/copy/6 1185s ok 22 /pattern/copy/7 1185s ok 23 /pattern/copy/8 1185s ok 24 /pattern/copy/9 1185s ok 25 /pattern/copy/10 1185s ok 26 /pattern/copy/11 1185s ok 27 /pattern/copy/12 1185s ok 28 /pattern/copy/13 1185s # End of copy tests 1185s # Start of match tests 1185s ok 29 /pattern/match/0 1185s ok 30 /pattern/match/1 1185s ok 31 /pattern/match/2 1185s ok 32 /pattern/match/3 1185s ok 33 /pattern/match/4 1185s ok 34 /pattern/match/5 1185s ok 35 /pattern/match/6 1185s ok 36 /pattern/match/7 1185s ok 37 /pattern/match/8 1185s ok 38 /pattern/match/9 1185s ok 39 /pattern/match/10 1185s ok 40 /pattern/match/11 1185s ok 41 /pattern/match/12 1185s ok 42 /pattern/match/13 1185s ok 43 /pattern/match/14 1185s ok 44 /pattern/match/15 1185s ok 45 /pattern/match/16 1185s ok 46 /pattern/match/17 1185s ok 47 /pattern/match/18 1185s ok 48 /pattern/match/19 1185s ok 49 /pattern/match/20 1185s ok 50 /pattern/match/21 1185s ok 51 /pattern/match/22 1185s ok 52 /pattern/match/23 1185s ok 53 /pattern/match/24 1185s ok 54 /pattern/match/25 1185s ok 55 /pattern/match/26 1185s ok 56 /pattern/match/27 1185s ok 57 /pattern/match/28 1185s ok 58 /pattern/match/29 1185s ok 59 /pattern/match/30 1185s ok 60 /pattern/match/31 1185s ok 61 /pattern/match/32 1185s ok 62 /pattern/match/33 1185s ok 63 /pattern/match/34 1185s ok 64 /pattern/match/35 1185s ok 65 /pattern/match/36 1185s ok 66 /pattern/match/37 1185s ok 67 /pattern/match/38 1185s ok 68 /pattern/match/39 1185s ok 69 /pattern/match/40 1185s ok 70 /pattern/match/41 1185s ok 71 /pattern/match/42 1185s ok 72 /pattern/match/43 1185s ok 73 /pattern/match/44 1185s ok 74 /pattern/match/45 1185s ok 75 /pattern/match/46 1185s ok 76 /pattern/match/47 1185s ok 77 /pattern/match/48 1185s ok 78 /pattern/match/49 1185s ok 79 /pattern/match/50 1185s # End of match tests 1185s # Start of equal tests 1185s ok 80 /pattern/equal/0 1185s ok 81 /pattern/equal/1 1185s ok 82 /pattern/equal/2 1185s ok 83 /pattern/equal/3 1185s ok 84 /pattern/equal/4 1185s ok 85 /pattern/equal/5 1185s ok 86 /pattern/equal/6 1185s ok 87 /pattern/equal/7 1185s ok 88 /pattern/equal/8 1185s ok 89 /pattern/equal/9 1185s ok 90 /pattern/equal/10 1185s # End of equal tests 1185s # End of pattern tests 1185s TAP version 14 1185s # random seed: R02Sbfb576847fdd052975d56d2640393e8d 1185s 1..5 1185s # Start of gio tests 1185s # Start of contexts tests 1185s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1185s ok 1 /gio/contexts/thread-independence 1185s ok 2 /gio/contexts/context-independence 1185s # Start of context-specific tests 1185s ok 3 /gio/contexts/context-specific/identity 1185s ok 4 /gio/contexts/context-specific/emit 1185s ok 5 /gio/contexts/context-specific/emit-and-unref 1185s # End of context-specific tests 1185s # End of contexts tests 1185s # End of gio tests 1185s ok - glib/contexts.test 1185s # Running test: glib/utils.test 1185s TAP version 14 1185s # random seed: R02Sff51163b8b77fa62f3058fe38f7a07a6 1185s 1..41 1185s # Start of utils tests 1185s ok 1 /utils/language-names 1185s # Testing locale ‘en’ 1185s # Testing locale ‘sr@latin’ 1185s # Testing locale ‘fr_BE’ 1185s # Testing locale ‘sr_SR@latin’ 1185s # Testing locale ‘sr_SR@latin.UTF-8’ 1185s # Testing locale ‘sr@latin_invalid’ 1185s # Testing locale ‘sr.UTF-8@latin’ 1185s # Testing locale ‘sr.UTF-8_latin’ 1185s # Testing locale ‘sr.UTF-8@latin_invalid’ 1185s ok 2 /utils/locale-variants 1185s ok 3 /utils/version 1185s ok 4 /utils/appname 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1185s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1185s ok 5 /utils/prgname-thread-safety 1185s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1185s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1185s ok 6 /utils/tmpdir 1185s ok 7 /utils/basic_bits 1185s ok 8 /utils/bits 1185s ok 9 /utils/swap 1185s ok 10 /utils/find-program 1185s ok 11 /utils/find-program-for-path 1185s ok 12 /utils/debug 1185s ok 13 /utils/codeset 1185s ok 14 /utils/codeset2 1185s ok 15 /utils/console-charset 1185s ok 16 /utils/gettext 1185s ok 17 /utils/username 1185s ok 18 /utils/realname 1185s ok 19 /utils/hostname 1185s ok 20 /utils/xdgdirs 1185s ok 21 /utils/specialdir 1185s # NAME: Ubuntu 1185s ok 22 /utils/os-info 1185s ok 23 /utils/clear-pointer 1185s ok 24 /utils/clear-pointer-cast 1185s ok 25 /utils/take-pointer 1185s ok 26 /utils/clear-source 1185s ok 27 /utils/misc-mem 1185s # /utils/aligned-mem summary: Aligned memory allocator 1185s # Alignment must not be zero 1185s # Alignment must be a power of two 1185s # Alignment must be a multiple of sizeof(void*) 1185s ok 28 /utils/aligned-mem 1185s # /utils/free-sized summary: Check that g_free_sized() works 1185s ok 29 /utils/free-sized 1185s ok 30 /utils/nullify 1185s ok 31 /utils/atexit 1185s ok 32 /utils/check-setuid 1185s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1185s ok 33 /utils/int-limits 1185s ok 34 /utils/clear-list 1185s ok 35 /utils/clear-slist 1185s ok 36 /utils/steal-handle-id 1185s # Start of specialdir tests 1185s ok 37 /utils/specialdir/desktop 1185s # End of specialdir tests 1185s # Start of clear-pointer tests 1185s ok 38 /utils/clear-pointer/side-effects 1185s # End of clear-pointer tests 1185s # Start of aligned-mem tests 1185s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1185s ok 39 /utils/aligned-mem/alignment 1185s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1185s ok 40 /utils/aligned-mem/zeroed 1185s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1185s ok 41 /utils/aligned-mem/free-sized 1185s # Start of subprocess tests 1185s # End of subprocess tests 1185s # End of aligned-mem tests 1185s # End of utils tests 1185s ok - glib/utils.test 1185s # Running test: glib/power-profile-monitor.test 1185s TAP version 14 1185s # random seed: R02S1b873b4751006630b4b2469646b50ac6 1185s 1..1 1185s # Start of power-profile-monitor tests 1185s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 1185s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ‘gio-power-profile-monitor’ 1185s ok 1 /power-profile-monitor/default 1185s # End of power-profile-monitor tests 1185s ok - glib/power-profile-monitor.test 1185s # Running test: glib/mutex.test 1185s TAP version 14 1185s # random seed: R02Sef7f3407d1cd4efe4814eac359ee2aac 1185s 1..17 1185s # Start of thread tests 1185s ok 1 /thread/mutex1 1185s ok 2 /thread/mutex2 1185s ok 3 /thread/mutex3 1185s ok 4 /thread/mutex4 1189s # Executing: glib/mutex.test 1189s ok 5 /thread/mutex5 1189s # slow test /thread/mutex5 executed in 4.26 secs 1189s # Start of mutex tests 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1189s # /thread/mutex/errno summary: Validates that errno is not touched upon return 1189s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 1190s ok 6 /thread/mutex/errno 1190s # slow test /thread/mutex/errno executed in 0.55 secs 1190s # Start of perf tests 1190s # max perf: 1.000000 mips 1190s ok 7 /thread/mutex/perf/uncontended 1190s # Start of contended tests 1190s # max perf: inf mips 1190s ok 8 /thread/mutex/perf/contended/1 1190s # max perf: inf mips 1190s ok 9 /thread/mutex/perf/contended/2 1190s # max perf: 4.000000 mips 1190s ok 10 /thread/mutex/perf/contended/3 1190s # max perf: inf mips 1190s ok 11 /thread/mutex/perf/contended/4 1190s # max perf: 6.000000 mips 1190s ok 12 /thread/mutex/perf/contended/5 1190s # max perf: 0.170732 mips 1190s ok 13 /thread/mutex/perf/contended/6 1190s # max perf: 8.000000 mips 1190s ok 14 /thread/mutex/perf/contended/7 1190s # max perf: 9.000000 mips 1190s ok 15 /thread/mutex/perf/contended/8 1190s # max perf: inf mips 1190s ok 16 /thread/mutex/perf/contended/9 1190s # max perf: 11.000000 mips 1190s ok 17 /thread/mutex/perf/contended/10 1190s ok - glib/mutex.test 1190s # Running test: glib/completion.test 1190s ok - glib/completion.test 1190s # Running test: glib/spawn-multithreaded.test 1190s # End of contended tests 1190s # End of perf tests 1190s # End of mutex tests 1190s # End of thread tests 1190s TAP version 14 1190s # random seed: R02S0dec2bd80e91deeaab44ebb06f871b62 1190s 1..1 1190s # Start of completion tests 1190s ok 1 /completion/test-completion 1190s # End of completion tests 1190s TAP version 14 1190s # random seed: R02S1e993eca18b2d4486c5ff121ef908746 1190s 1..4 1190s # Start of gthread tests 1191s # Child 31096 (ttl 1) exited, status 0 1192s # Child 31097 (ttl 2) exited, status 0 1192s ok 1 /gthread/spawn-childs 1192s # slow test /gthread/spawn-childs executed in 2.00 secs 1192s # Created pid: 31101 (ttl 1) 1192s # Created pid: 31102 (ttl 2) 1193s # Child 31101 (ttl 1) exited, status 0 1194s # Executing: glib/spawn-multithreaded.test 1194s # Child 31102 (ttl 2) exited, status 0 1194s ok 2 /gthread/spawn-childs-threads 1194s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 1194s ok 3 /gthread/spawn-sync 1194s ok 4 /gthread/spawn-async 1194s # End of gthread tests 1194s ok - glib/spawn-multithreaded.test 1194s # Running test: glib/timer.test 1194s TAP version 14 1194s # random seed: R02Sebf5eb25a911ed7caf1226551af4edac 1194s 1..10 1194s # Start of timer tests 1194s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 1194s ok 2 /timer/stop 1194s ok 3 /timer/continue 1194s ok 4 /timer/reset 1194s ok 5 /timer/is_active 1194s # End of timer tests 1194s # Start of timeval tests 1194s ok 6 /timeval/add 1194s ok 7 /timeval/from-iso8601 1194s ok 8 /timeval/to-iso8601 1194s # Start of to-iso8601 tests 1194s ok 9 /timeval/to-iso8601/overflow 1194s # End of to-iso8601 tests 1194s # End of timeval tests 1194s # Start of usleep tests 1194s ok - glib/timer.test 1194s # Running test: glib/cmph-bdz.test 1194s ok - glib/cmph-bdz.test 1194s # Running test: glib/gdbus-test-codegen-old.test 1194s ok 10 /usleep/with-zero-wait 1194s # End of usleep tests 1194s TAP version 14 1194s # random seed: R02Sba4eb224dc8358e62222ed0fe47095ca 1194s 1..2 1194s # Start of cmph-bdz tests 1194s ok 1 /cmph-bdz/search 1194s ok 2 /cmph-bdz/search-packed 1194s # End of cmph-bdz tests 1194s TAP version 14 1194s # random seed: R02S035e3c2f5c7945cf1ca9ac97ab59a7fe 1194s 1..8 1194s # Start of gdbus tests 1194s # Start of codegen tests 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/annotations/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/annotations/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/annotations/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/annotations/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/annotations/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/annotations/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/annotations/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/annotations/.dirs/runtime 1194s ok 1 /gdbus/codegen/annotations 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/interface_stability/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/interface_stability/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/interface_stability/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/interface_stability/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/interface_stability/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/interface_stability/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/interface_stability/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/interface_stability/.dirs/runtime 1194s ok 2 /gdbus/codegen/interface_stability 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/object-manager/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/object-manager/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/object-manager/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/object-manager/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/object-manager/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/object-manager/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/object-manager/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/object-manager/.dirs/runtime 1194s ok 3 /gdbus/codegen/object-manager 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/property-naming/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/property-naming/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/property-naming/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/property-naming/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/property-naming/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/property-naming/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/property-naming/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/property-naming/.dirs/runtime 1194s ok 4 /gdbus/codegen/property-naming 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/autocleanups/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/autocleanups/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/autocleanups/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/autocleanups/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/autocleanups/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/autocleanups/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/autocleanups/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/autocleanups/.dirs/runtime 1194s ok 5 /gdbus/codegen/autocleanups 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/deprecations/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/deprecations/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/deprecations/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/deprecations/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/deprecations/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/deprecations/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/deprecations/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/deprecations/.dirs/runtime 1194s ok 6 /gdbus/codegen/deprecations 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/standalone-interface-info/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/standalone-interface-info/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/standalone-interface-info/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/standalone-interface-info/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/standalone-interface-info/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/standalone-interface-info/.dirs/runtime 1194s ok 7 /gdbus/codegen/standalone-interface-info 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/unix-fd-list/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/unix-fd-list/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/unix-fd-list/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/unix-fd-list/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/unix-fd-list/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/unix-fd-list/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/unix-fd-list/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_RKYIC3/gdbus/codegen/unix-fd-list/.dirs/runtime 1194s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1194s ok 8 /gdbus/codegen/unix-fd-list 1194s # End of codegen tests 1194s # End of gdbus tests 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1194s ok - glib/gdbus-test-codegen-old.test 1194s # Running test: glib/application-command-line.test 1194s TAP version 14 1194s # random seed: R02S3a9e180724787ba2fba19883976a6048 1194s 1..1 1194s # Start of application-command-line tests 1194s ok 1 /application-command-line/basic-properties 1194s # End of application-command-line tests 1194s ok - glib/application-command-line.test 1194s # Running test: glib/gdbus-exit-on-close.test 1194s TAP version 14 1194s # random seed: R02Sb9d199e403321dbd098ba914cb5b2bd5 1194s 1..4 1194s # Start of gdbus tests 1194s # Start of exit-on-close tests 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/default/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/default/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/default/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/default/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/default/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/default/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/default/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/default/.dirs/runtime 1194s ok 1 /gdbus/exit-on-close/default 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/true/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/true/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/true/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/true/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/true/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/true/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/true/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/true/.dirs/runtime 1194s ok 2 /gdbus/exit-on-close/true 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/false/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/false/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/false/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/false/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/false/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/false/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/false/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/false/.dirs/runtime 1194s ok 3 /gdbus/exit-on-close/false 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/we-close/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/we-close/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/we-close/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/we-close/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/we-close/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/we-close/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/we-close/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_6NMKC3/gdbus/exit-on-close/we-close/.dirs/runtime 1194s ok 4 /gdbus/exit-on-close/we-close 1194s # Start of default tests 1194s # End of default tests 1194s # Start of true tests 1194s # End of true tests 1194s # Start of false tests 1194s # End of false tests 1194s # Start of we-close tests 1194s # End of we-close tests 1194s # End of exit-on-close tests 1194s # End of gdbus tests 1194s ok - glib/gdbus-exit-on-close.test 1194s # Running test: glib/node.test 1194s TAP version 14 1194s # random seed: R02Sb5f9fb72bb4d7ad7a7ed3da0ec610547 1194s 1..6 1194s # Start of node tests 1194s ok 1 /node/allocation 1194s ok 2 /node/construction 1194s ok 3 /node/traversal 1194s ok 4 /node/misc 1194s ok 5 /node/unlink 1194s ok - glib/node.test 1194s ok 6 /node/copy 1194s # End of node tests 1194s # Running test: glib/static-link.test 1194s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 1194s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 1194s and make sure you have glib build dependencies installed, including 1194s meson. 1194s ok # SKIP - glib/static-link.test 1194s # Running test: glib/signals.test 1194s TAP version 14 1194s # random seed: R02S04575a30522d9fa06a7942e399d5fdfd 1194s 1..31 1194s # Start of gobject tests 1194s # Start of signals tests 1194s ok 1 /gobject/signals/all-types 1194s ok 2 /gobject/signals/variant 1194s ok 3 /gobject/signals/destroy-target-object 1194s ok 4 /gobject/signals/generic-marshaller-1 1194s ok 5 /gobject/signals/generic-marshaller-2 1194s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 1194s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 1194s ok 8 /gobject/signals/generic-marshaller-int-return 1194s ok 9 /gobject/signals/generic-marshaller-uint-return 1194s ok 10 /gobject/signals/generic-marshaller-interface-return 1194s ok 11 /gobject/signals/custom-marshaller 1194s ok 12 /gobject/signals/connect 1194s ok 13 /gobject/signals/emission-hook 1194s ok 14 /gobject/signals/emitv 1194s ok 15 /gobject/signals/accumulator 1194s # Signal: accumulator-class-first 1194s # Signal: accumulator-class-last 1194s # Signal: accumulator-class-cleanup 1194s # Signal: accumulator-class-first-last 1194s # Signal: accumulator-class-first-last-cleanup 1194s # Signal: accumulator-class-last-cleanup 1194s ok 16 /gobject/signals/accumulator-class 1194s ok 17 /gobject/signals/introspection 1194s ok 18 /gobject/signals/block-handler 1194s ok 19 /gobject/signals/stop-emission 1194s ok 20 /gobject/signals/invocation-hint 1194s ok 21 /gobject/signals/test-disconnection-wrong-object 1194s ok 22 /gobject/signals/clear-signal-handler 1194s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 1194s ok 23 /gobject/signals/lookup 1194s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 1194s ok 24 /gobject/signals/parse-name 1194s ok 25 /gobject/signals/is-valid-name 1194s ok 26 /gobject/signals/weak-ref-disconnect 1194s # Start of lookup tests 1194s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 1194s ok 27 /gobject/signals/lookup/invalid 1194s # End of lookup tests 1194s # Start of parse-name tests 1194s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 1194s # Parser input: 1194s # Parser input: 7zip 1194s # Parser input: invalid:signal 1194s # Parser input: simple-detailed:: 1194s # Parser input: simple-detailed: 1194s # Parser input: : 1194s # Parser input: :: 1194s # Parser input: :valid-detail 1194s # Parser input: ::valid-detail 1194s ok 28 /gobject/signals/parse-name/invalid 1194s # End of parse-name tests 1194s # Start of invalid-name tests 1194s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 1194s ok 29 /gobject/signals/invalid-name/colon 1194s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 1194s ok 30 /gobject/signals/invalid-name/first-char 1194s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 1194s ok 31 /gobject/signals/invalid-name/empty 1194s # End of invalid-name tests 1194s # End of signals tests 1194s # End of gobject tests 1194s ok - glib/signals.test 1194s # Running test: glib/refcount-macro.test 1194s TAP version 14 1194s # random seed: R02Sfd7f7e66f77d15bb1cd3134e6f6171ec 1194s 1..4 1194s # Start of refcount tests 1194s ok 1 /refcount/grefcount 1194s ok 2 /refcount/gatomicrefcount 1194s # Start of grefcount tests 1194s ok 3 /refcount/grefcount/saturation 1194s # End of grefcount tests 1194s # Start of gatomicrefcount tests 1194s ok 4 /refcount/gatomicrefcount/saturation 1194s # End of gatomicrefcount tests 1194s # End of refcount tests 1194s ok - glib/refcount-macro.test 1194s # Running test: glib/bookmarkfile.test 1194s TAP version 14 1194s # random seed: R02S4836bc8ceb196f3182147b1469ec823c 1194s 1..96 1194s # Start of bookmarks tests 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/load-from-data-dirs/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/load-from-data-dirs/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/load-from-data-dirs/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/load-from-data-dirs/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/load-from-data-dirs/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/load-from-data-dirs/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/load-from-data-dirs/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/load-from-data-dirs/.dirs/runtime 1194s ok 1 /bookmarks/load-from-data-dirs 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/to-file/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/to-file/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/to-file/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/to-file/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/to-file/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/to-file/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/to-file/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/to-file/.dirs/runtime 1194s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_CNO0B3/bookmarkfile-test-AOP0B3.xbel 1194s # Roundtrip from a valid bookmark file 1194s ok 2 /bookmarks/to-file 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/move-item/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/move-item/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/move-item/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/move-item/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/move-item/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/move-item/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/move-item/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/move-item/.dirs/runtime 1194s ok 3 /bookmarks/move-item 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/corner-cases/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/corner-cases/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/corner-cases/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/corner-cases/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/corner-cases/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/corner-cases/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/corner-cases/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/corner-cases/.dirs/runtime 1194s ok 4 /bookmarks/corner-cases 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/misc/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/misc/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/misc/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/misc/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/misc/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/misc/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/misc/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/misc/.dirs/runtime 1194s ok 5 /bookmarks/misc 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/deprecated/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/deprecated/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/deprecated/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/deprecated/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/deprecated/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/deprecated/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/deprecated/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/deprecated/.dirs/runtime 1194s ok 6 /bookmarks/deprecated 1194s # Start of parse tests 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-04.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-04.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-04.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-04.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-04.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-04.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-04.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-04.xbel/.dirs/runtime 1194s ok 7 /bookmarks/parse/fail-04.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-07.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-07.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-07.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-07.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-07.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-07.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-07.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-07.xbel/.dirs/runtime 1194s ok 8 /bookmarks/parse/fail-07.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-17.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-17.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-17.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-17.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-17.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-17.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-17.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-17.xbel/.dirs/runtime 1194s ok 9 /bookmarks/parse/fail-17.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-18.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-18.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-18.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-18.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-18.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-18.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-18.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-18.xbel/.dirs/runtime 1194s ok 10 /bookmarks/parse/fail-18.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-31.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-31.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-31.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-31.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-31.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-31.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-31.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-31.xbel/.dirs/runtime 1194s ok 11 /bookmarks/parse/fail-31.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-41.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-41.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-41.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-41.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-41.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-41.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-41.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-41.xbel/.dirs/runtime 1194s ok 12 /bookmarks/parse/fail-41.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-11.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-11.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-11.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-11.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-11.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-11.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-11.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-11.xbel/.dirs/runtime 1194s ok 13 /bookmarks/parse/fail-11.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-42.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-42.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-42.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-42.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-42.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-42.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-42.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-42.xbel/.dirs/runtime 1194s ok 14 /bookmarks/parse/fail-42.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-29.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-29.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-29.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-29.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-29.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-29.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-29.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-29.xbel/.dirs/runtime 1194s ok 15 /bookmarks/parse/fail-29.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-02.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-02.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-02.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-02.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-02.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-02.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-02.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-02.xbel/.dirs/runtime 1194s ok 16 /bookmarks/parse/fail-02.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-30.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-30.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-30.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-30.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-30.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-30.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-30.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-30.xbel/.dirs/runtime 1194s ok 17 /bookmarks/parse/fail-30.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-13.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-13.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-13.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-13.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-13.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-13.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-13.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-13.xbel/.dirs/runtime 1194s ok 18 /bookmarks/parse/fail-13.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-10.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-10.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-10.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-10.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-10.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-10.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-10.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-10.xbel/.dirs/runtime 1194s ok 19 /bookmarks/parse/fail-10.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-20.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-20.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-20.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-20.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-20.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-20.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-20.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-20.xbel/.dirs/runtime 1194s ok 20 /bookmarks/parse/fail-20.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-23.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-23.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-23.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-23.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-23.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-23.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-23.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-23.xbel/.dirs/runtime 1194s ok 21 /bookmarks/parse/fail-23.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-40.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-40.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-40.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-40.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-40.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-40.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-40.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-40.xbel/.dirs/runtime 1194s ok 22 /bookmarks/parse/fail-40.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-28.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-28.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-28.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-28.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-28.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-28.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-28.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-28.xbel/.dirs/runtime 1194s ok 23 /bookmarks/parse/fail-28.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-25.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-25.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-25.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-25.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-25.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-25.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-25.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-25.xbel/.dirs/runtime 1194s ok 24 /bookmarks/parse/fail-25.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-35.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-35.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-35.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-35.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-35.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-35.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-35.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-35.xbel/.dirs/runtime 1194s ok 25 /bookmarks/parse/fail-35.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-16.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-16.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-16.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-16.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-16.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-16.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-16.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-16.xbel/.dirs/runtime 1194s ok 26 /bookmarks/parse/fail-16.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/valid-03.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/valid-03.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/valid-03.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/valid-03.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/valid-03.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/valid-03.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/valid-03.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/valid-03.xbel/.dirs/runtime 1194s ok 27 /bookmarks/parse/valid-03.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-08.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-08.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-08.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-08.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-08.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-08.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-08.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-08.xbel/.dirs/runtime 1194s ok 28 /bookmarks/parse/fail-08.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-19.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-19.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-19.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-19.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-19.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-19.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-19.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-19.xbel/.dirs/runtime 1194s ok 29 /bookmarks/parse/fail-19.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-36.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-36.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-36.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-36.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-36.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-36.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-36.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-36.xbel/.dirs/runtime 1194s ok 30 /bookmarks/parse/fail-36.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-14.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-14.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-14.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-14.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-14.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-14.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-14.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-14.xbel/.dirs/runtime 1194s ok 31 /bookmarks/parse/fail-14.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-03.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-03.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-03.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-03.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-03.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-03.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-03.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-03.xbel/.dirs/runtime 1194s ok 32 /bookmarks/parse/fail-03.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-26.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-26.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-26.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-26.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-26.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-26.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-26.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-26.xbel/.dirs/runtime 1194s ok 33 /bookmarks/parse/fail-26.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-24.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-24.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-24.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-24.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-24.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-24.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-24.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-24.xbel/.dirs/runtime 1194s ok 34 /bookmarks/parse/fail-24.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-38.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-38.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-38.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-38.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-38.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-38.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-38.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-38.xbel/.dirs/runtime 1194s ok 35 /bookmarks/parse/fail-38.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-37.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-37.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-37.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-37.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-37.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-37.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-37.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-37.xbel/.dirs/runtime 1194s ok 36 /bookmarks/parse/fail-37.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-09.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-09.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-09.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-09.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-09.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-09.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-09.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-09.xbel/.dirs/runtime 1194s ok 37 /bookmarks/parse/fail-09.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-22.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-22.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-22.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-22.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-22.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-22.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-22.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-22.xbel/.dirs/runtime 1194s ok 38 /bookmarks/parse/fail-22.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-34.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-34.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-34.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-34.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-34.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-34.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-34.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-34.xbel/.dirs/runtime 1194s ok 39 /bookmarks/parse/fail-34.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/valid-01.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/valid-01.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/valid-01.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/valid-01.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/valid-01.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/valid-01.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/valid-01.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/valid-01.xbel/.dirs/runtime 1194s ok 40 /bookmarks/parse/valid-01.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-01.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-01.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-01.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-01.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-01.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-01.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-01.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-01.xbel/.dirs/runtime 1194s ok 41 /bookmarks/parse/fail-01.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/valid-02.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/valid-02.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/valid-02.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/valid-02.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/valid-02.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/valid-02.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/valid-02.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/valid-02.xbel/.dirs/runtime 1194s ok 42 /bookmarks/parse/valid-02.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-21.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-21.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-21.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-21.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-21.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-21.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-21.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-21.xbel/.dirs/runtime 1194s ok 43 /bookmarks/parse/fail-21.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-33.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-33.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-33.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-33.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-33.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-33.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-33.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-33.xbel/.dirs/runtime 1194s ok 44 /bookmarks/parse/fail-33.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-32.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-32.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-32.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-32.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-32.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-32.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-32.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-32.xbel/.dirs/runtime 1194s ok 45 /bookmarks/parse/fail-32.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-06.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-06.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-06.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-06.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-06.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-06.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-06.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-06.xbel/.dirs/runtime 1194s ok 46 /bookmarks/parse/fail-06.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-39.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-39.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-39.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-39.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-39.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-39.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-39.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-39.xbel/.dirs/runtime 1194s ok 47 /bookmarks/parse/fail-39.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-27.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-27.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-27.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-27.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-27.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-27.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-27.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-27.xbel/.dirs/runtime 1194s ok 48 /bookmarks/parse/fail-27.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-12.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-12.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-12.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-12.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-12.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-12.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-12.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-12.xbel/.dirs/runtime 1194s ok 49 /bookmarks/parse/fail-12.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-05.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-05.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-05.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-05.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-05.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-05.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-05.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-05.xbel/.dirs/runtime 1194s ok 50 /bookmarks/parse/fail-05.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-15.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-15.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-15.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-15.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-15.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-15.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-15.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/parse/fail-15.xbel/.dirs/runtime 1194s ok 51 /bookmarks/parse/fail-15.xbel 1194s # End of parse tests 1194s # Start of copy tests 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-04.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-04.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-04.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-04.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-04.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-04.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-04.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-04.xbel/.dirs/runtime 1194s ok 52 /bookmarks/copy/fail-04.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-07.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-07.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-07.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-07.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-07.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-07.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-07.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-07.xbel/.dirs/runtime 1194s ok 53 /bookmarks/copy/fail-07.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-17.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-17.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-17.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-17.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-17.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-17.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-17.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-17.xbel/.dirs/runtime 1194s ok 54 /bookmarks/copy/fail-17.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-18.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-18.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-18.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-18.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-18.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-18.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-18.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-18.xbel/.dirs/runtime 1194s ok 55 /bookmarks/copy/fail-18.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-31.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-31.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-31.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-31.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-31.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-31.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-31.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-31.xbel/.dirs/runtime 1194s ok 56 /bookmarks/copy/fail-31.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-41.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-41.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-41.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-41.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-41.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-41.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-41.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-41.xbel/.dirs/runtime 1194s ok 57 /bookmarks/copy/fail-41.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-11.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-11.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-11.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-11.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-11.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-11.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-11.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-11.xbel/.dirs/runtime 1194s ok 58 /bookmarks/copy/fail-11.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-42.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-42.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-42.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-42.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-42.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-42.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-42.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-42.xbel/.dirs/runtime 1194s ok 59 /bookmarks/copy/fail-42.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-29.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-29.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-29.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-29.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-29.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-29.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-29.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-29.xbel/.dirs/runtime 1194s ok 60 /bookmarks/copy/fail-29.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-02.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-02.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-02.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-02.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-02.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-02.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-02.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-02.xbel/.dirs/runtime 1194s ok 61 /bookmarks/copy/fail-02.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-30.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-30.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-30.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-30.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-30.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-30.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-30.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-30.xbel/.dirs/runtime 1194s ok 62 /bookmarks/copy/fail-30.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-13.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-13.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-13.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-13.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-13.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-13.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-13.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-13.xbel/.dirs/runtime 1194s ok 63 /bookmarks/copy/fail-13.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-10.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-10.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-10.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-10.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-10.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-10.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-10.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-10.xbel/.dirs/runtime 1194s ok 64 /bookmarks/copy/fail-10.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-20.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-20.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-20.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-20.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-20.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-20.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-20.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-20.xbel/.dirs/runtime 1194s ok 65 /bookmarks/copy/fail-20.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-23.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-23.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-23.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-23.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-23.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-23.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-23.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-23.xbel/.dirs/runtime 1194s ok 66 /bookmarks/copy/fail-23.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-40.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-40.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-40.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-40.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-40.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-40.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-40.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-40.xbel/.dirs/runtime 1194s ok 67 /bookmarks/copy/fail-40.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-28.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-28.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-28.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-28.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-28.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-28.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-28.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-28.xbel/.dirs/runtime 1194s ok 68 /bookmarks/copy/fail-28.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-25.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-25.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-25.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-25.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-25.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-25.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-25.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-25.xbel/.dirs/runtime 1194s ok 69 /bookmarks/copy/fail-25.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-35.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-35.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-35.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-35.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-35.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-35.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-35.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-35.xbel/.dirs/runtime 1194s ok 70 /bookmarks/copy/fail-35.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-16.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-16.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-16.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-16.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-16.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-16.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-16.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-16.xbel/.dirs/runtime 1194s ok 71 /bookmarks/copy/fail-16.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/valid-03.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/valid-03.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/valid-03.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/valid-03.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/valid-03.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/valid-03.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/valid-03.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/valid-03.xbel/.dirs/runtime 1194s ok 72 /bookmarks/copy/valid-03.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-08.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-08.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-08.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-08.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-08.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-08.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-08.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-08.xbel/.dirs/runtime 1194s ok 73 /bookmarks/copy/fail-08.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-19.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-19.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-19.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-19.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-19.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-19.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-19.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-19.xbel/.dirs/runtime 1194s ok 74 /bookmarks/copy/fail-19.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-36.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-36.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-36.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-36.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-36.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-36.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-36.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-36.xbel/.dirs/runtime 1194s ok 75 /bookmarks/copy/fail-36.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-14.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-14.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-14.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-14.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-14.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-14.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-14.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-14.xbel/.dirs/runtime 1194s ok 76 /bookmarks/copy/fail-14.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-03.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-03.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-03.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-03.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-03.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-03.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-03.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-03.xbel/.dirs/runtime 1194s ok 77 /bookmarks/copy/fail-03.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-26.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-26.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-26.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-26.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-26.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-26.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-26.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-26.xbel/.dirs/runtime 1194s ok 78 /bookmarks/copy/fail-26.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-24.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-24.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-24.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-24.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-24.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-24.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-24.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-24.xbel/.dirs/runtime 1194s ok 79 /bookmarks/copy/fail-24.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-38.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-38.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-38.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-38.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-38.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-38.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-38.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-38.xbel/.dirs/runtime 1194s ok 80 /bookmarks/copy/fail-38.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-37.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-37.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-37.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-37.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-37.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-37.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-37.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-37.xbel/.dirs/runtime 1194s ok 81 /bookmarks/copy/fail-37.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-09.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-09.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-09.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-09.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-09.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-09.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-09.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-09.xbel/.dirs/runtime 1194s ok 82 /bookmarks/copy/fail-09.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-22.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-22.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-22.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-22.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-22.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-22.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-22.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-22.xbel/.dirs/runtime 1194s ok 83 /bookmarks/copy/fail-22.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-34.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-34.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-34.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-34.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-34.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-34.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-34.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-34.xbel/.dirs/runtime 1194s ok 84 /bookmarks/copy/fail-34.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/valid-01.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/valid-01.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/valid-01.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/valid-01.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/valid-01.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/valid-01.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/valid-01.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/valid-01.xbel/.dirs/runtime 1194s ok 85 /bookmarks/copy/valid-01.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-01.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-01.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-01.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-01.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-01.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-01.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-01.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-01.xbel/.dirs/runtime 1194s ok 86 /bookmarks/copy/fail-01.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/valid-02.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/valid-02.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/valid-02.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/valid-02.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/valid-02.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/valid-02.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/valid-02.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/valid-02.xbel/.dirs/runtime 1194s ok 87 /bookmarks/copy/valid-02.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-21.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-21.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-21.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-21.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-21.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-21.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-21.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-21.xbel/.dirs/runtime 1194s ok 88 /bookmarks/copy/fail-21.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-33.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-33.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-33.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-33.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-33.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-33.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-33.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-33.xbel/.dirs/runtime 1194s ok 89 /bookmarks/copy/fail-33.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-32.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-32.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-32.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-32.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-32.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-32.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-32.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-32.xbel/.dirs/runtime 1194s ok 90 /bookmarks/copy/fail-32.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-06.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-06.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-06.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-06.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-06.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-06.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-06.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-06.xbel/.dirs/runtime 1194s ok 91 /bookmarks/copy/fail-06.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-39.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-39.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-39.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-39.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-39.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-39.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-39.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-39.xbel/.dirs/runtime 1194s ok 92 /bookmarks/copy/fail-39.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-27.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-27.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-27.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-27.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-27.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-27.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-27.xbel/.dirs/state 1194s ok - glib/bookmarkfile.test 1194s # Running test: glib/thread-pool.test 1194s ok - glib/thread-pool.test 1194s # Running test: glib/network-monitor.test 1194s ok - glib/network-monitor.test 1194s # Running test: glib/gdbus-peer.test 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-27.xbel/.dirs/runtime 1194s ok 93 /bookmarks/copy/fail-27.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-12.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-12.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-12.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-12.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-12.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-12.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-12.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-12.xbel/.dirs/runtime 1194s ok 94 /bookmarks/copy/fail-12.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-05.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-05.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-05.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-05.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-05.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-05.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-05.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-05.xbel/.dirs/runtime 1194s ok 95 /bookmarks/copy/fail-05.xbel 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-15.xbel/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-15.xbel/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-15.xbel/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-15.xbel/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-15.xbel/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-15.xbel/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-15.xbel/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_CNO0B3/bookmarks/copy/fail-15.xbel/.dirs/runtime 1194s ok 96 /bookmarks/copy/fail-15.xbel 1194s # End of copy tests 1194s # End of bookmarks tests 1194s TAP version 14 1194s # random seed: R02Sbe6c974d4b9d7e3e376c7dc79bd6c1bc 1194s 1..6 1194s # Start of thread_pool tests 1194s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3712 1194s ok 1 /thread_pool/pool_fail 1194s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 1194s ok 2 /thread_pool/shared 1194s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 1194s ok 3 /thread_pool/exclusive 1194s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1194s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 1194s ok 4 /thread_pool/create_shared_after_exclusive 1194s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 1194s ok 5 /thread_pool/create_full 1194s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 1194s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 1194s ok 6 /thread_pool/create_exclusive_after_shared 1194s # End of thread_pool tests 1194s TAP version 14 1194s # random seed: R02S33b209deb4e9d022ce78b19c31739d52 1194s 1..4 1194s # Start of network-monitor tests 1194s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 1194s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 1194s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ‘gio-network-monitor’ 1194s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1194s ok 1 /network-monitor/default 1194s ok 2 /network-monitor/remove_default 1194s ok 3 /network-monitor/add_networks 1194s ok 4 /network-monitor/remove_networks 1194s # End of network-monitor tests 1194s TAP version 14 1194s # random seed: R02S97e60226d72f71ea70443aff2edf356d 1194s 1..12 1194s # Start of gdbus tests 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/.dirs/runtime 1194s # Testing with unix:dir address 1194s # Testing with unix:tmpdir address 1194s # Testing with unix:path address 1194s ok 1 /gdbus/peer-to-peer 1194s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/delayed-message-processing/.dirs/home 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/delayed-message-processing/.dirs/cache 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NUBAC3/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_NUBAC3/gdbus/delayed-message-processing/.dirs/system-config2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/delayed-message-processing/.dirs/config 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NUBAC3/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_NUBAC3/gdbus/delayed-message-processing/.dirs/system-data2 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/delayed-message-processing/.dirs/data 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/delayed-message-processing/.dirs/state 1194s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NUBAC3/gdbus/delayed-message-processing/.dirs/runtime 1194s # Testing with unix:dir address 1195s ok 2 /gdbus/delayed-message-processing 1195s # slow test /gdbus/delayed-message-processing executed in 0.51 secs 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/nonce-tcp/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/nonce-tcp/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NUBAC3/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_NUBAC3/gdbus/nonce-tcp/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/nonce-tcp/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NUBAC3/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_NUBAC3/gdbus/nonce-tcp/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/nonce-tcp/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/nonce-tcp/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NUBAC3/gdbus/nonce-tcp/.dirs/runtime 1195s ok 3 /gdbus/nonce-tcp 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/tcp-anonymous/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/tcp-anonymous/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NUBAC3/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_NUBAC3/gdbus/tcp-anonymous/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/tcp-anonymous/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NUBAC3/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_NUBAC3/gdbus/tcp-anonymous/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/tcp-anonymous/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/tcp-anonymous/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NUBAC3/gdbus/tcp-anonymous/.dirs/runtime 1195s ok 4 /gdbus/tcp-anonymous 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/credentials/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/credentials/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NUBAC3/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_NUBAC3/gdbus/credentials/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/credentials/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NUBAC3/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_NUBAC3/gdbus/credentials/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/credentials/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/credentials/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NUBAC3/gdbus/credentials/.dirs/runtime 1195s ok 5 /gdbus/credentials 1195s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/codegen-peer-to-peer/.dirs/home 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/codegen-peer-to-peer/.dirs/cache 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NUBAC3/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_NUBAC3/gdbus/codegen-peer-to-peer/.dirs/system-config2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/codegen-peer-to-peer/.dirs/config 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NUBAC3/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_NUBAC3/gdbus/codegen-peer-to-peer/.dirs/system-data2 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/codegen-peer-to-peer/.dirs/data 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/codegen-peer-to-peer/.dirs/state 1195s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NUBAC3/gdbus/codegen-peer-to-peer/.dirs/runtime 1195s # Testing with unix:dir address 1195s # Machine ID: dc762894de1c4959aed1f34202999755 1196s ok 6 /gdbus/codegen-peer-to-peer 1196s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 1196s # Start of peer-to-peer tests 1196s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/signals/.dirs/home 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/signals/.dirs/cache 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/signals/.dirs/system-config2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/signals/.dirs/config 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/signals/.dirs/system-data2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/signals/.dirs/data 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/signals/.dirs/state 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/signals/.dirs/runtime 1196s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 1196s # Testing with unix:dir address 1196s ok 7 /gdbus/peer-to-peer/signals 1196s # Start of invalid tests 1196s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/server/.dirs/home 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/server/.dirs/cache 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/server/.dirs/config 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/server/.dirs/data 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/server/.dirs/state 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/server/.dirs/runtime 1196s ok 8 /gdbus/peer-to-peer/invalid/server 1196s # Start of conn tests 1196s # Start of stream tests 1196s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 1196s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 1196s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 1196s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 1196s # End of stream tests 1196s # Start of addr tests 1196s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 1196s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 1196s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_NUBAC3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 1196s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 1196s # End of addr tests 1196s # End of conn tests 1196s # End of invalid tests 1196s # End of peer-to-peer tests 1196s # End of gdbus tests 1196s TAP version 14 1196s # random seed: R02S349cf1aacfa1977e89b0ef5a80018eef 1196s 1..3 1196s # Start of converter tests 1196s ok 1 /converter/bytes 1196s ok 2 /converter/extra-bytes-at-end 1196s ok 3 /converter/gzip-os-property 1196s # End of converter tests 1196s TAP version 14 1196s # random seed: R02S1e2cebcf42fdcf283b54daca5ea24cd7 1196s 1..1 1196s # Start of tls-backend tests 1196s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 1196s ok 1 /tls-backend/set-default-database 1196s # End of tls-backend tests 1196s TAP version 14 1196s # random seed: R02S4f7f216414bca6840368070efdc3053e 1196s ** 1196s GLib:ERROR:../../../glib/tests/testing-nonfatal.c:26:main: assertion failed ("We can survive this!" == "Or maybe not?"): ("We can survive this!" == "Or maybe not?") 1196s # GLib:ERROR:../../../glib/tests/testing-nonfatal.c:26:main: assertion failed ("We can survive this!" == "Or maybe not?"): ("We can survive this!" == "Or maybe not?") 1196s TAP version 14 1196s # random seed: R02Sfb6b6bd458a0e230ca15aad86933da53 1196s 1..1 1196s # Start of monitor tests 1196s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_LD91B3/monitor/app/.dirs/home 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_LD91B3/monitor/app/.dirs/cache 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_LD91B3/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_LD91B3/monitor/app/.dirs/system-config2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_LD91B3/monitor/app/.dirs/config 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_LD91B3/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_LD91B3/monitor/app/.dirs/system-data2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_LD91B3/monitor/app/.dirs/data 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_LD91B3/monitor/app/.dirs/state 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_LD91B3/monitor/app/.dirs/runtime 1196s # Using data directory: /tmp/test_appmonitor_LD91B3/monitor/app/.dirs/data 1196s ok 1 /monitor/app 1196s # End of monitor tests 1196s TAP version 14 1196s # random seed: R02S1de6d2c55ba53840841c069596237be5 1196s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1196s 1..3 1196s # Start of volumemonitor tests 1196s ok 1 /volumemonitor/connected_drives 1196s ok 2 /volumemonitor/volumes 1196s ok 3 /volumemonitor/mounts 1196s # End of volumemonitor tests 1196s TAP version 14 1196s # random seed: R02S5124e7772179a23722addc25dd2fd321 1196s 1..2 1196s # Start of charset tests 1196s # Test 0 1196s # Test 1 1196s # Test 2 1196s # Test 3 1196s ok 1 /charset/language_names_with_category 1196s ok 2 /charset/language_names_with_category_async 1196s # End of charset tests 1196s ok - glib/gdbus-peer.test 1196s # Running test: glib/converter.test 1196s ok - glib/converter.test 1196s # Running test: glib/tls-database.test 1196s ok - glib/tls-database.test 1196s # Running test: glib/testing-nonfatal.test 1196s ok - glib/testing-nonfatal.test 1196s # Running test: glib/appmonitor.test 1196s ok - glib/appmonitor.test 1196s # Running test: glib/volumemonitor.test 1196s ok - glib/volumemonitor.test 1196s # Running test: glib/charset.test 1196s ok - glib/charset.test 1196s TAP version 14 1196s # random seed: R02Sd25a53f1af547107fc9f749b2e67c2af 1196s 1..7 1196s # Start of environ tests 1196s # /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. 1196s ok 1 /environ/listenv 1196s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 1196s ok 2 /environ/getenv 1196s ok 3 /environ/setenv 1196s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 1196s ok 4 /environ/array 1196s # /environ/null summary: Test getting and setting variables on a NULL envp array. 1196s ok 5 /environ/null 1196s # /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. 1196s ok 6 /environ/case 1196s # /environ/expansion summary: Test expansion of environment variable references. 1196s ok 7 /environ/expansion # SKIP Environment variable expansion is only supported on Windows 1196s # End of environ tests 1196s # Running test: glib/environment.test 1196s ok - glib/environment.test 1196s # Running test: glib/function-info.test 1196s TAP version 14 1196s # random seed: R02Se3756fab33df4dc409bc5bf5bda12c94 1196s 1..1 1196s # Start of function-info tests 1196s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_JLN4B3/function-info/invoker/.dirs/home 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_JLN4B3/function-info/invoker/.dirs/cache 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_JLN4B3/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_JLN4B3/function-info/invoker/.dirs/system-config2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_JLN4B3/function-info/invoker/.dirs/config 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_JLN4B3/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_JLN4B3/function-info/invoker/.dirs/system-data2 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_JLN4B3/function-info/invoker/.dirs/data 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_JLN4B3/function-info/invoker/.dirs/state 1196s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_JLN4B3/function-info/invoker/.dirs/runtime 1196s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1196s # /function-info/invoker summary: Test preparing a function invoker 1196s ok 1 /function-info/invoker 1196s # End of function-info tests 1196s TAP version 14 1196s # random seed: R02S537265c6d4b4c049f908932d9fec1dd8 1196s 1..27 1196s # Start of boxed tests 1196s ok 1 /boxed/define 1196s ok 2 /boxed/ownership 1196s ok 3 /boxed/closure 1196s ok 4 /boxed/date 1196s ok 5 /boxed/value 1196s ok 6 /boxed/string 1196s ok 7 /boxed/hashtable 1196s ok 8 /boxed/array 1196s ok 9 /boxed/ptrarray 1196s ok 10 /boxed/regex 1196s ok 11 /boxed/varianttype 1196s ok 12 /boxed/error 1196s ok 13 /boxed/datetime 1196s ok 14 /boxed/matchinfo 1196s ok 15 /boxed/keyfile 1196s ok 16 /boxed/mainloop 1196s ok 17 /boxed/maincontext 1196s ok 18 /boxed/source 1196s ok 19 /boxed/variantbuilder 1196s ok 20 /boxed/timezone 1196s ok 21 /boxed/pollfd 1196s ok 22 /boxed/markup 1196s ok 23 /boxed/thread 1196s ok 24 /boxed/checksum 1196s ok 25 /boxed/tree 1196s ok 26 /boxed/patternspec 1196s ok 27 /boxed/rand 1196s # End of boxed tests 1196s TAP version 14 1196s # random seed: R02S727c1c4c3fd95b4ceef37321ae713906 1196s 1..1 1196s # Start of srvtarget tests 1196s ok - glib/function-info.test 1196s # Running test: glib/boxed.test 1196s ok - glib/boxed.test 1196s # Running test: glib/srvtarget.test 1197s ok 1 /srvtarget/srv-target-ordering 1197s # slow test /srvtarget/srv-target-ordering executed in 0.77 secs 1197s # End of srvtarget tests 1197s ok - glib/srvtarget.test 1197s # Running test: glib/g-file.test 1197s TAP version 14 1197s # random seed: R02S42adca269dea427c761b133660124771 1197s 1..8 1197s # Start of g-file tests 1197s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1197s ok 1 /g-file/test_g_file_new_null 1197s ok 2 /g-file/test_g_file_new_for_path 1197s ok 3 /g-file/test_g_file_new_for_uri 1197s ok 4 /g-file/test_g_file_dup 1197s ok 5 /g-file/test_g_file_get_parse_name_utf8 1197s file:///tmp/test-tmp-glib_g-file.test-TAWKC3 1197s file:///tmp 1197s file:///tmp 1197s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1197s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 1197s ok 6 /g-file/test_g_file_new_for_commandline_arg 1197s /dir1 /dir1/dir2/dir3/ 1197s /dir1/ /dir1/dir2/dir3/ 1197s /dir1 /dir1/dir2/dir3 1197s ok - glib/g-file.test 1197s # Running test: glib/gthash.test 1197s ok - glib/gthash.test 1197s # Running test: glib/data-input-stream.test 1197s /dir1/ /dir1/dir2/dir3 1197s /tmp/ /something/ 1197s /dir1/dir2 /dir1/ 1197s //dir1/new //dir1/new/dir2/dir3 1197s /dir/UTF-8 příliš žluťoučký kůň /dir/UTF-8 příliš žluťoučký kůň/dir2 1197s file:///dir1 file:///dir1/dir2/dir3/ 1197s file:///dir1/ file:///dir1/dir2/dir3/ 1197s file:///dir1 file:///dir1/dir2/dir3 1197s file:///dir1/ file:///dir1/dir2/dir3 1197s file:///tmp/ file:///something/ 1197s file:///dir1/dir2 file:///dir1/ 1197s file:////dir1/new file:////dir1/new/dir2/dir3 1197s 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 1197s ok 7 /g-file/test_g_file_has_prefix 1197s ok 8 /g-file/test_g_file_get_parent_child 1197s # End of g-file tests 1197s TAP version 14 1197s # random seed: R02Se74486992ad5896281827d7201fdcd28 1197s 1..1 1197s # Start of gthash tests 1197s ok 1 /gthash/build-retrieve 1197s # End of gthash tests 1197s TAP version 14 1197s # random seed: R02Saa95e7dc6ed421f8fea089cf98230fec 1197s 1..10 1197s # Start of data-input-stream tests 1197s ok 1 /data-input-stream/basic 1197s ok 2 /data-input-stream/read-lines-LF 1197s ok 3 /data-input-stream/read-lines-LF-valid-utf8 1197s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 1197s ok 5 /data-input-stream/read-lines-CR 1197s ok 6 /data-input-stream/read-lines-CR-LF 1197s ok 7 /data-input-stream/read-lines-any 1197s ok 8 /data-input-stream/read-until 1197s # Test vector 0: part1 # part2 $ part3 ? part4 ? and #$?^ 1197s # Test vector 1: {"key": "value"}? and ? 1197s ok 9 /data-input-stream/read-upto 1197s ok 10 /data-input-stream/read-int 1197s # End of data-input-stream tests 1197s ok - glib/data-input-stream.test 1197s # Running test: glib/gdbus-server-auth.test 1197s TAP version 14 1197s # random seed: R02Sda6a53717ad05e1323a84e60e4813519 1197s 1..9 1197s # Start of gdbus tests 1197s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/.dirs/home 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/.dirs/cache 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/.dirs/system-config2 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/.dirs/config 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/.dirs/system-data2 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/.dirs/data 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/.dirs/state 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/.dirs/runtime 1197s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_D4A2B3/gdbus-server-auth-CNC2B3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1197s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_D4A2B3/gdbus-server-auth-CNC2B3/dbus-Js7Vpolh 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 31260 1197s ok 1 /gdbus/server-auth 1197s # Start of server-auth tests 1197s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/abstract/.dirs/home 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/abstract/.dirs/cache 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/abstract/.dirs/system-config2 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/abstract/.dirs/config 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/abstract/.dirs/system-data2 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/abstract/.dirs/data 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/abstract/.dirs/state 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/abstract/.dirs/runtime 1197s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_D4A2B3/gdbus-server-auth-6HS4B3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1197s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_D4A2B3/gdbus-server-auth-6HS4B3/dbus-lV0wUik1 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1197s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1197s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 31260 1197s ok 2 /gdbus/server-auth/abstract 1197s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/tcp/.dirs/home 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/tcp/.dirs/cache 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/tcp/.dirs/system-config2 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/tcp/.dirs/config 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/tcp/.dirs/system-data2 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/tcp/.dirs/data 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/tcp/.dirs/state 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/tcp/.dirs/runtime 1197s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1197s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1197s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/anonymous/.dirs/home 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/anonymous/.dirs/cache 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/anonymous/.dirs/system-config2 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/anonymous/.dirs/config 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/anonymous/.dirs/system-data2 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/anonymous/.dirs/data 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/anonymous/.dirs/state 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/anonymous/.dirs/runtime 1197s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_D4A2B3/gdbus-server-auth-QMD4B3 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1197s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_D4A2B3/gdbus-server-auth-QMD4B3/dbus-TjxQKOBD 1197s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 31260 1197s ok 4 /gdbus/server-auth/anonymous 1197s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/external/.dirs/home 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/external/.dirs/cache 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/external/.dirs/system-config2 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/external/.dirs/config 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/external/.dirs/system-data2 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/external/.dirs/data 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/external/.dirs/state 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/external/.dirs/runtime 1197s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_D4A2B3/gdbus-server-auth-5ZJ0B3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1197s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_D4A2B3/gdbus-server-auth-5ZJ0B3/dbus-BhntcdQk 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 31260 1197s ok 5 /gdbus/server-auth/external 1197s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/sha1/.dirs/home 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/sha1/.dirs/cache 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/sha1/.dirs/system-config2 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/sha1/.dirs/config 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/sha1/.dirs/system-data2 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/sha1/.dirs/data 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/sha1/.dirs/state 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/sha1/.dirs/runtime 1197s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_D4A2B3/gdbus-server-auth-TI9ZB3 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1197s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1197s # Start of anonymous tests 1197s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/anonymous/tcp/.dirs/home 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/anonymous/tcp/.dirs/cache 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/anonymous/tcp/.dirs/config 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/anonymous/tcp/.dirs/data 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/anonymous/tcp/.dirs/state 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1197s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1197s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1197s # End of anonymous tests 1197s # Start of external tests 1197s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/external/require-same-user/.dirs/home 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/external/require-same-user/.dirs/cache 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/external/require-same-user/.dirs/config 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/external/require-same-user/.dirs/data 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/external/require-same-user/.dirs/state 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/external/require-same-user/.dirs/runtime 1197s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_D4A2B3/gdbus-server-auth-M99ZB3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1197s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_D4A2B3/gdbus-server-auth-M99ZB3/dbus-SHu51MA0 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 31260 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1197s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1197s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=31260,uid=1000,gid=1000 1197s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 31260 1197s ok 8 /gdbus/server-auth/external/require-same-user 1197s # End of external tests 1197s # Start of sha1 tests 1197s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/sha1/tcp/.dirs/home 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/sha1/tcp/.dirs/cache 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/sha1/tcp/.dirs/config 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/sha1/tcp/.dirs/data 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/sha1/tcp/.dirs/state 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_D4A2B3/gdbus/server-auth/sha1/tcp/.dirs/runtime 1197s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1197s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 1197s # End of sha1 tests 1197s # End of server-auth tests 1197s # End of gdbus tests 1197s TAP version 14 1197s # random seed: R02S67489740abb83dcc6784afe0b8f243c0 1197s 1..1 1197s # Start of gdbus tests 1197s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_3KVZB3/gdbus/non-socket/.dirs/home 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_3KVZB3/gdbus/non-socket/.dirs/cache 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_3KVZB3/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_3KVZB3/gdbus/non-socket/.dirs/system-config2 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_3KVZB3/gdbus/non-socket/.dirs/config 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_3KVZB3/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_3KVZB3/gdbus/non-socket/.dirs/system-data2 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_3KVZB3/gdbus/non-socket/.dirs/data 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_3KVZB3/gdbus/non-socket/.dirs/state 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_3KVZB3/gdbus/non-socket/.dirs/runtime 1197s ok 1 /gdbus/non-socket 1197s # End of gdbus tests 1197s TAP version 14 1197s # random seed: R02S2186dcbe0701b742d3cb12aaa86b3aa8 1197s 1..6 1197s # Start of icons tests 1197s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1197s ok 1 /icons/to-string 1197s ok 2 /icons/serialize 1197s ok 3 /icons/themed 1197s ok 4 /icons/emblemed 1197s ok 5 /icons/file 1197s ok 6 /icons/bytes 1197s # End of icons tests 1197s ok - glib/gdbus-server-auth.test 1197s # Running test: glib/gdbus-non-socket.test 1197s ok - glib/gdbus-non-socket.test 1197s # Running test: glib/g-icon.test 1197s ok - glib/g-icon.test 1197s # Running test: glib/assert-msg-test.py.test 1197s TAP version 13 1197s ok 1 __main__.TestAssertMessage.test_gassert 1197s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1197s # tmpdir: /tmp/tmpmm5y7w9x 1197s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 1197s # Return code: -6 1197s # Output: 1197s # Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1197s # Error: 1197s # ** 1197s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 1197s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 1197s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 1197s # tmpdir: /tmp/tmp30xne1_4 1197s 1..2 1197s ok - glib/assert-msg-test.py.test 1197s # Running test: glib/memory-output-stream.test 1197s TAP version 14 1197s # random seed: R02S60ce12b1f5c8a92c9d007aa7340c9521 1197s 1..10 1197s # Start of memory-output-stream tests 1197s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 1197s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 1197s ok 1 /memory-output-stream/truncate 1197s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 1197s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 1197s ok 2 /memory-output-stream/get-data-size 1197s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 1197s ok 3 /memory-output-stream/properties 1197s ok 4 /memory-output-stream/write-bytes 1197s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 1197s ok 5 /memory-output-stream/write-null 1197s ok 6 /memory-output-stream/writev 1197s ok 7 /memory-output-stream/writev_nonblocking 1197s ok 8 /memory-output-stream/steal_as_bytes 1197s # Start of seek tests 1197s ok 9 /memory-output-stream/seek/fixed 1197s ok 10 /memory-output-stream/seek/resizable 1197s # End of seek tests 1197s # End of memory-output-stream tests 1197s ok - glib/memory-output-stream.test 1197s # Running test: glib/signalgroup.test 1197s TAP version 14 1197s # random seed: R02Se1d82a00cf040dd9aa2e5a858a10d50c 1197s 1..9 1197s # Start of GObject tests 1197s # Start of SignalGroup tests 1197s ok 1 /GObject/SignalGroup/invalid 1197s ok 2 /GObject/SignalGroup/simple 1197s ok 3 /GObject/SignalGroup/changing-target 1197s ok 4 /GObject/SignalGroup/blocking 1197s ok 5 /GObject/SignalGroup/weak-ref-target 1197s ok 6 /GObject/SignalGroup/connect-object 1197s ok 7 /GObject/SignalGroup/signal-parsing 1197s ok 8 /GObject/SignalGroup/properties 1197s ok 9 /GObject/SignalGroup/interface 1197s # Start of signal-parsing tests 1197s # End of signal-parsing tests 1197s # End of SignalGroup tests 1197s # End of GObject tests 1197s ok - glib/signalgroup.test 1197s # Running test: glib/union-info.test 1197s TAP version 14 1197s # random seed: R02S00b8d960e81de46d7273d5e0a987cfb3 1197s 1..2 1197s # Start of union-info tests 1197s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_Y0V8B3/union-info/basic/.dirs/home 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_Y0V8B3/union-info/basic/.dirs/cache 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_Y0V8B3/union-info/basic/.dirs/system-config1:/tmp/test_union-info_Y0V8B3/union-info/basic/.dirs/system-config2 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_Y0V8B3/union-info/basic/.dirs/config 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_Y0V8B3/union-info/basic/.dirs/system-data1:/tmp/test_union-info_Y0V8B3/union-info/basic/.dirs/system-data2 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_Y0V8B3/union-info/basic/.dirs/data 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_Y0V8B3/union-info/basic/.dirs/state 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_Y0V8B3/union-info/basic/.dirs/runtime 1197s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1197s # /union-info/basic summary: Test basic properties of GIUnionInfo 1197s ok 1 /union-info/basic 1197s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_Y0V8B3/union-info/methods/.dirs/home 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_Y0V8B3/union-info/methods/.dirs/cache 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_Y0V8B3/union-info/methods/.dirs/system-config1:/tmp/test_union-info_Y0V8B3/union-info/methods/.dirs/system-config2 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_Y0V8B3/union-info/methods/.dirs/config 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_Y0V8B3/union-info/methods/.dirs/system-data1:/tmp/test_union-info_Y0V8B3/union-info/methods/.dirs/system-data2 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_Y0V8B3/union-info/methods/.dirs/data 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_Y0V8B3/union-info/methods/.dirs/state 1197s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_Y0V8B3/union-info/methods/.dirs/runtime 1197s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1197s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 1197s ok 2 /union-info/methods 1197s # End of union-info tests 1197s ok - glib/union-info.test 1197s # Running test: glib/gapplication.test 1197s TAP version 14 1197s # random seed: R02Se8a69e5c4fe9b249b7897a9178e03b75 1197s 1..25 1197s # Start of gapplication tests 1197s ok 1 /gapplication/no-dbus 1197s ok 2 /gapplication/no-appid 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s ok 3 /gapplication/properties 1197s ok 4 /gapplication/app-id 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s ok 5 /gapplication/quit 1197s ok 6 /gapplication/registered 1197s ok 7 /gapplication/local-actions 1197s ok 8 /gapplication/local-command-line 1197s ok 9 /gapplication/resource-path 1197s ok 10 /gapplication/test-help 1197s ok 11 /gapplication/command-line-done 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s ok 12 /gapplication/test-busy 1197s ok 13 /gapplication/test-handle-local-options1 1197s ok 14 /gapplication/test-handle-local-options2 1197s ok 15 /gapplication/test-handle-local-options3 1197s ok 16 /gapplication/api 1197s ok 17 /gapplication/version 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # launching subprocess 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s ok 18 /gapplication/replace 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1197s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1197s # launching subprocess 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s ok 19 /gapplication/no-replace 1198s # slow test /gapplication/no-replace executed in 0.51 secs 1198s # Start of command-line tests 1198s # /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 1198s ok 20 /gapplication/command-line/arguments 1198s # End of command-line tests 1198s # Start of dbus tests 1198s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1198s # Message 0 1198s # Message 1 1198s # Message 2 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s ok 21 /gapplication/dbus/activate 1198s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1198s # Message 0 1198s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1198s # Message 1 1198s # Message 2 1198s # Message 3 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s ok 22 /gapplication/dbus/open 1198s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1198s # Message 0 1198s # Message 1 1198s # Message 2 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s ok 23 /gapplication/dbus/command-line 1198s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s ok 24 /gapplication/dbus/command-line-done 1198s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1198s # Message 0 1198s # Message 1 1198s # Message 2 1198s # Message 3 1198s # Message 4 1198s # Message 5 1198s # Message 6 1198s # Message 7 1198s # Message 8 1198s # Message 9 1198s # Message 10 1198s # Message 11 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1198s ok 25 /gapplication/dbus/activate-action 1198s # End of dbus tests 1198s # End of gapplication tests 1198s ok - glib/gapplication.test 1198s # Running test: glib/gdbus-message.test 1198s TAP version 14 1198s # random seed: R02S82bcc51ab082a66b22fa1d8d913d0a02 1198s 1..3 1198s # Start of gdbus tests 1198s # Start of message tests 1198s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_RG9GC3/gdbus/message/lock/.dirs/home 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_RG9GC3/gdbus/message/lock/.dirs/cache 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_RG9GC3/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_RG9GC3/gdbus/message/lock/.dirs/system-config2 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_RG9GC3/gdbus/message/lock/.dirs/config 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_RG9GC3/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_RG9GC3/gdbus/message/lock/.dirs/system-data2 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_RG9GC3/gdbus/message/lock/.dirs/data 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_RG9GC3/gdbus/message/lock/.dirs/state 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_RG9GC3/gdbus/message/lock/.dirs/runtime 1198s ok 1 /gdbus/message/lock 1198s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_RG9GC3/gdbus/message/copy/.dirs/home 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_RG9GC3/gdbus/message/copy/.dirs/cache 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_RG9GC3/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_RG9GC3/gdbus/message/copy/.dirs/system-config2 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_RG9GC3/gdbus/message/copy/.dirs/config 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_RG9GC3/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_RG9GC3/gdbus/message/copy/.dirs/system-data2 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_RG9GC3/gdbus/message/copy/.dirs/data 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_RG9GC3/gdbus/message/copy/.dirs/state 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_RG9GC3/gdbus/message/copy/.dirs/runtime 1198s ok 2 /gdbus/message/copy 1198s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_RG9GC3/gdbus/message/bytes-needed/.dirs/home 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_RG9GC3/gdbus/message/bytes-needed/.dirs/cache 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_RG9GC3/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_RG9GC3/gdbus/message/bytes-needed/.dirs/system-config2 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_RG9GC3/gdbus/message/bytes-needed/.dirs/config 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_RG9GC3/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_RG9GC3/gdbus/message/bytes-needed/.dirs/system-data2 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_RG9GC3/gdbus/message/bytes-needed/.dirs/data 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_RG9GC3/gdbus/message/bytes-needed/.dirs/state 1198s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_RG9GC3/gdbus/message/bytes-needed/.dirs/runtime 1198s # Vector: 0 1198s # Vector: 1 1198s # Vector: 2 1198s # Vector: 3 1198s # Vector: 4 1198s # Vector: 5 1198s ok 3 /gdbus/message/bytes-needed 1198s # End of message tests 1198s # End of gdbus tests 1198s ok - glib/gdbus-message.test 1198s # Running test: glib/ir-parser.test 1198s TAP version 14 1198s # random seed: R02S02a89c84f5103ddd82506020291c44c8 1198s 1..1 1198s # Start of ir-parser tests 1198s # /ir-parser/type-parsing summary: Test parsing different valid and invalid types 1198s # GLib-GIRepository-DEBUG: 1198s # GLib-GIRepository-DEBUG: pushing node 1 dummy 1198s # GLib-GIRepository-DEBUG: Parsed type: GLib.Error => 20 1198s # GLib-GIRepository-DEBUG: 1198s # GLib-GIRepository-DEBUG: 1198s # GLib-GIRepository-DEBUG: 1198s # GLib-GIRepository-DEBUG: 1198s # GLib-GIRepository-DEBUG: popping node 1 dummy 1198s # GLib-GIRepository-DEBUG: 1198s # GLib-GIRepository-DEBUG: 1198s # GLib-GIRepository-DEBUG: 1198s # GLib-GIRepository-DEBUG: pushing node 1 dummy 1198s # GLib-GIRepository-DEBUG: Parsed type: GLib.Error => 20 1198s # GLib-GIRepository-DEBUG: 1198s # GLib-GIRepository-DEBUG: 1198s # GLib-GIRepository-DEBUG: 1198s # GLib-GIRepository-DEBUG: 1198s # GLib-GIRepository-DEBUG: popping node 1 dummy 1198s # GLib-GIRepository-DEBUG: 1198s # GLib-GIRepository-DEBUG: 1198s # GLib-GIRepository-DEBUG: 1198s # GLib-GIRepository-DEBUG: pushing node 1 dummy 1198s # GLib-GIRepository-DEBUG: Failed to parse type: 'GLib.Error expected: Sat 1200s # %a -> actual: Sat 1200s # %A -> expected: Saturday 1200s # %A -> actual: Saturday 1200s # %b -> expected: Oct 1200s # %b -> actual: Oct 1200s # %B -> expected: October 1200s # %B -> actual: October 1200s # %d -> expected: 24 1200s # %d -> actual: 24 1200s # %d -> expected: 01 1200s # %d -> actual: 01 1200s # %e -> expected: 24 1200s # %e -> actual: 24 1200s # %e -> expected:  1 1200s # %e -> actual:  1 1200s # %f -> expected: 001000 1200s # %f -> actual: 001000 1200s # %h -> expected: Oct 1200s # %h -> actual: Oct 1200s # %H -> expected: 00 1200s # %H -> actual: 00 1200s # %H -> expected: 15 1200s # %H -> actual: 15 1200s # %I -> expected: 12 1200s # %I -> actual: 12 1200s # %I -> expected: 12 1200s # %I -> actual: 12 1200s # %I -> expected: 03 1200s # %I -> actual: 03 1200s # %j -> expected: 297 1200s # %j -> actual: 297 1200s # %k -> expected:  0 1200s # %k -> actual:  0 1200s # %k -> expected: 13 1200s # %k -> actual: 13 1200s # %l -> expected: 12 1200s # %l -> actual: 12 1200s # %I -> expected: 12 1200s # %I -> actual: 12 1200s # %l -> expected:  1 1200s # %l -> actual:  1 1200s # %l -> expected: 10 1200s # %l -> actual: 10 1200s # %m -> expected: 10 1200s # %m -> actual: 10 1200s # %M -> expected: 00 1200s # %M -> actual: 00 1200s # %p -> expected: AM 1200s # %p -> actual: AM 1200s # %p -> expected: PM 1200s # %p -> actual: PM 1200s # %P -> expected: am 1200s # %P -> actual: am 1200s # %P -> expected: pm 1200s # %P -> actual: pm 1200s # %r -> expected: 12:00:00 AM 1200s # %r -> actual: 12:00:00 AM 1200s # %r -> expected: 01:13:13 PM 1200s # %r -> actual: 01:13:13 PM 1200s # %R -> expected: 00:00 1200s # %R -> actual: 00:00 1200s # %R -> expected: 13:13 1200s # %R -> actual: 13:13 1200s # %S -> expected: 00 1200s # %S -> actual: 00 1200s # %t -> expected: 1200s # %t -> actual: 1200s # %u -> expected: 6 1200s # %u -> actual: 6 1200s # %x -> expected: 10/24/09 1200s # %x -> actual: 10/24/09 1200s # %X -> expected: 00:00:00 1200s # %X -> actual: 00:00:00 1200s # %X -> expected: 13:14:15 1200s # %X -> actual: 13:14:15 1200s # %y -> expected: 09 1200s # %y -> actual: 09 1200s # %Y -> expected: 2009 1200s # %Y -> actual: 2009 1200s # %% -> expected: % 1200s # %% -> actual: % 1200s # % -> expected: 1200s # % -> actual: 1200s # %9 -> expected: (null) 1200s # %9 -> actual: (null) 1200s # %Z -> expected: UTC 1200s # %Z -> actual: UTC 1200s # %#Z %Z -> expected: utc UTC 1200s # %#Z %Z -> actual: utc UTC 1200s ok 32 /GDateTime/printf 1200s # %a -> expected: 土 1200s # %a -> actual: 土 1200s # %A -> expected: 土曜日 1200s # %A -> actual: 土曜日 1200s # %b -> expected: 10月 1200s # %b -> actual: 10月 1200s # %B -> expected: 10月 1200s # %B -> actual: 10月 1200s # %c -> expected: 2009年10月24日 00時00分00秒 1200s # %c -> actual: 2009年10月24日 00時00分00秒 1200s # %C -> expected: 20 1200s # %C -> actual: 20 1200s # %d -> expected: 24 1200s # %d -> actual: 24 1200s # %d -> expected: 01 1200s # %d -> actual: 01 1200s # %e -> expected: 24 1200s # %e -> actual: 24 1200s # %h -> expected: 10月 1200s # %h -> actual: 10月 1200s # %H -> expected: 00 1200s # %H -> actual: 00 1200s # %H -> expected: 15 1200s # %H -> actual: 15 1200s # %I -> expected: 12 1200s # %I -> actual: 12 1200s # %I -> expected: 12 1200s # %I -> actual: 12 1200s # %I -> expected: 03 1200s # %I -> actual: 03 1200s # %j -> expected: 297 1200s # %j -> actual: 297 1200s # %k -> expected:  0 1200s # %k -> actual:  0 1200s # %k -> expected: 13 1200s # %k -> actual: 13 1200s # %l -> expected: 12 1200s # %l -> actual: 12 1200s # %I -> expected: 12 1200s # %I -> actual: 12 1200s # %l -> expected:  1 1200s # %l -> actual:  1 1200s # %l -> expected: 10 1200s # %l -> actual: 10 1200s # %m -> expected: 10 1200s # %m -> actual: 10 1200s # %M -> expected: 00 1200s # %M -> actual: 00 1200s # %p -> expected: 午前 1200s # %p -> actual: 午前 1200s # %p -> expected: 午後 1200s # %p -> actual: 午後 1200s # %P -> expected: 午前 1200s # %P -> actual: 午前 1200s # %P -> expected: 午後 1200s # %P -> actual: 午後 1200s # %r -> expected: 午前12時00分00秒 1200s # %r -> actual: 午前12時00分00秒 1200s # %r -> expected: 午後01時13分13秒 1200s # %r -> actual: 午後01時13分13秒 1200s # %R -> expected: 00:00 1200s # %R -> actual: 00:00 1200s # %R -> expected: 13:13 1200s # %R -> actual: 13:13 1200s # %S -> expected: 00 1200s # %S -> actual: 00 1200s # %t -> expected: 1200s # %t -> actual: 1200s # %u -> expected: 6 1200s # %u -> actual: 6 1200s # %x -> expected: 2009年10月24日 1200s # %x -> actual: 2009年10月24日 1200s # %X -> expected: 00時00分00秒 1200s # %X -> actual: 00時00分00秒 1200s # %X -> expected: 13時14分15秒 1200s # %X -> actual: 13時14分15秒 1200s # %y -> expected: 09 1200s # %y -> actual: 09 1200s # %Y -> expected: 2009 1200s # %Y -> actual: 2009 1200s # %% -> expected: % 1200s # %% -> actual: % 1200s # % -> expected: 1200s # % -> actual: 1200s # %9 -> expected: (null) 1200s # %9 -> actual: (null) 1200s # %Ec -> expected: 平成21年10月24日 00時00分00秒 1200s # %Ec -> actual: 平成21年10月24日 00時00分00秒 1200s # %EC -> expected: 平成 1200s # %EC -> actual: 平成 1200s # %Ex -> expected: 平成21年10月24日 1200s # %Ex -> actual: 平成21年10月24日 1200s # %EX -> expected: 00時00分00秒 1200s # %EX -> actual: 00時00分00秒 1200s # %Ey -> expected: 21 1200s # %Ey -> actual: 21 1200s # %EY -> expected: 平成21年 1200s # %EY -> actual: 平成21年 1200s ok 33 /GDateTime/non_utf8_printf 1200s # ąśćł -> expected: ąśćł 1200s # ąśćł -> actual: ąśćł 1200s # %H∶%M -> expected: 23∶15 1200s # %H∶%M -> actual: 23∶15 1200s # %H∶%M -> expected: 23∶15 1200s # %H∶%M -> actual: 23∶15 1200s ok 34 /GDateTime/format_unrepresentable 1200s ok 35 /GDateTime/format_iso8601 1200s ok 36 /GDateTime/strftime 1200s # %d -> expected: 01 1200s # %d -> actual: 01 1200s # %_d -> expected: 1 1200s # %_d -> actual: 1 1200s # %-d -> expected: 1 1200s # %-d -> actual: 1 1200s # %0d -> expected: 01 1200s # %0d -> actual: 01 1200s # %d -> expected: 21 1200s # %d -> actual: 21 1200s # %_d -> expected: 21 1200s # %_d -> actual: 21 1200s # %-d -> expected: 21 1200s # %-d -> actual: 21 1200s # %0d -> expected: 21 1200s # %0d -> actual: 21 1200s # %e -> expected:  1 1200s # %e -> actual:  1 1200s # %_e -> expected: 1 1200s # %_e -> actual: 1 1200s # %-e -> expected: 1 1200s # %-e -> actual: 1 1200s # %0e -> expected: 01 1200s # %0e -> actual: 01 1200s # %e -> expected: 21 1200s # %e -> actual: 21 1200s # %_e -> expected: 21 1200s # %_e -> actual: 21 1200s # %-e -> expected: 21 1200s # %-e -> actual: 21 1200s # %0e -> expected: 21 1200s # %0e -> actual: 21 1200s # %a -> expected: Thu 1200s # %a -> actual: Thu 1200s # %^a -> expected: THU 1200s # %^a -> actual: THU 1200s # %#a -> expected: THU 1200s # %#a -> actual: THU 1200s # %A -> expected: Thursday 1200s # %A -> actual: Thursday 1200s # %^A -> expected: THURSDAY 1200s # %^A -> actual: THURSDAY 1200s # %#A -> expected: THURSDAY 1200s # %#A -> actual: THURSDAY 1200s # %b -> expected: Jan 1200s # %b -> actual: Jan 1200s # %^b -> expected: JAN 1200s # %^b -> actual: JAN 1200s # %#b -> expected: JAN 1200s # %#b -> actual: JAN 1200s # %B -> expected: January 1200s # %B -> actual: January 1200s # %^B -> expected: JANUARY 1200s # %^B -> actual: JANUARY 1200s # %#B -> expected: JANUARY 1200s # %#B -> actual: JANUARY 1200s # %h -> expected: Jan 1200s # %h -> actual: Jan 1200s # %^h -> expected: JAN 1200s # %^h -> actual: JAN 1200s # %#h -> expected: JAN 1200s # %#h -> actual: JAN 1200s # %Z -> expected: UTC 1200s # %Z -> actual: UTC 1200s # %^Z -> expected: UTC 1200s # %^Z -> actual: UTC 1200s # %#Z -> expected: utc 1200s # %#Z -> actual: utc 1200s # %H -> expected: 01 1200s # %H -> actual: 01 1200s # %_H -> expected: 1 1200s # %_H -> actual: 1 1200s # %-H -> expected: 1 1200s # %-H -> actual: 1 1200s # %0H -> expected: 01 1200s # %0H -> actual: 01 1200s # %H -> expected: 21 1200s # %H -> actual: 21 1200s # %_H -> expected: 21 1200s # %_H -> actual: 21 1200s # %-H -> expected: 21 1200s # %-H -> actual: 21 1200s # %0H -> expected: 21 1200s # %0H -> actual: 21 1200s # %I -> expected: 01 1200s # %I -> actual: 01 1200s # %_I -> expected: 1 1200s # %_I -> actual: 1 1200s # %-I -> expected: 1 1200s # %-I -> actual: 1 1200s # %0I -> expected: 01 1200s # %0I -> actual: 01 1200s # %I -> expected: 11 1200s # %I -> actual: 11 1200s # %_I -> expected: 11 1200s # %_I -> actual: 11 1200s # %-I -> expected: 11 1200s # %-I -> actual: 11 1200s # %0I -> expected: 11 1200s # %0I -> actual: 11 1200s # %k -> expected:  1 1200s # %k -> actual:  1 1200s # %_k -> expected: 1 1200s # %_k -> actual: 1 1200s # %-k -> expected: 1 1200s # %-k -> actual: 1 1200s # %0k -> expected: 01 1200s # %0k -> actual: 01 1200s # %l -> expected:  1 1200s # %l -> actual:  1 1200s # %_l -> expected: 1 1200s # %_l -> actual: 1 1200s # %-l -> expected: 1 1200s # %-l -> actual: 1 1200s # %0l -> expected: 01 1200s # %0l -> actual: 01 1200s # %l -> expected: 11 1200s # %l -> actual: 11 1200s # %_l -> expected: 11 1200s # %_l -> actual: 11 1200s # %-l -> expected: 11 1200s # %-l -> actual: 11 1200s # %0l -> expected: 11 1200s # %0l -> actual: 11 1200s # %p -> expected: AM 1200s # %p -> actual: AM 1200s # %^p -> expected: AM 1200s # %^p -> actual: AM 1200s # %#p -> expected: am 1200s # %#p -> actual: am 1200s # %P -> expected: am 1200s # %P -> actual: am 1200s # %^P -> expected: AM 1200s # %^P -> actual: AM 1200s # %#P -> expected: am 1200s # %#P -> actual: am 1200s # %OH -> expected: ۲۳ 1200s # %OH -> actual: ۲۳ 1200s # %OI -> expected: ۱۱ 1200s # %OI -> actual: ۱۱ 1200s # %OM -> expected: ۰۰ 1200s # %OM -> actual: ۰۰ 1200s # %Om -> expected: ۰۷ 1200s # %Om -> actual: ۰۷ 1200s # %0Om -> expected: ۰۷ 1200s # %0Om -> actual: ۰۷ 1200s # %-Om -> expected: ۷ 1200s # %-Om -> actual: ۷ 1200s # %_Om -> expected: ۷ 1200s # %_Om -> actual: ۷ 1200s # %c -> expected: thu 01 jan 2009 00:00:00 utc 1200s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 1200s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 1200s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 1200s # %C -> expected: 20 1200s # %C -> actual: 20 1200s # %EC -> expected: 20 1200s # %EC -> actual: 20 1200s # %x -> expected: 02/01/09 1200s # %x -> actual: 02/01/09 1200s # %Ex -> expected: 02/01/09 1200s # %Ex -> actual: 02/01/09 1200s # %X -> expected: 01:02:03 1200s # %X -> actual: 01:02:03 1200s # %EX -> expected: 01:02:03 1200s # %EX -> actual: 01:02:03 1200s # %y -> expected: 09 1200s # %y -> actual: 09 1200s # %Ey -> expected: 09 1200s # %Ey -> actual: 09 1200s # %Y -> expected: 2009 1200s # %Y -> actual: 2009 1200s # %EY -> expected: 2009 1200s # %EY -> actual: 2009 1200s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 1200s # Bug Reference: http://bugzilla.gnome.org/749206 1200s # %B -> expected: January 1200s # %B -> actual: January 1200s # %OB -> expected: February 1200s # %OB -> actual: February 1200s # %b -> expected: Mar 1200s # %b -> actual: Mar 1200s # %Ob -> expected: Apr 1200s # %Ob -> actual: Apr 1200s # %h -> expected: May 1200s # %h -> actual: May 1200s # %Oh -> expected: Jun 1200s # %Oh -> actual: Jun 1200s # %B -> expected: Juli 1200s # %B -> actual: Juli 1200s # %OB -> expected: August 1200s # %OB -> actual: August 1200s # %b -> expected: Sep 1200s # %b -> actual: Sep 1200s # %Ob -> expected: Okt 1200s # %Ob -> actual: Okt 1200s # %h -> expected: Nov 1200s # %h -> actual: Nov 1200s # %Oh -> expected: Dez 1200s # %Oh -> actual: Dez 1200s # %B -> expected: enero 1200s # %B -> actual: enero 1200s # %OB -> expected: febrero 1200s # %OB -> actual: febrero 1200s # %b -> expected: mar 1200s # %b -> actual: mar 1200s # %Ob -> expected: abr 1200s # %Ob -> actual: abr 1200s # %h -> expected: may 1200s # %h -> actual: may 1200s # %Oh -> expected: jun 1200s # %Oh -> actual: jun 1200s # %B -> expected: juillet 1200s # %B -> actual: juillet 1200s # %OB -> expected: août 1200s # %OB -> actual: août 1200s # %b -> expected: sept. 1200s # %b -> actual: sept. 1200s # %Ob -> expected: oct. 1200s # %Ob -> actual: oct. 1200s # %h -> expected: nov. 1200s # %h -> actual: nov. 1200s # %Oh -> expected: déc. 1200s # %Oh -> actual: déc. 1200s # %B -> expected: Ιανουαρίου 1200s # %B -> actual: Ιανουαρίου 1200s # %B -> expected: Φεβρουαρίου 1200s # %B -> actual: Φεβρουαρίου 1200s # %B -> expected: Μαρτίου 1200s # %B -> actual: Μαρτίου 1200s # %OB -> expected: Απρίλιος 1200s # %OB -> actual: Απρίλιος 1200s # %OB -> expected: Μάιος 1200s # %OB -> actual: Μάιος 1200s # %OB -> expected: Ιούνιος 1200s # %OB -> actual: Ιούνιος 1200s # %b -> expected: Ιουλ 1200s # %b -> actual: Ιουλ 1200s # %Ob -> expected: Αύγ 1200s # %Ob -> actual: Αύγ 1200s # %B -> expected: svibnja 1200s # %B -> actual: svibnja 1200s # %B -> expected: lipnja 1200s # %B -> actual: lipnja 1200s # %B -> expected: srpnja 1200s # %B -> actual: srpnja 1200s # %OB -> expected: Kolovoz 1200s # %OB -> actual: kolovoz 1200s # %OB -> expected: Rujan 1200s # %OB -> actual: rujan 1200s # %OB -> expected: Listopad 1200s # %OB -> actual: listopad 1200s # %b -> expected: Stu 1200s # %b -> actual: stu 1200s # %Ob -> expected: Pro 1200s # %Ob -> actual: pro 1200s # %B -> expected: sausio 1200s # %B -> actual: sausio 1200s # %B -> expected: vasario 1200s # %B -> actual: vasario 1200s # %B -> expected: kovo 1200s # %B -> actual: kovo 1200s # %OB -> expected: balandis 1200s # %OB -> actual: balandis 1200s # %OB -> expected: gegužė 1200s # %OB -> actual: gegužė 1200s # %OB -> expected: birželis 1200s # %OB -> actual: birželis 1200s # %b -> expected: liep. 1200s # %b -> actual: liep. 1200s # %Ob -> expected: rugp. 1200s # %Ob -> actual: rugp. 1200s # %B -> expected: maja 1200s # %B -> actual: maja 1200s # %B -> expected: czerwca 1200s # %B -> actual: czerwca 1200s # %B -> expected: lipca 1200s # %B -> actual: lipca 1200s # %OB -> expected: sierpień 1200s # %OB -> actual: sierpień 1200s # %OB -> expected: wrzesień 1200s # %OB -> actual: wrzesień 1200s # %OB -> expected: październik 1200s # %OB -> actual: październik 1200s # %b -> expected: lis 1200s # %b -> actual: lis 1200s # %Ob -> expected: gru 1200s # %Ob -> actual: gru 1200s # %B -> expected: января 1200s # %B -> actual: января 1200s # %B -> expected: февраля 1200s # %B -> actual: февраля 1200s # %B -> expected: марта 1200s # %B -> actual: марта 1200s # %OB -> expected: Апрель 1200s # %OB -> actual: Апрель 1200s # %OB -> expected: Май 1200s # %OB -> actual: Май 1200s # %OB -> expected: Июнь 1200s # %OB -> actual: Июнь 1200s # %b -> expected: июл 1200s # %b -> actual: июл 1200s # %Ob -> expected: авг 1200s # %Ob -> actual: авг 1200s # %b -> expected: мая 1200s # %b -> actual: мая 1200s # %Ob -> expected: май 1200s # %Ob -> actual: май 1200s ok 38 /GDateTime/month_names 1200s ok 39 /GDateTime/to_local 1200s ok 40 /GDateTime/to_unix 1200s ok 41 /GDateTime/to_timeval 1200s ok 42 /GDateTime/to_utc 1200s ok 43 /GDateTime/now_utc 1200s ok 44 /GDateTime/dst 1200s # Bug Reference: http://bugzilla.gnome.org/642935 1200s ok 45 /GDateTime/test_z 1202s ok 46 /GDateTime/test-all-dates 1202s # slow test /GDateTime/test-all-dates executed in 1.27 secs 1202s ok 47 /GDateTime/unix_usec 1202s # Start of new_from_unix tests 1202s # Bug Reference: http://bugzilla.gnome.org/782089 1202s ok 48 /GDateTime/new_from_unix/overflow 1202s # End of new_from_unix tests 1202s # Start of new_from_timeval tests 1202s # Bug Reference: http://bugzilla.gnome.org/782089 1202s # Maximum supported GTimeVal.tv_sec = 253402300799 1202s ok 49 /GDateTime/new_from_timeval/overflow 1202s # End of new_from_timeval tests 1202s # Start of new_from_iso8601 tests 1202s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 1202s # Vector 0: 1990-11-01T10:21:17Z 1202s # Vector 1: 19901101T102117Z 1202s # Vector 2: 1970-01-01T00:00:17.12Z 1202s # Vector 3: 1970-01-01T00:00:17.1234Z 1202s # Vector 4: 1970-01-01T00:00:17.123456Z 1202s # Vector 5: 1980-02-22T12:36:00+02:00 1202s # Vector 6: 1990-12-31T15:59:60-08:00 1202s # Vector 7: 1202s # Vector 8: x 1202s # Vector 9: 123x 1202s # Vector 10: 2001-10+x 1202s # Vector 11: 1980-02-22T 1202s # Vector 12: 2001-10-08Tx 1202s # Vector 13: 2001-10-08T10:11x 1202s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 1202s # Vector 15: 1980-02-22T10:36:00Zulu 1202s # Vector 16: 2T0+819855292164632335 1202s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 1202s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 1202s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 1202s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 1202s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 1202s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 1202s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 1202s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 1202s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 1202s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 1202s # Vector 27: 20180803T140805.446178377+0100 1202s # Vector 28: 21474836480803T140805.446178377+0100 1202s # Vector 29: 20181303T140805.446178377+0100 1202s # Vector 30: 20180003T140805.446178377+0100 1202s # Vector 31: 20180800T140805.446178377+0100 1202s # Vector 32: 20180832T140805.446178377+0100 1202s # Vector 33: 20180803T240805.446178377+0100 1202s # Vector 34: 20180803T146005.446178377+0100 1202s # Vector 35: 20180803T140863.446178377+0100 1202s # Vector 36: 20180803T140805.446178377+10000 1202s # Vector 37: -0005-01-01T00:00:00Z 1202s # Vector 38: 2018-08-06 1202s # Vector 39: 20180803T140805,446178377+0100 1202s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 1202s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 1202s # Vector 42: 1990-11-01T10:21:17 1202s # Vector 43: 1719W462 407777-07 1202s # Vector 44: 4011090 260528Z 1202s # Vector 45: 0000W011 228214-22 1202s ok 50 /GDateTime/new_from_iso8601/2 1202s # End of new_from_iso8601 tests 1202s # Start of format_mixed tests 1202s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1202s # %b -> expected: mar 1202s # %b -> actual: Mar 1202s # %B -> expected: march 1202s # %B -> actual: March 1202s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 1202s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1202s # %b -> expected: mar 1202s # %b -> actual: Mar 1202s # %B -> expected: march 1202s # %B -> actual: March 1202s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 1202s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1202s # %b -> expected: Mär 1202s # %b -> actual: Mär 1202s # %B -> expected: März 1202s # %B -> actual: März 1202s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 1202s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1202s # %b -> expected: Mär 1202s # %b -> actual: Mär 1202s # %B -> expected: März 1202s # %B -> actual: März 1202s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 1202s # End of format_mixed tests 1202s # Start of strftime tests 1202s # %r -> expected: (null) 1202s # %r -> actual: (null) 1202s ok 55 /GDateTime/strftime/error_handling 1202s # End of strftime tests 1202s # Start of eras tests 1202s # %Ec -> expected: 令和05年06月01日 00時00分00秒 1202s # %Ec -> actual: 令和05年06月01日 00時00分00秒 1202s # %EC -> expected: 令和 1202s # %EC -> actual: 令和 1202s # %Ex -> expected: 令和05年06月01日 1202s # %Ex -> actual: 令和05年06月01日 1202s # %EX -> expected: 00時00分00秒 1202s # %EX -> actual: 00時00分00秒 1202s # %Ey -> expected: 05 1202s # %Ey -> actual: 05 1202s # %EY -> expected: 令和05年 1202s # %EY -> actual: 令和05年 1202s # %Ec -> expected: 平成31年04月30日 00時00分00秒 1202s # %Ec -> actual: 平成31年04月30日 00時00分00秒 1202s # %EC -> expected: 平成 1202s # %EC -> actual: 平成 1202s # %Ex -> expected: 平成31年04月30日 1202s # %Ex -> actual: 平成31年04月30日 1202s # %EX -> expected: 00時00分00秒 1202s # %EX -> actual: 00時00分00秒 1202s # %Ey -> expected: 31 1202s # %Ey -> actual: 31 1202s # %EY -> expected: 平成31年 1202s # %EY -> actual: 平成31年 1202s # %Ec -> expected: 昭和元年12月25日 00時00分00秒 1202s # %Ec -> actual: 昭和元年12月25日 00時00分00秒 1202s # %EC -> expected: 昭和 1202s # %EC -> actual: 昭和 1202s # %Ex -> expected: 昭和元年12月25日 1202s # %Ex -> actual: 昭和元年12月25日 1202s # %EX -> expected: 00時00分00秒 1202s # %EX -> actual: 00時00分00秒 1202s # %Ey -> expected: 01 1202s # %Ey -> actual: 01 1202s # %EY -> expected: 昭和元年 1202s # %EY -> actual: 昭和元年 1202s ok 56 /GDateTime/eras/japan 1202s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 1202s # Vector 0: 1202s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 1202s # 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年 1202s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年 1202s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年 1202s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年 1202s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年 1202s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年 1202s # Vector 8: + 1202s # Vector 9: +: 1202s # Vector 10: +:: 1202s # Vector 11: +:200 1202s # Vector 12: +:2nonsense 1202s # Vector 13: +:2nonsense: 1202s # Vector 14: +:2: 1202s # Vector 15: +:2:: 1202s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年 1202s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年 1202s # Vector 18: +:2:2020:+*:令和:%EC%Ey年 1202s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年 1202s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年 1202s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年 1202s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年 1202s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年 1202s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年 1202s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年 1202s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年 1202s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年 1202s # Vector 28: +:2:2020/01/01 1202s # Vector 29: +:2:2020/01/01: 1202s # Vector 30: +:2:2020/01/01:: 1202s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年 1202s # Vector 32: +:2:2020/01/01:+* 1202s # Vector 33: +:2:2020/01/01:+*: 1202s # Vector 34: +:2:2020/01/01:+*:: 1202s # Vector 35: +:2:2020/01/01:+*:令和 1202s # Vector 36: +:2:2020/01/01:+*:令和: 1202s # Vector 37: +:2:2020/01/01:+*:令和:; 1202s ok 58 /GDateTime/eras/parsing 1202s # End of eras tests 1202s # End of GDateTime tests 1202s # Start of GTimeZone tests 1202s ok 59 /GTimeZone/find-interval 1202s ok 60 /GTimeZone/adjust-time 1202s ok 61 /GTimeZone/no-header 1202s ok - glib/gdatetime.test 1202s # Running test: glib/refstring.test 1202s ok 62 /GTimeZone/no-header-identifier 1202s ok 63 /GTimeZone/posix-parse 1202s # Bug Reference: http://bugzilla.gnome.org/697715 1202s ok 64 /GTimeZone/floating-point 1202s # System time zone identifier: Etc/UTC 1202s ok 65 /GTimeZone/identifier 1202s # Vector 0: -158400 1202s # Vector 1: -10000 1202s # Vector 2: -3600 1202s # Vector 3: -61 1202s # Vector 4: -60 1202s # Vector 5: -59 1202s # Vector 6: 0 1202s # Vector 7: 59 1202s # Vector 8: 60 1202s # Vector 9: 61 1202s # Vector 10: 3600 1202s # Vector 11: 10000 1202s # Vector 12: 158400 1202s ok 66 /GTimeZone/new-offset 1202s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 1202s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 1202s ok 67 /GTimeZone/parse-rfc8536 1202s # /GTimeZone/caching summary: GTimeZone instances are cached 1202s ok 68 /GTimeZone/caching 1202s # End of GTimeZone tests 1202s TAP version 14 1202s # random seed: R02S5389f68e8df6d153bcf88c12daf40f10 1202s 1..8 1202s # Start of refstring tests 1202s # s = 'hello, world' (0x1a07216082b0) 1202s ok 1 /refstring/base 1202s ok 2 /refstring/length 1202s ok 3 /refstring/length-auto 1202s ok 4 /refstring/length-nuls 1202s # s = 'hello, world' (0x1a0721608150) 1202s # p = s = 'hello, world' (0x1a0721608150) 1202s # releasing p[0x1a0721608150] ('hello, world') 1202s # p = 'goodbye, world' (0x1a07216082b0) 1202s # releasing p[0x1a07216082b0] ('goodbye, world') 1202s # releasing s[0x1a0721608150] ('hello, world') 1202s ok 5 /refstring/intern 1202s # /refstring/hash_equal summary: Test g_ref_string_equal() in GHashTable 1202s ok 6 /refstring/hash_equal 1202s # /refstring/equal summary: Test g_ref_string_equal() standalone 1202s ok 7 /refstring/equal 1203s ok 8 /refstring/intern-thread-safety 1203s # slow test /refstring/intern-thread-safety executed in 1.44 secs 1203s # End of refstring tests 1203s ok - glib/refstring.test 1203s # Running test: glib/filter-streams.test 1203s TAP version 14 1203s # random seed: R02Sf728b6ee27bcf4a16e5b77552c3d0b0c 1203s 1..4 1203s # Start of filter-stream tests 1203s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 1203s ok 1 /filter-stream/input 1203s ok 2 /filter-stream/output 1203s ok 3 /filter-stream/async-input 1203s ok 4 /filter-stream/async-output 1203s # End of filter-stream tests 1203s ok - glib/filter-streams.test 1203s # Running test: glib/tls-bindings.test 1203s TAP version 14 1203s # random seed: R02Sd25e0fe9ef5c5be0c2d8802ac968753f 1203s 1..2 1203s # Start of tls-connection tests 1203s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 1203s ok 1 /tls-connection/get-tls-channel-binding 1203s ok 2 /tls-connection/get-dtls-channel-binding 1203s # End of tls-connection tests 1203s ok - glib/tls-bindings.test 1203s # Running test: glib/thumbnail-verification.test 1203s ok - glib/thumbnail-verification.test 1203s # Running test: glib/spawn-singlethread.test 1203s ok - glib/spawn-singlethread.test 1203s # Running test: glib/markup-collect.test 1203s TAP version 14 1203s # random seed: R02S177b07baa4322c310b6a894b90e74fa7 1203s 1..1 1203s # Start of png-thumbs tests 1203s ok 1 /png-thumbs/validity 1203s # End of png-thumbs tests 1203s TAP version 14 1203s # random seed: R02S2115211c9b23077ec56427e473e369a5 1203s 1..9 1203s # Start of gthread tests 1203s ok 1 /gthread/spawn-single-sync 1203s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 1203s ok 2 /gthread/spawn-stderr-socket 1203s ok 3 /gthread/spawn-single-async 1203s # thread 1 1203s # thread 1 1203s ok 4 /gthread/spawn-single-async-with-fds 1203s ok 5 /gthread/spawn-async-with-invalid-fds 1203s ok 6 /gthread/spawn-script 1203s ok 7 /gthread/spawn-posix-spawn 1203s # Start of spawn tests 1203s ok 8 /gthread/spawn/nonexistent 1203s # FD map: 1203s # • 5 → 15 1203s # • 6 → 16 1203s # • 7 → 17 1203s # • 8 → 18 1203s # • 9 → 19 1203s # • 10 → 20 1203s # • 11 → 21 1203s # • 12 → 22 1203s # • 13 → 23 1203s # • 3 → 13 1203s ok 9 /gthread/spawn/fd-assignment-clash 1203s # End of spawn tests 1203s # End of gthread tests 1203s TAP version 14 1203s # random seed: R02Sbfdc2ce36d59c3de64c95ff2a6aefe7a 1203s 1..21 1203s # Start of markup tests 1203s # Start of collect tests 1203s ok 1 /markup/collect/0 1203s ok 2 /markup/collect/1 1203s ok 3 /markup/collect/2 1203s ok 4 /markup/collect/3 1203s ok 5 /markup/collect/4 1203s ok 6 /markup/collect/5 1203s ok 7 /markup/collect/6 1203s ok 8 /markup/collect/7 1203s ok 9 /markup/collect/8 1203s ok 10 /markup/collect/9 1203s ok - glib/markup-collect.test 1203s # Running test: glib/repository-search-paths.test 1203s ok 11 /markup/collect/10 1203s ok 12 /markup/collect/11 1203s ok 13 /markup/collect/12 1203s ok 14 /markup/collect/13 1203s ok 15 /markup/collect/14 1203s ok 16 /markup/collect/15 1203s ok 17 /markup/collect/16 1203s ok 18 /markup/collect/17 1203s ok 19 /markup/collect/18 1203s ok 20 /markup/collect/19 1203s ok 21 /markup/collect/cleanup 1203s # End of collect tests 1203s # End of markup tests 1203s TAP version 14 1203s # random seed: R02S3f9d3f0d5b32082ec4c860a32828d4fd 1203s 1..4 1203s # Start of repository tests 1203s # Start of search-paths tests 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_6V43B3/repository/search-paths/default/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_6V43B3/repository/search-paths/default/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_6V43B3/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_6V43B3/repository/search-paths/default/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_6V43B3/repository/search-paths/default/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_6V43B3/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_6V43B3/repository/search-paths/default/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_6V43B3/repository/search-paths/default/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_6V43B3/repository/search-paths/default/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_6V43B3/repository/search-paths/default/.dirs/runtime 1203s ok 1 /repository/search-paths/default 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_6V43B3/repository/search-paths/prepend/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_6V43B3/repository/search-paths/prepend/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_6V43B3/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_6V43B3/repository/search-paths/prepend/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_6V43B3/repository/search-paths/prepend/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_6V43B3/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_6V43B3/repository/search-paths/prepend/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_6V43B3/repository/search-paths/prepend/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_6V43B3/repository/search-paths/prepend/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_6V43B3/repository/search-paths/prepend/.dirs/runtime 1203s ok 2 /repository/search-paths/prepend 1203s # End of search-paths tests 1203s # Start of library-paths tests 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_6V43B3/repository/library-paths/default/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_6V43B3/repository/library-paths/default/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_6V43B3/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_6V43B3/repository/library-paths/default/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_6V43B3/repository/library-paths/default/.dirs/config 1203s ok - glib/repository-search-paths.test 1203s # Running test: glib/base64.test 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_6V43B3/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_6V43B3/repository/library-paths/default/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_6V43B3/repository/library-paths/default/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_6V43B3/repository/library-paths/default/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_6V43B3/repository/library-paths/default/.dirs/runtime 1203s ok 3 /repository/library-paths/default 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_6V43B3/repository/library-paths/prepend/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_6V43B3/repository/library-paths/prepend/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_6V43B3/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_6V43B3/repository/library-paths/prepend/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_6V43B3/repository/library-paths/prepend/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_6V43B3/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_6V43B3/repository/library-paths/prepend/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_6V43B3/repository/library-paths/prepend/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_6V43B3/repository/library-paths/prepend/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_6V43B3/repository/library-paths/prepend/.dirs/runtime 1203s ok 4 /repository/library-paths/prepend 1203s # End of library-paths tests 1203s # End of repository tests 1203s ok - glib/base64.test 1203s # Running test: glib/tree.test 1203s TAP version 14 1203s # random seed: R02Sa1e8f83d84a7259f0d9db114e74fb6be 1203s 1..28 1203s # Start of base64 tests 1203s ok 1 /base64/encode 1203s ok 2 /base64/decode 1203s ok 3 /base64/decode-inplace 1203s ok 4 /base64/encode-decode 1203s # Start of full tests 1203s ok 5 /base64/full/1 1203s ok 6 /base64/full/2 1203s ok 7 /base64/full/3 1203s ok 8 /base64/full/4 1203s # End of full tests 1203s # Start of encode tests 1203s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1203s ok 9 /base64/encode/empty 1203s # Start of incremental tests 1203s # Start of small-block tests 1203s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1203s ok 10 /base64/encode/incremental/small-block/1 1203s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1203s ok 11 /base64/encode/incremental/small-block/2 1203s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1203s ok 12 /base64/encode/incremental/small-block/3 1203s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 1203s ok 13 /base64/encode/incremental/small-block/4 1203s # End of small-block tests 1203s # End of incremental tests 1203s # End of encode tests 1203s # Start of incremental tests 1203s # Start of nobreak tests 1203s ok 14 /base64/incremental/nobreak/1 1203s ok 15 /base64/incremental/nobreak/2 1203s ok 16 /base64/incremental/nobreak/3 1203s ok 17 /base64/incremental/nobreak/4-a 1203s ok 18 /base64/incremental/nobreak/4-b 1203s ok 19 /base64/incremental/nobreak/4-c 1203s # End of nobreak tests 1203s # Start of break tests 1203s ok 20 /base64/incremental/break/1 1203s ok 21 /base64/incremental/break/2 1203s ok 22 /base64/incremental/break/3 1203s # End of break tests 1203s # Start of smallblock tests 1203s ok 23 /base64/incremental/smallblock/1 1203s ok 24 /base64/incremental/smallblock/2 1203s ok 25 /base64/incremental/smallblock/3 1203s ok 26 /base64/incremental/smallblock/4 1203s # End of smallblock tests 1203s # End of incremental tests 1203s # Start of decode tests 1203s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 1203s ok 27 /base64/decode/empty 1203s # End of decode tests 1203s # Start of encode-decode tests 1203s # Vector 0: 1203s # Vector 1: f 1203s # Vector 2: fo 1203s # Vector 3: foo 1203s # Vector 4: foob 1203s # Vector 5: fooba 1203s # Vector 6: foobar 1203s ok 28 /base64/encode-decode/rfc4648 1203s # End of encode-decode tests 1203s # End of base64 tests 1203s TAP version 14 1203s ok - glib/tree.test 1203s # Running test: glib/mount-operation.test 1203s ok - glib/mount-operation.test 1203s # Running test: glib/autoptr.test 1203s ok - glib/autoptr.test 1203s # Running test: glib/debugcontroller.test 1203s # random seed: R02Sa3e7e1b3cc6afb037f2ae7bc23bd4e1e 1203s 1..7 1203s # Start of tree tests 1203s ok 1 /tree/search 1203s ok 2 /tree/remove 1203s ok 3 /tree/destroy 1203s ok 4 /tree/traverse 1203s ok 5 /tree/insert 1203s ok 6 /tree/bounds 1203s ok 7 /tree/remove-all 1203s # End of tree tests 1203s TAP version 14 1203s # random seed: R02S539b00c61af1e8acf0062ddb7a872be4 1203s 1..2 1203s # Start of mount-operation tests 1203s ok 1 /mount-operation/construction 1203s ok 2 /mount-operation/properties 1203s # End of mount-operation tests 1203s TAP version 14 1203s # random seed: R02Sbe189b8224aea30a9a0d4bf634bceeb5 1203s 1..6 1203s # Start of autoptr tests 1203s ok 1 /autoptr/autoptr 1203s ok 2 /autoptr/autoptr_steal 1203s ok 3 /autoptr/autolist 1203s ok 4 /autoptr/autoslist 1203s ok 5 /autoptr/autoqueue 1203s ok 6 /autoptr/autoclass 1203s # End of autoptr tests 1203s TAP version 14 1203s # random seed: R02Sbe8f762ae4cda768ba864616b79a44d4 1203s 1..3 1203s # Start of debug-controller tests 1203s # Start of dbus tests 1203s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1203s # GLib-GIO-DEBUG: Debug output enabled 1203s # GLib-GIO-DEBUG: Debug output disabled 1203s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1203s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1203s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1203s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1203s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1203s ok 1 /debug-controller/dbus/basic 1203s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1203s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1203s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1203s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1203s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1203s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1203s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1203s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1203s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1203s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1203s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1203s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1203s ok 2 /debug-controller/dbus/duplicate 1203s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1203s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 1203s # End of dbus tests 1203s # End of debug-controller tests 1203s ok - glib/debugcontroller.test 1203s # Running test: glib/signal-handler.test 1203s ok - glib/signal-handler.test 1203s # Running test: glib/portal-support-flatpak-gsettings-only.test 1203s TAP version 14 1203s # random seed: R02S58a082820cb8e77514f9accd7661b1fe 1203s 1..7 1203s # Start of signal tests 1203s # Start of handler tests 1203s # min perf: connected 1 handlers in 0.000 seconds 1203s ok 1 /signal/handler/connect-many 1203s # min perf: disconnected 1 handlers in 0.000 seconds 1203s ok 2 /signal/handler/disconnect-many-ordered 1203s # min perf: disconnected 1 handlers in 0.000 seconds 1203s ok 3 /signal/handler/disconnect-many-inverse 1203s # min perf: disconnected 1 handlers in 0.000 seconds 1203s ok 4 /signal/handler/disconnect-many-random 1203s # min perf: disconnected 1 handlers in 0.000 seconds 1203s ok 5 /signal/handler/disconnect-2-signals 1203s # min perf: disconnected 1 handlers in 0.000 seconds 1203s ok 6 /signal/handler/disconnect-2-objects 1203s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 1203s ok 7 /signal/handler/block-many 1203s # End of handler tests 1203s # End of signal tests 1203s ok - glib/portal-support-flatpak-gsettings-only.test 1203s # Running test: glib/fileutils.test 1203s TAP version 14 1203s # random seed: R02Sa5fc8d051a90e30f31e3fd6696bfe9e9 1203s 1..1 1203s # Start of portal-support tests 1203s # Start of flatpak tests 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_DL4ZB3/portal-support/flatpak/gsettings/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_DL4ZB3/portal-support/flatpak/gsettings/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_DL4ZB3/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_DL4ZB3/portal-support/flatpak/gsettings/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_DL4ZB3/portal-support/flatpak/gsettings/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_DL4ZB3/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_DL4ZB3/portal-support/flatpak/gsettings/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_DL4ZB3/portal-support/flatpak/gsettings/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_DL4ZB3/portal-support/flatpak/gsettings/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_DL4ZB3/portal-support/flatpak/gsettings/.dirs/runtime 1203s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_DL4ZB3/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 1203s ok 1 /portal-support/flatpak/gsettings 1203s # End of flatpak tests 1203s # End of portal-support tests 1203s TAP version 14 1203s # random seed: R02S1450be98fc73df20a16430d96535d43d 1203s 1..27 1203s # Start of fileutils tests 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/paths/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/paths/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_1Q3ZB3/fileutils/paths/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/paths/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_1Q3ZB3/fileutils/paths/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/paths/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/paths/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_1Q3ZB3/fileutils/paths/.dirs/runtime 1203s ok 1 /fileutils/paths 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/build-path/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/build-path/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_1Q3ZB3/fileutils/build-path/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/build-path/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_1Q3ZB3/fileutils/build-path/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/build-path/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/build-path/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_1Q3ZB3/fileutils/build-path/.dirs/runtime 1203s ok 2 /fileutils/build-path 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/build-pathv/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/build-pathv/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_1Q3ZB3/fileutils/build-pathv/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/build-pathv/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_1Q3ZB3/fileutils/build-pathv/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/build-pathv/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/build-pathv/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_1Q3ZB3/fileutils/build-pathv/.dirs/runtime 1203s ok 3 /fileutils/build-pathv 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/build-filename/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/build-filename/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_1Q3ZB3/fileutils/build-filename/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/build-filename/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_1Q3ZB3/fileutils/build-filename/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/build-filename/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/build-filename/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_1Q3ZB3/fileutils/build-filename/.dirs/runtime 1203s ok 4 /fileutils/build-filename 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/build-filenamev/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/build-filenamev/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_1Q3ZB3/fileutils/build-filenamev/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/build-filenamev/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_1Q3ZB3/fileutils/build-filenamev/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/build-filenamev/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/build-filenamev/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_1Q3ZB3/fileutils/build-filenamev/.dirs/runtime 1203s ok 5 /fileutils/build-filenamev 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/mkdir-with-parents/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/mkdir-with-parents/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_1Q3ZB3/fileutils/mkdir-with-parents/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/mkdir-with-parents/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_1Q3ZB3/fileutils/mkdir-with-parents/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/mkdir-with-parents/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/mkdir-with-parents/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_1Q3ZB3/fileutils/mkdir-with-parents/.dirs/runtime 1203s # We do not have CAP_DAC_OVERRIDE or equivalent 1203s # Checking g_mkdir_with_parents() in subdir ./hum/ 1203s # Checking g_mkdir_with_parents() in subdir ./hii///haa/hee/ 1203s ok 6 /fileutils/mkdir-with-parents 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/mkdir-with-parents-permission/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/mkdir-with-parents-permission/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_1Q3ZB3/fileutils/mkdir-with-parents-permission/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/mkdir-with-parents-permission/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_1Q3ZB3/fileutils/mkdir-with-parents-permission/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/mkdir-with-parents-permission/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/mkdir-with-parents-permission/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_1Q3ZB3/fileutils/mkdir-with-parents-permission/.dirs/runtime 1203s # We do not have CAP_DAC_OVERRIDE or equivalent 1203s ok 7 /fileutils/mkdir-with-parents-permission 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/format-size-for-display/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/format-size-for-display/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_1Q3ZB3/fileutils/format-size-for-display/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/format-size-for-display/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_1Q3ZB3/fileutils/format-size-for-display/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/format-size-for-display/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/format-size-for-display/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_1Q3ZB3/fileutils/format-size-for-display/.dirs/runtime 1203s ok 8 /fileutils/format-size-for-display 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/errors/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/errors/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_1Q3ZB3/fileutils/errors/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/errors/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_1Q3ZB3/fileutils/errors/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/errors/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/errors/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_1Q3ZB3/fileutils/errors/.dirs/runtime 1203s ok 9 /fileutils/errors 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/basename/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/basename/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_1Q3ZB3/fileutils/basename/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/basename/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_1Q3ZB3/fileutils/basename/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/basename/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/basename/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_1Q3ZB3/fileutils/basename/.dirs/runtime 1203s ok 10 /fileutils/basename 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/get-basename/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/get-basename/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_1Q3ZB3/fileutils/get-basename/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/get-basename/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_1Q3ZB3/fileutils/get-basename/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/get-basename/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/get-basename/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_1Q3ZB3/fileutils/get-basename/.dirs/runtime 1203s ok 11 /fileutils/get-basename 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/dirname/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/dirname/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_1Q3ZB3/fileutils/dirname/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/dirname/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_1Q3ZB3/fileutils/dirname/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/dirname/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/dirname/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_1Q3ZB3/fileutils/dirname/.dirs/runtime 1203s ok 12 /fileutils/dirname 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/dir-make-tmp/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/dir-make-tmp/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_1Q3ZB3/fileutils/dir-make-tmp/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/dir-make-tmp/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_1Q3ZB3/fileutils/dir-make-tmp/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/dir-make-tmp/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/dir-make-tmp/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_1Q3ZB3/fileutils/dir-make-tmp/.dirs/runtime 1203s ok 13 /fileutils/dir-make-tmp 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/file-open-tmp/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/file-open-tmp/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_1Q3ZB3/fileutils/file-open-tmp/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/file-open-tmp/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_1Q3ZB3/fileutils/file-open-tmp/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/file-open-tmp/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/file-open-tmp/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_1Q3ZB3/fileutils/file-open-tmp/.dirs/runtime 1203s ok 14 /fileutils/file-open-tmp 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/file-test/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/file-test/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_1Q3ZB3/fileutils/file-test/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/file-test/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_1Q3ZB3/fileutils/file-test/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/file-test/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/file-test/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_1Q3ZB3/fileutils/file-test/.dirs/runtime 1203s ok 15 /fileutils/file-test 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/mkstemp/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/mkstemp/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_1Q3ZB3/fileutils/mkstemp/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/mkstemp/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_1Q3ZB3/fileutils/mkstemp/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/mkstemp/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/mkstemp/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_1Q3ZB3/fileutils/mkstemp/.dirs/runtime 1203s ok 16 /fileutils/mkstemp 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/mkdtemp/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/mkdtemp/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_1Q3ZB3/fileutils/mkdtemp/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/mkdtemp/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_1Q3ZB3/fileutils/mkdtemp/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/mkdtemp/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/mkdtemp/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_1Q3ZB3/fileutils/mkdtemp/.dirs/runtime 1203s ok 17 /fileutils/mkdtemp 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/get-contents/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/get-contents/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_1Q3ZB3/fileutils/get-contents/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/get-contents/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_1Q3ZB3/fileutils/get-contents/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/get-contents/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/get-contents/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_1Q3ZB3/fileutils/get-contents/.dirs/runtime 1203s ok 18 /fileutils/get-contents 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/get-contents-large-file/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/get-contents-large-file/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_1Q3ZB3/fileutils/get-contents-large-file/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/get-contents-large-file/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_1Q3ZB3/fileutils/get-contents-large-file/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/get-contents-large-file/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/get-contents-large-file/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_1Q3ZB3/fileutils/get-contents-large-file/.dirs/runtime 1203s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/set-contents/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/set-contents/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_1Q3ZB3/fileutils/set-contents/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/set-contents/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_1Q3ZB3/fileutils/set-contents/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/set-contents/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/set-contents/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_1Q3ZB3/fileutils/set-contents/.dirs/runtime 1203s ok 20 /fileutils/set-contents 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/set-contents-full/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/set-contents-full/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_1Q3ZB3/fileutils/set-contents-full/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/set-contents-full/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_1Q3ZB3/fileutils/set-contents-full/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/set-contents-full/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/set-contents-full/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_1Q3ZB3/fileutils/set-contents-full/.dirs/runtime 1203s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 1203s # Flags 0 and test 0 1203s # Flags 0 and test 1 1203s # Flags 0 and test 2 1203s # Flags 0 and test 3 1203s # Flags 0 and test 4 1203s # Flags 0 and test 5 1203s # Flags 0 and test 6 1203s # Flags 1 and test 0 1203s # Flags 1 and test 1 1203s # Flags 1 and test 2 1203s # Flags 1 and test 3 1203s # Flags 1 and test 4 1203s # Flags 1 and test 5 1203s # Flags 1 and test 6 1203s # Flags 2 and test 0 1203s # Flags 2 and test 1 1203s # Flags 2 and test 2 1203s # Flags 2 and test 3 1203s # Flags 2 and test 4 1203s # Flags 2 and test 5 1203s # Flags 2 and test 6 1203s # Flags 3 and test 0 1203s # Flags 3 and test 1 1203s # Flags 3 and test 2 1203s # Flags 3 and test 3 1203s # Flags 3 and test 4 1203s # Flags 3 and test 5 1203s # Flags 3 and test 6 1203s # Flags 4 and test 0 1203s # Flags 4 and test 1 1203s # Flags 4 and test 2 1203s # Flags 4 and test 3 1203s # Flags 4 and test 4 1203s # Flags 4 and test 5 1203s # Flags 4 and test 6 1203s # Flags 5 and test 0 1203s # Flags 5 and test 1 1203s # Flags 5 and test 2 1203s # Flags 5 and test 3 1203s # Flags 5 and test 4 1203s # Flags 5 and test 5 1203s # Flags 5 and test 6 1203s # Flags 6 and test 0 1203s # Flags 6 and test 1 1203s # Flags 6 and test 2 1203s # Flags 6 and test 3 1203s # Flags 6 and test 4 1203s # Flags 6 and test 5 1203s # Flags 6 and test 6 1203s ok 21 /fileutils/set-contents-full 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/read-link/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/read-link/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_1Q3ZB3/fileutils/read-link/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/read-link/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_1Q3ZB3/fileutils/read-link/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/read-link/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/read-link/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_1Q3ZB3/fileutils/read-link/.dirs/runtime 1203s ok 22 /fileutils/read-link 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/stdio-wrappers/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/stdio-wrappers/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_1Q3ZB3/fileutils/stdio-wrappers/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/stdio-wrappers/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_1Q3ZB3/fileutils/stdio-wrappers/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/stdio-wrappers/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/stdio-wrappers/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_1Q3ZB3/fileutils/stdio-wrappers/.dirs/runtime 1203s # We do not have CAP_DAC_OVERRIDE or equivalent 1203s ok 23 /fileutils/stdio-wrappers 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/fopen-modes/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/fopen-modes/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_1Q3ZB3/fileutils/fopen-modes/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/fopen-modes/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_1Q3ZB3/fileutils/fopen-modes/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/fopen-modes/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/fopen-modes/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_1Q3ZB3/fileutils/fopen-modes/.dirs/runtime 1203s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 1203s # Testing fopen() mode 'w' 1203s # Testing fopen() mode 'r' 1203s # Testing fopen() mode 'a' 1203s # Testing fopen() mode 'w+' 1203s # Testing fopen() mode 'r+' 1203s # Testing fopen() mode 'a+' 1203s # Testing fopen() mode 'wb' 1203s # Testing fopen() mode 'rb' 1203s # Testing fopen() mode 'ab' 1203s # Testing fopen() mode 'w+b' 1203s # Testing fopen() mode 'r+b' 1203s # Testing fopen() mode 'a+b' 1203s # Testing fopen() mode 'wb+' 1203s # Testing fopen() mode 'rb+' 1203s # Testing fopen() mode 'ab+' 1203s # Testing fopen() mode 'we' 1203s # Testing fopen() mode 're' 1203s # Testing fopen() mode 'ae' 1203s # Testing fopen() mode 'w+e' 1203s # Testing fopen() mode 'r+e' 1203s # Testing fopen() mode 'a+e' 1203s # Testing fopen() mode 'wbe' 1203s # Testing fopen() mode 'rbe' 1203s # Testing fopen() mode 'abe' 1203s # Testing fopen() mode 'w+be' 1203s # Testing fopen() mode 'r+be' 1203s # Testing fopen() mode 'a+be' 1203s # Testing fopen() mode 'wb+e' 1203s # Testing fopen() mode 'rb+e' 1203s # Testing fopen() mode 'ab+e' 1203s # Testing fopen() mode 'web' 1203s # Testing fopen() mode 'reb' 1203s # Testing fopen() mode 'aeb' 1203s # Testing fopen() mode 'w+eb' 1203s # Testing fopen() mode 'r+eb' 1203s # Testing fopen() mode 'a+eb' 1203s # Testing fopen() mode 'web+' 1203s # Testing fopen() mode 'reb+' 1203s # Testing fopen() mode 'aeb+' 1203s ok 24 /fileutils/fopen-modes 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/clear-fd/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/clear-fd/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_1Q3ZB3/fileutils/clear-fd/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/clear-fd/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_1Q3ZB3/fileutils/clear-fd/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/clear-fd/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/clear-fd/.dirs/state 1203s ok - glib/fileutils.test 1203s # Running test: glib/socket-address.test 1203s ok - glib/socket-address.test 1203s # Running test: glib/queue.test 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_1Q3ZB3/fileutils/clear-fd/.dirs/runtime 1203s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 1203s # Will be closed by autocleanup: 3, -42 1203s # Testing error handling 1203s ok 25 /fileutils/clear-fd 1203s # Start of set-contents-full tests 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/set-contents-full/read-only-file/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/set-contents-full/read-only-file/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_1Q3ZB3/fileutils/set-contents-full/read-only-file/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/set-contents-full/read-only-file/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_1Q3ZB3/fileutils/set-contents-full/read-only-file/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/set-contents-full/read-only-file/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/set-contents-full/read-only-file/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_1Q3ZB3/fileutils/set-contents-full/read-only-file/.dirs/runtime 1203s # We do not have CAP_DAC_OVERRIDE or equivalent 1203s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 1203s ok 26 /fileutils/set-contents-full/read-only-file 1203s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/set-contents-full/read-only-directory/.dirs/home 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/set-contents-full/read-only-directory/.dirs/cache 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_1Q3ZB3/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/set-contents-full/read-only-directory/.dirs/config 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_1Q3ZB3/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_1Q3ZB3/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/set-contents-full/read-only-directory/.dirs/data 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_1Q3ZB3/fileutils/set-contents-full/read-only-directory/.dirs/state 1203s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_1Q3ZB3/fileutils/set-contents-full/read-only-directory/.dirs/runtime 1203s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 1203s # Flags 0 1203s # We do not have CAP_DAC_OVERRIDE or equivalent 1203s # Flags 1 1203s # We do not have CAP_DAC_OVERRIDE or equivalent 1203s # Flags 2 1203s # We do not have CAP_DAC_OVERRIDE or equivalent 1203s # Flags 3 1203s # We do not have CAP_DAC_OVERRIDE or equivalent 1203s # Flags 4 1203s # We do not have CAP_DAC_OVERRIDE or equivalent 1203s # Flags 5 1203s # We do not have CAP_DAC_OVERRIDE or equivalent 1203s # Flags 6 1203s # We do not have CAP_DAC_OVERRIDE or equivalent 1203s ok 27 /fileutils/set-contents-full/read-only-directory 1203s # End of set-contents-full tests 1203s # Start of clear-fd tests 1203s # Start of subprocess tests 1203s # End of subprocess tests 1203s # End of clear-fd tests 1203s # End of fileutils tests 1203s Unable to clean up temporary directory /tmp/test_fileutils_1Q3ZB3/glib-file-set-contents-full-rodir-IE70B3: Directory not empty 1203s Unable to clean up temporary directory /tmp/test_fileutils_1Q3ZB3/glib-file-set-contents-full-rodir-NL50B3: Directory not empty 1203s Unable to clean up temporary directory /tmp/test_fileutils_1Q3ZB3/glib-file-set-contents-full-rodir-UFL1B3: Directory not empty 1203s Unable to clean up temporary directory /tmp/test_fileutils_1Q3ZB3/glib-file-set-contents-full-rodir-YB60B3: Directory not empty 1203s Unable to clean up temporary directory /tmp/test_fileutils_1Q3ZB3/glib-file-set-contents-full-rodir-89J1B3: Directory not empty 1203s Unable to clean up temporary directory /tmp/test_fileutils_1Q3ZB3/glib-file-set-contents-full-rodir-HL40B3: Directory not empty 1203s Unable to clean up temporary directory /tmp/test_fileutils_1Q3ZB3/glib-file-set-contents-full-rodir-G740B3: Directory not empty 1203s Unable to clean up temporary directory /tmp/test_fileutils_1Q3ZB3: Directory not empty 1203s TAP version 14 1203s # random seed: R02S85391d711d33ff9c49364b58e019ce2b 1203s 1..2 1203s # Start of socket tests 1203s # Start of address tests 1203s # Start of unix tests 1203s ok 1 /socket/address/unix/construct 1203s ok 2 /socket/address/unix/to-string 1203s # End of unix tests 1203s # End of address tests 1203s # End of socket tests 1203s TAP version 14 1203s # random seed: R02S233463022e75112bc8300738e46ad701 1203s 1..12 1203s # Start of queue tests 1203s ok 1 /queue/basic 1203s ok 2 /queue/copy 1203s ok 3 /queue/off-by-one 1203s ok 4 /queue/find-custom 1203s ok 5 /queue/static 1203s ok 6 /queue/clear 1203s ok 7 /queue/free-full 1203s ok 8 /queue/clear-full 1203s ok 9 /queue/insert-sibling-link 1203s ok 10 /queue/push-nth-link 1203s # Start of clear-full tests 1203s ok 11 /queue/clear-full/noop 1203s # End of clear-full tests 1203s # Start of random tests 1203s ok 12 /queue/random/seed:2062715585 1203s # End of random tests 1203s # End of queue tests 1203s ok - glib/queue.test 1203s # Running test: glib/bytes.test 1203s TAP version 14 1203s # random seed: R02S4ef09de0dd3783dcbbde9b2a11b3d5d3 1203s 1..21 1203s # Start of bytes tests 1203s ok 1 /bytes/new 1203s ok 2 /bytes/new-take 1203s ok 3 /bytes/new-static 1203s ok 4 /bytes/new-with-free-func 1203s ok 5 /bytes/new-from-bytes 1203s ok 6 /bytes/new-from-bytes-slice 1203s ok 7 /bytes/new-from-bytes-shared-ref 1203s ok 8 /bytes/hash 1203s ok 9 /bytes/equal 1203s ok 10 /bytes/compare 1203s ok 11 /bytes/null 1203s ok 12 /bytes/get-region 1203s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 1203s ok 13 /bytes/unref-null 1203s # Start of to-data tests 1203s ok 14 /bytes/to-data/transferred 1203s ok 15 /bytes/to-data/two-refs 1203s ok 16 /bytes/to-data/non-malloc 1203s ok 17 /bytes/to-data/different-free-func 1203s # End of to-data tests 1203s # Start of to-array tests 1203s ok 18 /bytes/to-array/transferred 1203s ok 19 /bytes/to-array/two-refs 1203s ok 20 /bytes/to-array/non-malloc 1203s # Start of transferred tests 1203s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 1203s ok 21 /bytes/to-array/transferred/oversize 1203s # End of transferred tests 1203s # End of to-array tests 1203s # End of bytes tests 1203s ok - glib/bytes.test 1203s # Running test: glib/socket-service.test 1203s TAP version 14 1203s # random seed: R02S07b8481d91054efa1346eebec4b546e7 1203s 1..4 1203s # Start of socket-service tests 1203s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1203s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xa62ed207e20 and GSocketClientAsyncConnectData 0xa62ed202ae0 1203s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1203s ok 1 /socket-service/start-stop 1203s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xa62ed20beb0 and GSocketClientAsyncConnectData 0xa62ed20bb10 1203s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1203s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1203s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xa62ed20be30 for GSocketClientAsyncConnectData 0xa62ed202ae0 1203s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1203s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1203s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1203s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1203s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1203s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xa62ed20be30 for GSocketClientAsyncConnectData 0xa62ed20bb10 1203s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1203s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1203s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1203s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1203s ok 2 /socket-service/read_write_async 1203s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xa62ed20beb0 and GSocketClientAsyncConnectData 0xa62ed20f590 1203s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1203s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1203s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xa62ed20e9f0 for GSocketClientAsyncConnectData 0xa62ed20f590 1203s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1203s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1203s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1203s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1203s ok 3 /socket-service/read_writev_async 1203s # Start of threaded tests 1203s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 1203s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xa62ed200650 and GSocketClientAsyncConnectData 0xa62ed20bb10 1203s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1203s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1203s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xa62ed20f750 for GSocketClientAsyncConnectData 0xa62ed20bb10 1203s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1203s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1203s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1203s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1203s ok 4 /socket-service/threaded/712570 1203s # End of threaded tests 1203s # End of socket-service tests 1203s ok - glib/socket-service.test 1203s # Running test: glib/performance-threaded.test 1203s Running test "liststore-is-a" 1204s # Executing: glib/performance-threaded.test 1204s 2368 runs, min/avg/max = 0.416/0.422/0.738 ms 1204s Running test "liststore-interface-peek" 1206s 2867 runs, min/avg/max = 0.347/0.349/0.467 ms 1206s Running test "liststore-interface-peek-same" 1206s 2864 runs, min/avg/max = 0.347/0.349/0.618 ms 1206s ok - glib/performance-threaded.test 1206s # Running test: glib/proxy-test.test 1206s TAP version 14 1206s # random seed: R02Sa412ad34273116acb55e89117c5edbec 1206s 1..11 1206s # Start of proxy tests 1206s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ‘gio-proxy-resolver’ 1206s ok 1 /proxy/direct_sync 1206s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1206s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1709e4dbdb00 and GSocketClientAsyncConnectData 0x1709e4dbd020 1206s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1206s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1206s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1709e4dbe620 for GSocketClientAsyncConnectData 0x1709e4dbd020 1206s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1206s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1206s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1206s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1206s ok 2 /proxy/direct_async 1206s ok 3 /proxy/single_sync 1206s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1206s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1709e4dbe0e0 and GSocketClientAsyncConnectData 0x1709e4dbd020 1206s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1206s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1206s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1709e4dbf780 for GSocketClientAsyncConnectData 0x1709e4dbd020 1206s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1206s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1206s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1206s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1206s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1207s ok 4 /proxy/single_async 1207s ok 5 /proxy/multiple_sync 1207s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1207s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1709e4dbe3d0 and GSocketClientAsyncConnectData 0x1709e4dbe360 1207s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1207s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1207s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1709e4dbfcc0 for GSocketClientAsyncConnectData 0x1709e4dbe360 1207s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1207s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1207s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1207s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1207s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1207s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1207s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1709e4dbfc60 for GSocketClientAsyncConnectData 0x1709e4dbe360 1207s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1207s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1207s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1207s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1207s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1207s ok 6 /proxy/multiple_async 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1207s ok 7 /proxy/invalid-uris-sync 1207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 1207s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1207s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1709e4dbdfc0 and GSocketClientAsyncConnectData 0x1709e4dbfe50 1207s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1207s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1207s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1207s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1207s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1207s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1709e4dbe0e0 and GSocketClientAsyncConnectData 0x1709e4dbe360 1207s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1207s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1207s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 1207s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 1207s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1207s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1709e4dbdfc0 and GSocketClientAsyncConnectData 0x1709e4dbfe50 1207s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1207s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1207s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1709e4dbe680 for GSocketClientAsyncConnectData 0x1709e4dbfe50 1207s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1207s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1207s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1207s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1207s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1207s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1709e4dbe0e0 and GSocketClientAsyncConnectData 0x1709e4dbfe50 1207s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1207s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1207s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1709e4dbfec0 for GSocketClientAsyncConnectData 0x1709e4dbfe50 1207s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1207s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1207s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1207s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1207s ok 8 /proxy/invalid-uris-async 1207s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1207s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1709e4dbdb00 and GSocketClientAsyncConnectData 0x1709e4dbfe50 1207s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1207s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 1207s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 1207s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1207s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 1207s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 1207s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1207s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1709e4dbffe0 and GSocketClientAsyncConnectData 0x1709e4dbe570 1207s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1207s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1207s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1709e4dbf5e0 for GSocketClientAsyncConnectData 0x1709e4dbe570 1207s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1207s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1207s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1207s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1207s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1207s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1207s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1207s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1207s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1207s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1709e4dbdfc0 and GSocketClientAsyncConnectData 0x1709e4dbe360 1207s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1207s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1207s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1709e4dbe680 for GSocketClientAsyncConnectData 0x1709e4dbe360 1207s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1207s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1207s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1207s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1207s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1207s ok 9 /proxy/dns 1207s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1207s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1709e4dbdb00 and GSocketClientAsyncConnectData 0x1709e4dbe360 1207s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1207s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1207s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1709e4dbe680 for GSocketClientAsyncConnectData 0x1709e4dbe360 1207s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1207s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1207s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1207s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1207s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1207s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1207s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1207s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1207s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1207s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1709e4dbdfc0 and GSocketClientAsyncConnectData 0x1709e4dbe1a0 1207s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1207s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1207s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1709e4dbf5e0 for GSocketClientAsyncConnectData 0x1709e4dbe1a0 1207s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1207s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1207s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1207s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1207s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1207s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 1207s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x1709e4dbdb00 and GSocketClientAsyncConnectData 0x1709e4dbfe50 1207s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1207s ok - glib/proxy-test.test 1207s # Running test: glib/gdbus-proxy-unique-name.test 1207s ok - glib/gdbus-proxy-unique-name.test 1207s # Running test: glib/closure-refcount.test 1207s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1207s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x1709e4dbfcc0 for GSocketClientAsyncConnectData 0x1709e4dbfe50 1207s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1207s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1207s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1207s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 1207s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1207s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1207s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 1207s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 1207s ok 10 /proxy/override 1207s ok 11 /proxy/enumerator-ports 1207s # End of proxy tests 1207s TAP version 14 1207s # random seed: R02S113ff8d68d623c60bd16d2b60c4b087b 1207s 1..1 1207s # Start of gdbus tests 1207s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_ZSF5B3/gdbus/proxy-unique-name/.dirs/home 1207s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_ZSF5B3/gdbus/proxy-unique-name/.dirs/cache 1207s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_ZSF5B3/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_ZSF5B3/gdbus/proxy-unique-name/.dirs/system-config2 1207s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_ZSF5B3/gdbus/proxy-unique-name/.dirs/config 1207s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_ZSF5B3/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_ZSF5B3/gdbus/proxy-unique-name/.dirs/system-data2 1207s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_ZSF5B3/gdbus/proxy-unique-name/.dirs/data 1207s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_ZSF5B3/gdbus/proxy-unique-name/.dirs/state 1207s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_ZSF5B3/gdbus/proxy-unique-name/.dirs/runtime 1207s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1207s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1207s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1207s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1207s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1207s ok 1 /gdbus/proxy-unique-name 1207s # End of gdbus tests 1207s TAP version 14 1207s # random seed: R02Se72cd8b66b7bfe041c8f2259b15a7f95 1207s 1..1 1207s # Start of closure tests 1207s # Init 0x85936c16db0 1207s # Yielding from main thread 1207s # Yielding from main thread 1207s # Yielding from main thread 1207s # Yielding from main thread 1207s # Yielding from main thread 1207s # Yielding from main thread 1207s # Yielding from thread2 1207s # Yielding from main thread 1207s # Yielding from thread1 1207s # Yielding from main thread 1207s # Yielding from main thread 1207s # Yielding from main thread 1207s # Yielding from main thread 1207s # Yielding from main thread 1207s # Yielding from main thread 1207s # Yielding from main thread 1207s # Yielding from thread1 1207s # Yielding from main thread 1207s # Yielding from main thread 1207s # Yielding from main thread 1207s # Yielding from main thread 1207s # Yielding from thread2 1208s # Yielding from main thread 1208s # Yielding from main thread 1208s # Yielding from main thread 1208s # Yielding from main thread 1208s # Yielding from main thread 1208s # Yielding from main thread 1208s # Yielding from thread2 1208s # Yielding from main thread 1208s # Yielding from thread1 1208s # Yielding from main thread 1208s # Yielding from main thread 1208s # Yielding from main thread 1208s # Yielding from main thread 1208s # Yielding from main thread 1208s # Yielding from main thread 1208s # Yielding from main thread 1208s # Yielding from thread1 1208s # Yielding from main thread 1208s # Yielding from thread2 1208s # Yielding from main thread 1208s # Yielding from main thread 1208s # Yielding from main thread 1208s # Yielding from main thread 1209s # Executing: glib/closure-refcount.test 1209s # Yielding from main thread 1209s # Yielding from main thread 1209s # Yielding from main thread 1209s # Yielding from thread1 1209s # Yielding from main thread 1209s # Yielding from main thread 1209s # Yielding from main thread 1209s # Yielding from main thread 1209s # Yielding from thread2 1209s # Yielding from main thread 1209s # Yielding from main thread 1209s # Yielding from main thread 1209s # Yielding from main thread 1209s # Yielding from thread1 1209s # Yielding from main thread 1209s # Yielding from main thread 1209s # Yielding from main thread 1209s # Yielding from thread2 1209s # Yielding from main thread 1209s # Yielding from main thread 1209s # Yielding from main thread 1209s # Yielding from main thread 1209s # Yielding from main thread 1210s # Yielding from main thread 1210s # Yielding from thread1 1210s # Yielding from main thread 1210s # Yielding from main thread 1210s # Yielding from thread2 1210s # Yielding from main thread 1210s # Yielding from main thread 1210s # Yielding from main thread 1210s # Yielding from main thread 1210s # Yielding from main thread 1210s # Yielding from main thread 1210s # Yielding from thread1 1210s # Yielding from main thread 1210s # Yielding from main thread 1210s # Yielding from main thread 1210s # Yielding from thread2 1210s # Yielding from main thread 1210s # Yielding from main thread 1210s # Yielding from main thread 1210s # Yielding from main thread 1210s # Yielding from thread1 1210s # Yielding from main thread 1210s # Yielding from main thread 1210s # Yielding from main thread 1211s # Yielding from main thread 1211s # Yielding from thread2 1211s # Yielding from main thread 1211s # Yielding from main thread 1211s # Yielding from main thread 1211s # Yielding from main thread 1211s # Yielding from thread1 1211s # Yielding from main thread 1211s # Yielding from main thread 1211s # Yielding from main thread 1211s # Yielding from main thread 1211s # Yielding from main thread 1211s # Yielding from main thread 1211s # Yielding from thread2 1211s # Yielding from main thread 1211s # Yielding from main thread 1211s # Yielding from thread1 1211s # Yielding from main thread 1211s # Yielding from main thread 1211s # Yielding from main thread 1211s # Yielding from main thread 1211s # Yielding from thread2 1211s # Yielding from main thread 1212s # Yielding from main thread 1212s # Yielding from main thread 1212s # Yielding from main thread 1212s # Yielding from main thread 1212s # Yielding from main thread 1212s # Yielding from thread1 1212s # Yielding from main thread 1212s # Stopping 1212s # Stopped 1212s ok 1 /closure/refcount 1212s # slow test /closure/refcount executed in 5.30 secs 1212s # End of closure tests 1212s ok - glib/closure-refcount.test 1212s # Running test: glib/642026.test 1212s TAP version 14 1212s # random seed: R02S0169d19e97366bd4717b8482990cf590 1212s 1..1 1212s # Start of glib tests 1212s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 1212s ok 1 /glib/642026 1212s # End of glib tests 1212s ok - glib/642026.test 1212s # Running test: glib/pollable.test 1212s TAP version 14 1212s # random seed: R02S3cc92edfdaf3585128129a8fd4f75f50 1212s 1..6 1212s # Start of pollable tests 1212s ok 1 /pollable/converter 1212s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1212s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x982dbf6b4e0 and GSocketClientAsyncConnectData 0x982dbf6d380 1212s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1212s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1212s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x982dbf639e0 for GSocketClientAsyncConnectData 0x982dbf6d380 1212s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1212s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1212s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1212s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1212s ok 2 /pollable/socket 1212s # Start of unix tests 1212s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 1212s ok 3 /pollable/unix/pipe 1212s # /pollable/unix/pty summary: Test that PTYs are considered pollable 1212s ok 4 /pollable/unix/pty 1212s # /pollable/unix/file summary: Test that regular files are not considered pollable 1212s ok 5 /pollable/unix/file 1212s # /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 1212s ok 6 /pollable/unix/nulldev 1212s # End of unix tests 1212s # End of pollable tests 1212s ok - glib/pollable.test 1212s # Running test: glib/mapping.test 1212s TAP version 14 1212s # random seed: R02Sce71a72330247efa271e0310e3373bf4 1212s 1..3 1212s # Start of mapping tests 1212s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_LKQKC3/mapping/flags/.dirs/home 1212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_LKQKC3/mapping/flags/.dirs/cache 1212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_LKQKC3/mapping/flags/.dirs/system-config1:/tmp/test_mapping_LKQKC3/mapping/flags/.dirs/system-config2 1212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_LKQKC3/mapping/flags/.dirs/config 1212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_LKQKC3/mapping/flags/.dirs/system-data1:/tmp/test_mapping_LKQKC3/mapping/flags/.dirs/system-data2 1212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_LKQKC3/mapping/flags/.dirs/data 1212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_LKQKC3/mapping/flags/.dirs/state 1212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_LKQKC3/mapping/flags/.dirs/runtime 1212s # test_mapping: ok 1212s ok 1 /mapping/flags 1212s ok - glib/mapping.test 1212s # Running test: glib/io-channel-basic.test 1212s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_LKQKC3/mapping/private/.dirs/home 1212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_LKQKC3/mapping/private/.dirs/cache 1212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_LKQKC3/mapping/private/.dirs/system-config1:/tmp/test_mapping_LKQKC3/mapping/private/.dirs/system-config2 1212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_LKQKC3/mapping/private/.dirs/config 1212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_LKQKC3/mapping/private/.dirs/system-data1:/tmp/test_mapping_LKQKC3/mapping/private/.dirs/system-data2 1212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_LKQKC3/mapping/private/.dirs/data 1212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_LKQKC3/mapping/private/.dirs/state 1212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_LKQKC3/mapping/private/.dirs/runtime 1212s ok 2 /mapping/private 1212s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_LKQKC3/mapping/private-child/.dirs/home 1212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_LKQKC3/mapping/private-child/.dirs/cache 1212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_LKQKC3/mapping/private-child/.dirs/system-config1:/tmp/test_mapping_LKQKC3/mapping/private-child/.dirs/system-config2 1212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_LKQKC3/mapping/private-child/.dirs/config 1212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_LKQKC3/mapping/private-child/.dirs/system-data1:/tmp/test_mapping_LKQKC3/mapping/private-child/.dirs/system-data2 1212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_LKQKC3/mapping/private-child/.dirs/data 1212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_LKQKC3/mapping/private-child/.dirs/state 1212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_LKQKC3/mapping/private-child/.dirs/runtime 1212s # test_child_private: child spawned 1212s # Subtest: /usr/libexec/installed-tests/glib/mapping 1212s # random seed: R02S77ab51aa7026bb1ab9e5b7634a3861e1 1212s # test_child_private: received first child signal 1212s # test_child_private: received parent signal 1212s # Child exited with status 0 1212s # test_child_private: received second child signal 1212s ok 3 /mapping/private-child 1212s # End of mapping tests 1212s TAP version 14 1212s # random seed: R02S498e5c0e8a24af7732ba96da3f5bf8c2 1212s 1..1 1212s # Start of gio tests 1212s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1212s # random seed: R02S053bdc59203dcab57e75f23f0fa74590 1212s # GLib-DEBUG: io-channel-basic: child writing 8+2720 bytes to 6 1212s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1212s # GLib-DEBUG: io-channel-basic: ...from 5: 2720 bytes 1212s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1212s # GLib-DEBUG: io-channel-basic: child writing 8+4235 bytes to 6 1212s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1212s # GLib-DEBUG: io-channel-basic: ...from 5: 4235 bytes 1212s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1213s # GLib-DEBUG: io-channel-basic: child writing 8+30 bytes to 6 1213s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1213s # GLib-DEBUG: io-channel-basic: ...from 5: 30 bytes 1213s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1213s # GLib-DEBUG: io-channel-basic: child writing 8+818 bytes to 6 1213s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1213s # GLib-DEBUG: io-channel-basic: ...from 5: 818 bytes 1213s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1213s # GLib-DEBUG: io-channel-basic: child writing 8+2554 bytes to 6 1213s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1213s # GLib-DEBUG: io-channel-basic: ...from 5: 2554 bytes 1213s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1213s # GLib-DEBUG: io-channel-basic: child writing 8+1723 bytes to 6 1213s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1213s # GLib-DEBUG: io-channel-basic: ...from 5: 1723 bytes 1213s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1214s # Executing: glib/io-channel-basic.test 1214s # GLib-DEBUG: io-channel-basic: child writing 8+3430 bytes to 6 1214s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1214s # GLib-DEBUG: io-channel-basic: ...from 5: 3430 bytes 1214s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1214s # GLib-DEBUG: io-channel-basic: child writing 8+3346 bytes to 6 1214s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1214s # GLib-DEBUG: io-channel-basic: ...from 5: 3346 bytes 1214s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1214s # GLib-DEBUG: io-channel-basic: child writing 8+543 bytes to 6 1214s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1214s # GLib-DEBUG: io-channel-basic: ...from 5: 543 bytes 1214s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1215s # GLib-DEBUG: io-channel-basic: child writing 8+489 bytes to 6 1215s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1215s # GLib-DEBUG: io-channel-basic: ...from 5: 489 bytes 1215s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1215s # GLib-DEBUG: io-channel-basic: child writing 8+3677 bytes to 6 1215s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1215s # GLib-DEBUG: io-channel-basic: ...from 5: 3677 bytes 1215s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1215s # GLib-DEBUG: io-channel-basic: child writing 8+2401 bytes to 6 1215s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1215s # GLib-DEBUG: io-channel-basic: ...from 5: 2401 bytes 1215s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1215s # GLib-DEBUG: io-channel-basic: child writing 8+772 bytes to 6 1215s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1215s # GLib-DEBUG: io-channel-basic: ...from 5: 772 bytes 1215s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1216s # GLib-DEBUG: io-channel-basic: child writing 8+3665 bytes to 6 1216s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1216s # GLib-DEBUG: io-channel-basic: ...from 5: 3665 bytes 1216s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1216s # GLib-DEBUG: io-channel-basic: child writing 8+2644 bytes to 6 1216s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1216s # GLib-DEBUG: io-channel-basic: ...from 5: 2644 bytes 1216s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1216s # GLib-DEBUG: io-channel-basic: child writing 8+2274 bytes to 6 1216s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1216s # GLib-DEBUG: io-channel-basic: ...from 5: 2274 bytes 1216s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1216s # GLib-DEBUG: io-channel-basic: child writing 8+3104 bytes to 6 1216s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1216s # GLib-DEBUG: io-channel-basic: ...from 5: 3104 bytes 1216s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1217s # GLib-DEBUG: io-channel-basic: child writing 8+3402 bytes to 6 1217s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1217s # GLib-DEBUG: io-channel-basic: ...from 5: 3402 bytes 1217s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1217s # GLib-DEBUG: io-channel-basic: child writing 8+335 bytes to 6 1217s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1217s # GLib-DEBUG: io-channel-basic: ...from 5: 335 bytes 1217s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1217s # GLib-DEBUG: io-channel-basic: child writing 8+4437 bytes to 6 1217s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1217s # GLib-DEBUG: io-channel-basic: ...from 5: 4437 bytes 1217s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1217s # GLib-DEBUG: io-channel-basic: child writing 8+4736 bytes to 6 1217s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1217s # GLib-DEBUG: io-channel-basic: ...from 5: 4736 bytes 1217s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1218s # GLib-DEBUG: io-channel-basic: child writing 8+2950 bytes to 6 1218s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1218s # GLib-DEBUG: io-channel-basic: ...from 5: 2950 bytes 1218s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1218s # GLib-DEBUG: io-channel-basic: child writing 8+122 bytes to 6 1218s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1218s # GLib-DEBUG: io-channel-basic: ...from 5: 122 bytes 1218s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1218s # GLib-DEBUG: io-channel-basic: child writing 8+4018 bytes to 6 1218s # GLib-DEBUG: io-channel-basic: ...from 5: IN 1218s # GLib-DEBUG: io-channel-basic: ...from 5: 4018 bytes 1218s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1218s # GLib-DEBUG: io-channel-basic: child writing 8+2333 bytes to 6 1218s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 1218s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 1218s # GLib-DEBUG: io-channel-basic: ...from 5: 2333 bytes 1218s # GLib-DEBUG: io-channel-basic: ...from 5: OK 1218s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1218s # random seed: R02S2e1961b5d2a46c5a34e613694366ba40 1218s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1218s # random seed: R02S02a363de2c0579a86f1f6705abeee7b4 1218s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1218s # random seed: R02S486ab8fd73413cc455de00cc3151b4e9 1218s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1218s # random seed: R02S5a1605982d39e1d6a0f572786c380527 1218s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 1218s # random seed: R02S7c4d0a8bbc7eb1ee9e6cb5694b18709c 1219s # Executing: glib/io-channel-basic.test 1219s # GLib-DEBUG: io-channel-basic: child writing 8+2093 bytes to 11 1219s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1219s # GLib-DEBUG: io-channel-basic: ...from 10: 2093 bytes 1219s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1219s # GLib-DEBUG: io-channel-basic: child writing 8+2745 bytes to 17 1219s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1219s # GLib-DEBUG: io-channel-basic: ...from 16: 2745 bytes 1219s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1219s # GLib-DEBUG: io-channel-basic: child writing 8+3222 bytes to 13 1219s # GLib-DEBUG: io-channel-basic: child writing 8+332 bytes to 15 1219s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1219s # GLib-DEBUG: io-channel-basic: ...from 12: 3222 bytes 1219s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1219s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1219s # GLib-DEBUG: io-channel-basic: ...from 14: 332 bytes 1219s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1219s # GLib-DEBUG: io-channel-basic: child writing 8+2822 bytes to 9 1219s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1219s # GLib-DEBUG: io-channel-basic: ...from 8: 2822 bytes 1219s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1219s # GLib-DEBUG: io-channel-basic: child writing 8+2007 bytes to 15 1219s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1219s # GLib-DEBUG: io-channel-basic: ...from 14: 2007 bytes 1219s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1219s # GLib-DEBUG: io-channel-basic: child writing 8+1451 bytes to 11 1219s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1219s # GLib-DEBUG: io-channel-basic: ...from 10: 1451 bytes 1219s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1219s # GLib-DEBUG: io-channel-basic: child writing 8+3176 bytes to 9 1219s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1219s # GLib-DEBUG: io-channel-basic: ...from 8: 3176 bytes 1219s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1219s # GLib-DEBUG: io-channel-basic: child writing 8+1548 bytes to 13 1219s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1219s # GLib-DEBUG: io-channel-basic: ...from 12: 1548 bytes 1219s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1219s # GLib-DEBUG: io-channel-basic: child writing 8+925 bytes to 17 1219s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1219s # GLib-DEBUG: io-channel-basic: ...from 16: 925 bytes 1219s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1219s # GLib-DEBUG: io-channel-basic: child writing 8+2493 bytes to 11 1219s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1219s # GLib-DEBUG: io-channel-basic: ...from 10: 2493 bytes 1219s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1219s # GLib-DEBUG: io-channel-basic: child writing 8+2555 bytes to 15 1219s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1219s # GLib-DEBUG: io-channel-basic: ...from 14: 2555 bytes 1219s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1219s # GLib-DEBUG: io-channel-basic: child writing 8+2040 bytes to 13 1219s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1219s # GLib-DEBUG: io-channel-basic: ...from 12: 2040 bytes 1219s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1219s # GLib-DEBUG: io-channel-basic: child writing 8+823 bytes to 9 1219s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1219s # GLib-DEBUG: io-channel-basic: ...from 8: 823 bytes 1219s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1219s # GLib-DEBUG: io-channel-basic: child writing 8+4778 bytes to 17 1219s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1219s # GLib-DEBUG: io-channel-basic: ...from 16: 4778 bytes 1219s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+1843 bytes to 15 1220s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 14: 1843 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+1246 bytes to 9 1220s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 8: 1246 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+1233 bytes to 11 1220s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 10: 1233 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+2912 bytes to 13 1220s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 12: 2912 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+4172 bytes to 17 1220s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 16: 4172 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+4922 bytes to 15 1220s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 14: 4922 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+711 bytes to 9 1220s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 8: 711 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+4339 bytes to 13 1220s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 12: 4339 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+2385 bytes to 17 1220s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 16: 2385 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+4215 bytes to 11 1220s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 10: 4215 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+173 bytes to 15 1220s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 14: 173 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+4961 bytes to 9 1220s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 8: 4961 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+4036 bytes to 13 1220s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 12: 4036 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+1618 bytes to 17 1220s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 16: 1618 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+1543 bytes to 11 1220s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 10: 1543 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+3169 bytes to 15 1220s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 14: 3169 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+1864 bytes to 9 1220s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 8: 1864 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+1653 bytes to 17 1220s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 16: 1653 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+4466 bytes to 13 1220s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 12: 4466 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1220s # GLib-DEBUG: io-channel-basic: child writing 8+4347 bytes to 11 1220s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1220s # GLib-DEBUG: io-channel-basic: ...from 10: 4347 bytes 1220s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+2974 bytes to 15 1221s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 14: 2974 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+3329 bytes to 9 1221s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 8: 3329 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+4322 bytes to 17 1221s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 16: 4322 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+116 bytes to 13 1221s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 12: 116 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+3527 bytes to 11 1221s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 10: 3527 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+3931 bytes to 15 1221s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 14: 3931 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+3899 bytes to 9 1221s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 8: 3899 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+2943 bytes to 17 1221s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 16: 2943 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+585 bytes to 11 1221s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 10: 585 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+2240 bytes to 13 1221s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 12: 2240 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+1454 bytes to 9 1221s # GLib-DEBUG: io-channel-basic: child writing 8+2023 bytes to 15 1221s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 8: 1454 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1221s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 14: 2023 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+3122 bytes to 17 1221s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 16: 3122 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+3022 bytes to 11 1221s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 10: 3022 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+2852 bytes to 13 1221s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 12: 2852 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+1345 bytes to 9 1221s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 8: 1345 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+2162 bytes to 15 1221s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 14: 2162 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+745 bytes to 17 1221s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 16: 745 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+3602 bytes to 13 1221s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 12: 3602 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1221s # GLib-DEBUG: io-channel-basic: child writing 8+3095 bytes to 11 1221s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1221s # GLib-DEBUG: io-channel-basic: ...from 10: 3095 bytes 1221s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+1887 bytes to 9 1222s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 8: 1887 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+4025 bytes to 15 1222s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 14: 4025 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+255 bytes to 17 1222s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 16: 255 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+2216 bytes to 11 1222s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 10: 2216 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+4498 bytes to 13 1222s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 12: 4498 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+3987 bytes to 9 1222s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 8: 3987 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+2391 bytes to 15 1222s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 14: 2391 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+2534 bytes to 17 1222s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 16: 2534 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+4121 bytes to 11 1222s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 10: 4121 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+726 bytes to 13 1222s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 12: 726 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+4030 bytes to 9 1222s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 8: 4030 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+358 bytes to 15 1222s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 14: 358 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+1915 bytes to 17 1222s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 16: 1915 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+4711 bytes to 11 1222s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 10: 4711 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+323 bytes to 13 1222s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 12: 323 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+2572 bytes to 9 1222s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 8: 2572 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+1699 bytes to 15 1222s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 14: 1699 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+1498 bytes to 17 1222s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 16: 1498 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+2596 bytes to 13 1222s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 12: 2596 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1222s # GLib-DEBUG: io-channel-basic: child writing 8+392 bytes to 11 1222s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1222s # GLib-DEBUG: io-channel-basic: ...from 10: 392 bytes 1222s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1223s # GLib-DEBUG: io-channel-basic: child writing 8+1706 bytes to 9 1223s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1223s # GLib-DEBUG: io-channel-basic: ...from 8: 1706 bytes 1223s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1223s # GLib-DEBUG: io-channel-basic: child writing 8+3870 bytes to 17 1223s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1223s # GLib-DEBUG: io-channel-basic: ...from 16: 3870 bytes 1223s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1223s # GLib-DEBUG: io-channel-basic: child writing 8+653 bytes to 15 1223s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1223s # GLib-DEBUG: io-channel-basic: ...from 14: 653 bytes 1223s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1223s # GLib-DEBUG: io-channel-basic: child writing 8+1861 bytes to 13 1223s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1223s # GLib-DEBUG: io-channel-basic: ...from 12: 1861 bytes 1223s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1223s # GLib-DEBUG: io-channel-basic: child writing 8+1929 bytes to 11 1223s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1223s # GLib-DEBUG: io-channel-basic: ...from 10: 1929 bytes 1223s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1223s # GLib-DEBUG: io-channel-basic: child writing 8+1258 bytes to 9 1223s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1223s # GLib-DEBUG: io-channel-basic: ...from 8: 1258 bytes 1223s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1223s # GLib-DEBUG: io-channel-basic: child writing 8+3865 bytes to 17 1223s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1223s # GLib-DEBUG: io-channel-basic: ...from 16: 3865 bytes 1223s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1223s # GLib-DEBUG: io-channel-basic: child writing 8+4756 bytes to 15 1223s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1223s # GLib-DEBUG: io-channel-basic: ...from 14: 4756 bytes 1223s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1223s # GLib-DEBUG: io-channel-basic: child writing 8+351 bytes to 13 1223s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1223s # GLib-DEBUG: io-channel-basic: ...from 12: 351 bytes 1223s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1223s # GLib-DEBUG: io-channel-basic: child writing 8+4653 bytes to 11 1223s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1223s # GLib-DEBUG: io-channel-basic: ...from 10: 4653 bytes 1223s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1223s # GLib-DEBUG: io-channel-basic: child writing 8+636 bytes to 9 1223s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1223s # GLib-DEBUG: io-channel-basic: ...from 8: 636 bytes 1223s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1223s # GLib-DEBUG: io-channel-basic: child writing 8+1593 bytes to 17 1223s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1223s # GLib-DEBUG: io-channel-basic: ...from 16: 1593 bytes 1223s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1223s # GLib-DEBUG: io-channel-basic: child writing 8+1538 bytes to 15 1223s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1223s # GLib-DEBUG: io-channel-basic: ...from 14: 1538 bytes 1223s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1223s # GLib-DEBUG: io-channel-basic: child writing 8+2989 bytes to 13 1223s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1223s # GLib-DEBUG: io-channel-basic: ...from 12: 2989 bytes 1223s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1223s # GLib-DEBUG: io-channel-basic: child writing 8+1263 bytes to 11 1223s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1223s # GLib-DEBUG: io-channel-basic: ...from 10: 1263 bytes 1223s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1223s # GLib-DEBUG: io-channel-basic: child writing 8+4133 bytes to 9 1223s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1223s # GLib-DEBUG: io-channel-basic: ...from 8: 4133 bytes 1223s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1223s # GLib-DEBUG: io-channel-basic: child writing 8+3145 bytes to 17 1223s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1223s # GLib-DEBUG: io-channel-basic: ...from 16: 3145 bytes 1223s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1223s # GLib-DEBUG: io-channel-basic: child writing 8+3688 bytes to 15 1223s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1223s # GLib-DEBUG: io-channel-basic: ...from 14: 3688 bytes 1223s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1223s # GLib-DEBUG: io-channel-basic: child writing 8+1917 bytes to 13 1223s # GLib-DEBUG: io-channel-basic: ...from 12: IN 1223s # GLib-DEBUG: io-channel-basic: ...from 12: 1917 bytes 1223s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1223s # GLib-DEBUG: io-channel-basic: child writing 8+4755 bytes to 11 1223s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1223s # GLib-DEBUG: io-channel-basic: ...from 10: 4755 bytes 1223s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1224s # Executing: glib/io-channel-basic.test 1224s # GLib-DEBUG: io-channel-basic: child writing 8+2977 bytes to 9 1224s # GLib-DEBUG: io-channel-basic: ...from 8: IN 1224s # GLib-DEBUG: io-channel-basic: ...from 8: 2977 bytes 1224s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1224s # GLib-DEBUG: io-channel-basic: child writing 8+2946 bytes to 15 1224s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1224s # GLib-DEBUG: io-channel-basic: ...from 14: 2946 bytes 1224s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1224s # GLib-DEBUG: io-channel-basic: child writing 8+3394 bytes to 17 1224s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1224s # GLib-DEBUG: io-channel-basic: ...from 16: 3394 bytes 1224s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1224s # GLib-DEBUG: io-channel-basic: child writing 8+825 bytes to 11 1224s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1224s # GLib-DEBUG: io-channel-basic: ...from 10: 825 bytes 1224s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1224s # GLib-DEBUG: io-channel-basic: child writing 8+4125 bytes to 13 1224s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 1224s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 1224s # GLib-DEBUG: io-channel-basic: ...from 12: 4125 bytes 1224s # GLib-DEBUG: io-channel-basic: ...from 12: OK 1224s # GLib-DEBUG: io-channel-basic: child writing 8+2589 bytes to 9 1224s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 1224s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 1224s # GLib-DEBUG: io-channel-basic: ...from 8: 2589 bytes 1224s # GLib-DEBUG: io-channel-basic: ...from 8: OK 1224s # GLib-DEBUG: io-channel-basic: child writing 8+3038 bytes to 15 1224s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1224s # GLib-DEBUG: io-channel-basic: ...from 14: 3038 bytes 1224s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1224s # GLib-DEBUG: io-channel-basic: child writing 8+4649 bytes to 17 1224s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1224s # GLib-DEBUG: io-channel-basic: ...from 16: 4649 bytes 1224s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1224s # GLib-DEBUG: io-channel-basic: child writing 8+4654 bytes to 11 1224s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1224s # GLib-DEBUG: io-channel-basic: ...from 10: 4654 bytes 1224s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1224s # GLib-DEBUG: io-channel-basic: child writing 8+3895 bytes to 15 1224s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1224s # GLib-DEBUG: io-channel-basic: ...from 14: 3895 bytes 1224s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1224s # GLib-DEBUG: io-channel-basic: child writing 8+592 bytes to 17 1224s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1224s # GLib-DEBUG: io-channel-basic: ...from 16: 592 bytes 1224s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1224s # GLib-DEBUG: io-channel-basic: child writing 8+982 bytes to 11 1224s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1224s # GLib-DEBUG: io-channel-basic: ...from 10: 982 bytes 1224s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1225s # GLib-DEBUG: io-channel-basic: child writing 8+3730 bytes to 15 1225s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1225s # GLib-DEBUG: io-channel-basic: ...from 14: 3730 bytes 1225s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1225s # GLib-DEBUG: io-channel-basic: child writing 8+92 bytes to 17 1225s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1225s # GLib-DEBUG: io-channel-basic: ...from 16: 92 bytes 1225s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1225s # GLib-DEBUG: io-channel-basic: child writing 8+2034 bytes to 11 1225s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1225s # GLib-DEBUG: io-channel-basic: ...from 10: 2034 bytes 1225s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1225s # GLib-DEBUG: io-channel-basic: child writing 8+3149 bytes to 15 1225s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1225s # GLib-DEBUG: io-channel-basic: ...from 14: 3149 bytes 1225s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1225s # GLib-DEBUG: io-channel-basic: child writing 8+2536 bytes to 17 1225s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1225s # GLib-DEBUG: io-channel-basic: ...from 16: 2536 bytes 1225s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1225s # GLib-DEBUG: io-channel-basic: child writing 8+883 bytes to 11 1225s # GLib-DEBUG: io-channel-basic: ...from 10: IN 1225s # GLib-DEBUG: io-channel-basic: ...from 10: 883 bytes 1225s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1225s # GLib-DEBUG: io-channel-basic: child writing 8+3974 bytes to 17 1225s # GLib-DEBUG: io-channel-basic: ...from 16: IN 1225s # GLib-DEBUG: io-channel-basic: ...from 16: 3974 bytes 1225s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1225s # GLib-DEBUG: io-channel-basic: child writing 8+2029 bytes to 15 1225s # GLib-DEBUG: io-channel-basic: ...from 14: IN 1225s # GLib-DEBUG: io-channel-basic: ...from 14: 2029 bytes 1225s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1225s # GLib-DEBUG: io-channel-basic: child writing 8+3353 bytes to 11 1225s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 1225s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 1225s # GLib-DEBUG: io-channel-basic: ...from 10: 3353 bytes 1225s # GLib-DEBUG: io-channel-basic: ...from 10: OK 1225s # GLib-DEBUG: io-channel-basic: child writing 8+2949 bytes to 17 1225s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 1225s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 1225s # GLib-DEBUG: io-channel-basic: ...from 16: 2949 bytes 1225s # GLib-DEBUG: io-channel-basic: ...from 16: OK 1225s # GLib-DEBUG: io-channel-basic: child writing 8+2336 bytes to 15 1225s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 1225s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 1225s # GLib-DEBUG: io-channel-basic: ...from 14: 2336 bytes 1225s # GLib-DEBUG: io-channel-basic: ...from 14: OK 1225s ok 1 /gio/io-basics 1225s # slow test /gio/io-basics executed in 13.40 secs 1225s # End of gio tests 1225s ok - glib/io-channel-basic.test 1225s # Running test: glib/defaultiface.test 1225s ok - glib/defaultiface.test 1225s TAP version 14 1225s # random seed: R02S73186abc48628ee72a3d3900cee657d9 1225s 1..2 1225s # Start of gobject tests 1225s ok 1 /gobject/static-iface 1225s ok 2 /gobject/dynamic-iface 1225s # End of gobject tests 1225s # Running test: glib/power-profile-monitor-dbus.test 1226s TAP version 13 1226s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 1226s 1..1 1226s ok - glib/power-profile-monitor-dbus.test 1226s # Running test: glib/cond.test 1226s TAP version 14 1226s # random seed: R02Sbbc7b2f4ed358f32b1e36e1f58a667ee 1226s 1..4 1226s # Start of thread tests 1226s ok 1 /thread/cond1 1226s ok 2 /thread/cond2 1226s # Start of cond tests 1227s ok 3 /thread/cond/wait-until 1227s # slow test /thread/cond/wait-until executed in 1.02 secs 1227s # Start of wait-until tests 1227s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 1227s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 1228s ok 4 /thread/cond/wait-until/contended-and-interrupted 1228s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 1228s # End of wait-until tests 1228s # End of cond tests 1228s # End of thread tests 1228s ok - glib/cond.test 1228s # Running test: glib/ifaceproperties.test 1228s ok - glib/ifaceproperties.test 1228s TAP version 14 1228s # random seed: R02S9ab178101747d2d52264822cbf064358 1228s 1..7 1228s # Start of interface tests 1228s # Start of properties tests 1228s ok 1 /interface/properties/set 1228s ok 2 /interface/properties/notify 1228s ok 3 /interface/properties/find-overridden 1228s ok 4 /interface/properties/list-overridden 1228s ok 5 /interface/properties/find-interface 1228s ok 6 /interface/properties/list-interface 1228s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 1228s ok 7 /interface/properties/not-overridden 1228s # End of properties tests 1228s # End of interface tests 1228s # Running test: glib/notify-init2.test 1228s ok - glib/notify-init2.test 1228s TAP version 14 1228s # random seed: R02S57f3d68b67746d1e21dfe1b27001246d 1228s 1..1 1228s # Start of properties tests 1228s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 1228s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1228s ok 1 /properties/notify-in-init2 1228s # End of properties tests 1228s # Running test: glib/cxx-03.test 1228s TAP version 14 1228s # random seed: R02Sb04e421811d9984afdbc271abe17d419 1228s 1..2 1228s # Start of gtask tests 1228s # 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. 1228s ok 1 /gtask/name 1228s # Start of name tests 1228s # 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. 1228s ok 2 /gtask/name/macro-wrapper 1228s # End of name tests 1228s # End of gtask tests 1228s ok - glib/cxx-03.test 1228s # Running test: glib/value.test 1228s TAP version 14 1228s ok - glib/value.test 1228s # Running test: glib/actions.test 1228s # random seed: R02S26a320249d8b0c69813f6e1a84fc47c8 1228s 1..9 1228s # Start of value tests 1228s ok 1 /value/basic 1228s ok 2 /value/collection 1228s ok 3 /value/copying 1228s ok 4 /value/enum-transformation 1228s ok 5 /value/gtype 1228s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 1228s ok 6 /value/string 1228s # Next: GObject object in GValue of GObject to GValue of GObject 1228s # Next: GObject object in GValue of GObject to GValue of TestInterface 1228s # Next: GObject object in GValue of GObject to GValue of TestObjectA 1228s # Next: GObject object in GValue of GObject to GValue of TestObjectB 1228s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 1228s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 1228s # Next: TestObjectA object in GValue of GObject to GValue of GObject 1228s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 1228s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 1228s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 1228s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 1228s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 1228s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 1228s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 1228s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 1228s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 1228s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 1228s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 1228s # Next: TestObjectB object in GValue of GObject to GValue of GObject 1228s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 1228s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 1228s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 1228s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 1228s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 1228s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 1228s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 1228s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 1228s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 1228s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 1228s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 1228s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 1228s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 1228s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 1228s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 1228s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 1228s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 1228s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 1228s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 1228s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 1228s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 1228s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 1228s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 1228s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 1228s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 1228s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 1228s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 1228s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 1228s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 1228s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 1228s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 1228s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 1228s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 1228s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 1228s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 1228s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 1228s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 1228s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 1228s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 1228s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 1228s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 1228s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 1228s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 1228s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 1228s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 1228s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 1228s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 1228s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 1228s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 1228s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 1228s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 1228s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 1228s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 1228s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 1228s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 1228s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 1228s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 1228s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 1228s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 1228s ok 7 /value/transform-object 1228s # Start of array tests 1228s ok 8 /value/array/basic 1228s ok 9 /value/array/sort-with-data 1228s # End of array tests 1228s # End of value tests 1228s TAP version 14 1228s # random seed: R02Sa22276d7f372bc50c33bcaffbfcc1868 1228s 1..13 1228s # Start of actions tests 1228s ok 1 /actions/basic 1228s ok 2 /actions/name 1228s ok 3 /actions/simplegroup 1228s ok 4 /actions/stateful 1228s ok 5 /actions/default-activate 1228s ok 6 /actions/entries 1228s ok 7 /actions/parse-detailed 1228s ok 8 /actions/property 1228s ok 9 /actions/no-properties 1228s # Start of dbus tests 1228s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1228s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1228s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1228s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1228s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1228s ok 10 /actions/dbus/export 1228s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1228s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1228s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1228s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1228s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1228s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1229s # Executing: glib/actions.test 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s ok 11 /actions/dbus/threaded 1230s # slow test /actions/dbus/threaded executed in 2.05 secs 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s ok 12 /actions/dbus/bug679509 1230s # Start of export tests 1230s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 1230s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s ok 13 /actions/dbus/export/error-handling 1230s # End of export tests 1230s # End of dbus tests 1230s # End of actions tests 1230s ok - glib/actions.test 1230s # Running test: glib/mem-overflow.test 1230s TAP version 14 1230s # random seed: R02S7455737044d2a794a5a94cb57fb7b154 1230s 1..2 1230s # Start of mem tests 1230s ok - glib/mem-overflow.test 1230s # Running test: glib/portal-support-env-var.test 1230s ok - glib/portal-support-env-var.test 1230s # Running test: glib/markup-subparser.test 1230s ok - glib/markup-subparser.test 1230s # Running test: glib/notify-init.test 1230s ok - glib/notify-init.test 1230s # Running test: glib/throws.test 1230s ok - glib/throws.test 1230s # Running test: glib/rcbox.test 1230s ok - glib/rcbox.test 1230s # Running test: glib/bindinggroup.test 1230s ok 1 /mem/overflow 1230s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 1230s ok 2 /mem/empty-alloc 1230s # Start of overflow tests 1230s # Start of subprocess tests 1230s # End of subprocess tests 1230s # End of overflow tests 1230s # Start of empty-alloc tests 1230s # End of empty-alloc tests 1230s # End of mem tests 1230s TAP version 14 1230s # random seed: R02S11a075805cc21d422402d66942aabf49 1230s 1..1 1230s # Start of portal-support tests 1230s ok 1 /portal-support/env-var 1230s # End of portal-support tests 1230s TAP version 14 1230s # random seed: R02Scd215a3aed885b0fd276a4b0085a026f 1230s 1..14 1230s # Start of glib tests 1230s # Start of markup tests 1230s # Start of subparser tests 1230s # Start of success tests 1230s ok 1 /glib/markup/subparser/success/0 1230s ok 2 /glib/markup/subparser/success/1 1230s ok 3 /glib/markup/subparser/success/2 1230s ok 4 /glib/markup/subparser/success/3 1230s ok 5 /glib/markup/subparser/success/4 1230s ok 6 /glib/markup/subparser/success/5 1230s ok 7 /glib/markup/subparser/success/6 1230s # End of success tests 1230s # Start of failure tests 1230s ok 8 /glib/markup/subparser/failure/0 1230s ok 9 /glib/markup/subparser/failure/1 1230s ok 10 /glib/markup/subparser/failure/2 1230s ok 11 /glib/markup/subparser/failure/3 1230s ok 12 /glib/markup/subparser/failure/4 1230s ok 13 /glib/markup/subparser/failure/5 1230s ok 14 /glib/markup/subparser/failure/6 1230s # End of failure tests 1230s # End of subparser tests 1230s # End of markup tests 1230s # End of glib tests 1230s TAP version 14 1230s # random seed: R02Scb3aecd710c25fa4752f3a1bcb8e6c91 1230s 1..1 1230s # Start of properties tests 1230s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 1230s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 1230s ok 1 /properties/notify-in-init 1230s # End of properties tests 1230s TAP version 14 1230s # random seed: R02S185c3d0209f0a6edaeafe024c32318f0 1230s 1..3 1230s # Start of throws tests 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_31Q4B3/throws/invoke-gerror/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_31Q4B3/throws/invoke-gerror/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_31Q4B3/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_31Q4B3/throws/invoke-gerror/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_31Q4B3/throws/invoke-gerror/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_31Q4B3/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_31Q4B3/throws/invoke-gerror/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_31Q4B3/throws/invoke-gerror/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_31Q4B3/throws/invoke-gerror/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_31Q4B3/throws/invoke-gerror/.dirs/runtime 1230s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1230s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 1230s ok 1 /throws/invoke-gerror 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_31Q4B3/throws/vfunc-can-throw-gerror/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_31Q4B3/throws/vfunc-can-throw-gerror/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_31Q4B3/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_31Q4B3/throws/vfunc-can-throw-gerror/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_31Q4B3/throws/vfunc-can-throw-gerror/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_31Q4B3/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_31Q4B3/throws/vfunc-can-throw-gerror/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_31Q4B3/throws/vfunc-can-throw-gerror/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_31Q4B3/throws/vfunc-can-throw-gerror/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_31Q4B3/throws/vfunc-can-throw-gerror/.dirs/runtime 1230s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1230s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 1230s ok 2 /throws/vfunc-can-throw-gerror 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_31Q4B3/throws/callback-can-throw-gerror/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_31Q4B3/throws/callback-can-throw-gerror/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_31Q4B3/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_31Q4B3/throws/callback-can-throw-gerror/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_31Q4B3/throws/callback-can-throw-gerror/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_31Q4B3/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_31Q4B3/throws/callback-can-throw-gerror/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_31Q4B3/throws/callback-can-throw-gerror/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_31Q4B3/throws/callback-can-throw-gerror/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_31Q4B3/throws/callback-can-throw-gerror/.dirs/runtime 1230s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1230s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 1230s ok 3 /throws/callback-can-throw-gerror 1230s # End of throws tests 1230s TAP version 14 1230s # random seed: R02S8251fdd7d1db943cc42a5b98830557c8 1230s 1..8 1230s # Start of rcbox tests 1230s ok 1 /rcbox/new 1230s # global_point = 0x103b94038710 1230s ok 2 /rcbox/release-full 1230s # global_point_a = 0x103b94038710 1230s # global_point_b = 0x103b940387e0 1230s ok 3 /rcbox/dup 1230s ok 4 /rcbox/alignment 1230s # End of rcbox tests 1230s # Start of atomic-rcbox tests 1230s ok 5 /atomic-rcbox/new 1230s # global_point = 0x103b940387e0 1230s ok 6 /atomic-rcbox/release-full 1230s # global_point_a = 0x103b940387e0 1230s # global_point_b = 0x103b94038710 1230s ok 7 /atomic-rcbox/dup 1230s ok 8 /atomic-rcbox/alignment 1230s # End of atomic-rcbox tests 1230s ok - glib/bindinggroup.test 1230s TAP version 14 1230s # random seed: R02S5a604f2aa164d063ed144a2935ecb342 1230s 1..11 1230s # Start of GObject tests 1230s # Start of BindingGroup tests 1230s ok 1 /GObject/BindingGroup/invalid 1230s ok 2 /GObject/BindingGroup/default 1230s ok 3 /GObject/BindingGroup/bidirectional 1230s ok 4 /GObject/BindingGroup/transform 1230s ok 5 /GObject/BindingGroup/transform-closures 1230s ok 6 /GObject/BindingGroup/same-object 1230s ok 7 /GObject/BindingGroup/weak-ref-source 1230s ok 8 /GObject/BindingGroup/weak-ref-target 1230s ok 9 /GObject/BindingGroup/properties 1230s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 1230s ok 11 /GObject/BindingGroup/empty-closures 1230s # End of BindingGroup tests 1230s # End of GObject tests 1230s # Running test: glib/gdbus-names.test 1230s TAP version 14 1230s # random seed: R02Sa4a8bc6a1cf275d3f0febb6916270ffa 1230s 1..10 1230s # Start of gdbus tests 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/validate-names/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/validate-names/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_U0H4B3/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_U0H4B3/gdbus/validate-names/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/validate-names/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_U0H4B3/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_U0H4B3/gdbus/validate-names/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/validate-names/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/validate-names/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_U0H4B3/gdbus/validate-names/.dirs/runtime 1230s ok 1 /gdbus/validate-names 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-own-name/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-own-name/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_U0H4B3/gdbus/bus-own-name/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-own-name/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_U0H4B3/gdbus/bus-own-name/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-own-name/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-own-name/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-own-name/.dirs/runtime 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s ok 2 /gdbus/bus-own-name 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name/.dirs/runtime 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s ok 3 /gdbus/bus-watch-name 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-auto-start/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-auto-start/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-auto-start/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-auto-start/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-auto-start/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-auto-start/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-auto-start/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-auto-start/.dirs/runtime 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s ok 4 /gdbus/bus-watch-name-auto-start 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1230s dbus-daemon[32654]: [session uid=1000 pid=32654 pidfd=4] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=32645 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 1230s # Acquired a message bus connection 1230s dbus-daemon[32654]: [session uid=1000 pid=32654 pidfd=4] Successfully activated service 'org.gtk.GDBus.FakeService' 1230s # Acquired the name org.gtk.GDBus.FakeService 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-closures/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-closures/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-closures/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-closures/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-closures/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-closures/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-closures/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-closures/.dirs/runtime 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s ok 6 /gdbus/bus-watch-name-closures 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-closures-auto-start/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-closures-auto-start/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-closures-auto-start/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-closures-auto-start/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s ok 7 /gdbus/bus-watch-name-closures-auto-start 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-different-context/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-different-context/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-different-context/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-different-context/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-different-context/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-different-context/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-different-context/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-watch-different-context/.dirs/runtime 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s ok 8 /gdbus/bus-watch-different-context 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-unwatch-early/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-unwatch-early/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_U0H4B3/gdbus/bus-unwatch-early/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-unwatch-early/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_U0H4B3/gdbus/bus-unwatch-early/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-unwatch-early/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-unwatch-early/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_U0H4B3/gdbus/bus-unwatch-early/.dirs/runtime 1230s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1230s ok 9 /gdbus/bus-unwatch-early 1230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/escape-object-path/.dirs/home 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/escape-object-path/.dirs/cache 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_U0H4B3/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_U0H4B3/gdbus/escape-object-path/.dirs/system-config2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/escape-object-path/.dirs/config 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_U0H4B3/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_U0H4B3/gdbus/escape-object-path/.dirs/system-data2 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/escape-object-path/.dirs/data 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_U0H4B3/gdbus/escape-object-path/.dirs/state 1230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_U0H4B3/gdbus/escape-object-path/.dirs/runtime 1230s ok 10 /gdbus/escape-object-path 1230s # End of gdbus tests 1230s ok - glib/gdbus-names.test 1230s # Running test: glib/guuid.test 1230s TAP version 14 1230s # random seed: R02S576328738d78feab809255d3a535b433 1230s 1..2 1230s # Start of uuid tests 1230s ok 1 /uuid/string 1230s ok 2 /uuid/random 1230s # End of uuid tests 1230s ok - glib/guuid.test 1230s # Running test: glib/thread-pool-slow.test 1230s TAP version 14 1230s # random seed: R02Sb7cb900c0bd1a684dee77eaecf8dedc3 1230s 1..7 1230s # Start of threadpool tests 1230s ok 1 /threadpool/functions 1231s ok 2 /threadpool/stop-unused 1231s # slow test /threadpool/stop-unused executed in 0.51 secs 1231s ok 3 /threadpool/pools 1231s # [unsorted] ===> pushed new thread with id:23, number of threads:1, unprocessed:1 1231s # [unsorted] ===> pushed new thread with id:91, number of threads:2, unprocessed:2 1231s # [unsorted] ===> pushed new thread with id:74, number of threads:3, unprocessed:3 1231s # [unsorted] ===> pushed new thread with id:84, number of threads:4, unprocessed:4 1231s # [unsorted] ===> pushed new thread with id:70, number of threads:5, unprocessed:5 1231s # [unsorted] ===> pushed new thread with id:28, number of threads:6, unprocessed:6 1231s # [unsorted] ===> pushed new thread with id:59, number of threads:7, unprocessed:7 1231s # [unsorted] ===> pushed new thread with id:60, number of threads:8, unprocessed:8 1231s # [unsorted] ===> pushed new thread with id:62, number of threads:9, unprocessed:0 1231s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:0 1231s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:1 1231s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:2 1231s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:3 1231s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:4 1231s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:5 1231s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:6 1231s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:7 1231s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:8 1231s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:9 1231s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:10 1231s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:11 1231s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:12 1231s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:13 1231s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:14 1231s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:15 1231s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:16 1231s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:17 1231s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:18 1231s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:19 1231s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:20 1231s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:21 1231s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:22 1231s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:23 1231s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:24 1231s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:25 1231s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:26 1231s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:27 1231s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:28 1231s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:29 1231s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:30 1231s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:31 1231s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:32 1231s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:33 1231s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:34 1231s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:35 1231s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:36 1231s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:37 1231s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:38 1231s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:39 1231s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:40 1231s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:41 1231s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:42 1231s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:43 1231s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:44 1231s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:45 1231s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:46 1231s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:47 1231s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:48 1231s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:49 1231s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:50 1231s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:51 1231s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:52 1231s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:53 1231s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:54 1231s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:55 1231s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:56 1231s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:57 1231s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:58 1231s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:59 1231s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:60 1231s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:61 1231s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:62 1231s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:63 1231s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:64 1231s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:65 1231s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:66 1231s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:67 1231s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:68 1231s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:69 1231s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:70 1231s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:71 1231s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:72 1231s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:73 1231s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:74 1231s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:75 1231s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:76 1231s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:77 1231s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:78 1231s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:79 1231s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:80 1231s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:81 1231s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:82 1231s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:83 1231s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:84 1231s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:85 1231s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:86 1231s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:87 1231s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:88 1231s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:89 1231s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:90 1231s ok 4 /threadpool/no-sort 1231s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:1 1231s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:2 1231s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:3 1231s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:4 1231s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:5 1231s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:6 1231s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:7 1231s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:8 1231s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:9 1231s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:10 1231s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:11 1231s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:12 1231s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:13 1231s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:14 1231s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:15 1231s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:16 1231s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:17 1231s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:18 1231s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:19 1231s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:20 1231s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:21 1231s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:22 1231s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:23 1231s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:24 1231s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:25 1231s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:26 1231s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:27 1231s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:28 1231s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:29 1231s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:30 1231s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:31 1231s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:32 1231s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:33 1231s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:34 1231s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:35 1231s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:36 1231s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:37 1231s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:38 1231s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:39 1231s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:40 1231s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:41 1231s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:42 1231s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:43 1231s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:44 1231s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:45 1231s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:46 1231s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:47 1231s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:48 1231s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:49 1231s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:50 1231s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:51 1231s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:52 1231s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:53 1231s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:54 1231s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:55 1231s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:56 1231s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:57 1231s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:58 1231s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:59 1231s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:60 1231s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:61 1231s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:62 1231s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:63 1231s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:64 1231s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:65 1231s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:66 1231s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:67 1231s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:68 1231s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:69 1231s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:70 1231s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:71 1231s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:72 1231s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:73 1231s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:74 1231s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:75 1231s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:76 1231s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:77 1231s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:78 1231s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:79 1231s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:80 1231s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:81 1231s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:82 1231s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:83 1231s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:84 1231s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:85 1231s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:86 1231s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:87 1231s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:88 1231s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:89 1231s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:90 1231s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:91 1231s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:92 1231s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:93 1231s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:94 1231s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:95 1231s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:96 1231s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:97 1231s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:98 1231s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:99 1231s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:100 1231s # Starting thread pool processing 1231s ok 5 /threadpool/sort 1231s ok 6 /threadpool/stop-unused-multiple 1231s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1231s # Pool idle thread count: 0, unprocessed jobs: 50 1232s # Pool idle thread count: 0, unprocessed jobs: 0 1232s # Pool idle thread count: 0, unprocessed jobs: 0 1232s # Pool idle thread count: 10, unprocessed jobs: 0 1232s # Pool idle thread count: 10, unprocessed jobs: 0 1233s # Pool idle thread count: 10, unprocessed jobs: 0 1233s # Pool idle thread count: 10, unprocessed jobs: 0 1233s # Pool idle thread count: 10, unprocessed jobs: 0 1233s # Pool idle thread count: 10, unprocessed jobs: 0 1234s # Executing: glib/thread-pool-slow.test 1234s # Pool idle thread count: 10, unprocessed jobs: 0 1234s # Pool idle thread count: 10, unprocessed jobs: 0 1234s # Pool idle thread count: 10, unprocessed jobs: 0 1234s # Pool idle thread count: 10, unprocessed jobs: 0 1235s # Pool idle thread count: 10, unprocessed jobs: 0 1235s # Pool idle thread count: 10, unprocessed jobs: 0 1235s # Pool idle thread count: 10, unprocessed jobs: 0 1235s # Pool idle thread count: 10, unprocessed jobs: 0 1236s # Pool idle thread count: 10, unprocessed jobs: 0 1236s # Pool idle thread count: 10, unprocessed jobs: 0 1236s # Pool idle thread count: 10, unprocessed jobs: 0 1236s # Pool idle thread count: 10, unprocessed jobs: 0 1237s # Pool idle thread count: 10, unprocessed jobs: 0 1237s # Pool idle thread count: 10, unprocessed jobs: 0 1237s # Pool idle thread count: 10, unprocessed jobs: 0 1237s # Pool idle thread count: 10, unprocessed jobs: 0 1238s # Pool idle thread count: 10, unprocessed jobs: 0 1238s # Pool idle thread count: 10, unprocessed jobs: 0 1238s # Pool idle thread count: 10, unprocessed jobs: 0 1238s # Pool idle thread count: 10, unprocessed jobs: 0 1239s # Executing: glib/thread-pool-slow.test 1239s # Pool idle thread count: 10, unprocessed jobs: 0 1239s # Pool idle thread count: 10, unprocessed jobs: 0 1239s # Pool idle thread count: 10, unprocessed jobs: 0 1239s # Pool idle thread count: 10, unprocessed jobs: 0 1240s # Pool idle thread count: 10, unprocessed jobs: 0 1240s # Pool idle thread count: 10, unprocessed jobs: 0 1240s # Pool idle thread count: 10, unprocessed jobs: 2 1240s # Pool idle thread count: 10, unprocessed jobs: 2 1240s # Pool idle thread count: 8, unprocessed jobs: 0 1240s # Pool idle thread count: 8, unprocessed jobs: 0 1241s # Pool idle thread count: 10, unprocessed jobs: 0 1241s # Pool idle thread count: 10, unprocessed jobs: 0 1241s # Pool idle thread count: 10, unprocessed jobs: 0 1241s # Pool idle thread count: 10, unprocessed jobs: 0 1242s # Pool idle thread count: 10, unprocessed jobs: 0 1242s # Pool idle thread count: 10, unprocessed jobs: 0 1242s # Pool idle thread count: 2, unprocessed jobs: 0 1242s # Pool idle thread count: 2, unprocessed jobs: 0 1243s # Pool idle thread count: 2, unprocessed jobs: 0 1243s # Pool idle thread count: 2, unprocessed jobs: 0 1243s # Pool idle thread count: 2, unprocessed jobs: 0 1243s # Pool idle thread count: 2, unprocessed jobs: 0 1244s # Executing: glib/thread-pool-slow.test 1244s # Pool idle thread count: 2, unprocessed jobs: 0 1244s # Pool idle thread count: 2, unprocessed jobs: 0 1244s # Pool idle thread count: 2, unprocessed jobs: 0 1244s # Pool idle thread count: 2, unprocessed jobs: 0 1245s # Pool idle thread count: 2, unprocessed jobs: 0 1245s # Pool idle thread count: 2, unprocessed jobs: 0 1245s # Pool idle thread count: 2, unprocessed jobs: 0 1245s # Pool idle thread count: 2, unprocessed jobs: 0 1246s # Pool idle thread count: 2, unprocessed jobs: 0 1246s # Pool idle thread count: 2, unprocessed jobs: 0 1246s # Pool idle thread count: 2, unprocessed jobs: 0 1246s # Pool idle thread count: 2, unprocessed jobs: 0 1247s # Pool idle thread count: 2, unprocessed jobs: 0 1247s # Pool idle thread count: 2, unprocessed jobs: 0 1247s # Pool idle thread count: 2, unprocessed jobs: 0 1247s # Pool idle thread count: 2, unprocessed jobs: 0 1248s # Pool idle thread count: 2, unprocessed jobs: 0 1248s # Pool idle thread count: 2, unprocessed jobs: 0 1248s # Pool idle thread count: 2, unprocessed jobs: 0 1248s # Pool idle thread count: 2, unprocessed jobs: 0 1249s # Executing: glib/thread-pool-slow.test 1249s # Pool idle thread count: 2, unprocessed jobs: 0 1249s # Pool idle thread count: 2, unprocessed jobs: 0 1249s # Pool idle thread count: 2, unprocessed jobs: 0 1249s # Pool idle thread count: 2, unprocessed jobs: 0 1250s # Pool idle thread count: 2, unprocessed jobs: 0 1250s # Pool idle thread count: 2, unprocessed jobs: 0 1250s # Pool idle thread count: 2, unprocessed jobs: 0 1250s # Pool idle thread count: 2, unprocessed jobs: 0 1251s ok 7 /threadpool/idle-time 1251s # slow test /threadpool/idle-time executed in 19.52 secs 1251s # End of threadpool tests 1251s ok - glib/thread-pool-slow.test 1251s # Running test: glib/portal-support-flatpak-none.test 1251s TAP version 14 1251s # random seed: R02Sa1bf33df919999b0da50f4d7a8885e9d 1251s 1..1 1251s # Start of portal-support tests 1251s # Start of flatpak tests 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_O99GC3/portal-support/flatpak/none/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_O99GC3/portal-support/flatpak/none/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_O99GC3/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_O99GC3/portal-support/flatpak/none/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_O99GC3/portal-support/flatpak/none/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_O99GC3/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_O99GC3/portal-support/flatpak/none/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_O99GC3/portal-support/flatpak/none/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_O99GC3/portal-support/flatpak/none/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_O99GC3/portal-support/flatpak/none/.dirs/runtime 1251s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_O99GC3/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 1251s ok 1 /portal-support/flatpak/none 1251s # End of flatpak tests 1251s # End of portal-support tests 1251s ok - glib/portal-support-flatpak-none.test 1251s # Running test: glib/memory-monitor-psi.test 1251s TAP version 14 1251s # random seed: R02S1c345b7deb3d40b23dfb7f93d46202e4 1251s 1..1 1251s # Start of memory-monitor-psi tests 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_memory-monitor-psi_EA7GC3/memory-monitor-psi/receive-signal/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_memory-monitor-psi_EA7GC3/memory-monitor-psi/receive-signal/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_memory-monitor-psi_EA7GC3/memory-monitor-psi/receive-signal/.dirs/system-config1:/tmp/test_memory-monitor-psi_EA7GC3/memory-monitor-psi/receive-signal/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_memory-monitor-psi_EA7GC3/memory-monitor-psi/receive-signal/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_memory-monitor-psi_EA7GC3/memory-monitor-psi/receive-signal/.dirs/system-data1:/tmp/test_memory-monitor-psi_EA7GC3/memory-monitor-psi/receive-signal/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_memory-monitor-psi_EA7GC3/memory-monitor-psi/receive-signal/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_memory-monitor-psi_EA7GC3/memory-monitor-psi/receive-signal/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_memory-monitor-psi_EA7GC3/memory-monitor-psi/receive-signal/.dirs/runtime 1251s # GLib-GIO-DEBUG: Write trigger some 70000 2000000 1251s # GLib-GIO-DEBUG: Write trigger some 100000 2000000 1251s # GLib-GIO-DEBUG: Write trigger full 100000 2000000 1251s ok - glib/memory-monitor-psi.test 1251s # Running test: glib/inet-address.test 1251s ok - glib/inet-address.test 1251s # Running test: glib/qdata.test 1251s # GLib-GIO-DEBUG: Send low memory signal with warning level 0 1251s # GLib-GIO-DEBUG: Send low memory signal with warning level 1 1251s # GLib-GIO-DEBUG: Send low memory signal with warning level 2 1251s ok 1 /memory-monitor-psi/receive-signal 1251s # End of memory-monitor-psi tests 1251s TAP version 14 1251s # random seed: R02Sa4f7723bc0ead0c190430d921f7ad60d 1251s 1..11 1251s # Start of inet-address tests 1251s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string ::1::2 1251s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 2001:1:2:3:4:5:6:7] 1251s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7 1251s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7] 1251s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7]:80 1251s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 0:1:2:3:4:5:6:7:8:9 1251s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string ::FFFFFFF 1251s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 204.152.189.116:80 1251s ok 1 /inet-address/parse 1251s ok 2 /inet-address/any 1251s ok 3 /inet-address/loopback 1251s ok 4 /inet-address/bytes 1251s ok 5 /inet-address/property 1251s # End of inet-address tests 1251s # Start of socket-address tests 1251s ok 6 /socket-address/basic 1251s ok 7 /socket-address/to-string 1251s # End of socket-address tests 1251s # Start of address-mask tests 1251s ok 8 /address-mask/parse 1251s ok 9 /address-mask/property 1251s ok 10 /address-mask/equal 1251s ok 11 /address-mask/match 1251s # End of address-mask tests 1251s TAP version 14 1251s # random seed: R02S5ac9272bac529dd3bc3e55e2197fbb75 1251s 1..2 1251s # Start of qdata tests 1251s ok - glib/qdata.test 1251s ok 1 /qdata/threaded 1251s ok 2 /qdata/dup 1251s # End of qdata tests 1251s # Running test: glib/gdbus-test-codegen.test 1251s TAP version 14 1251s # random seed: R02Sfca659c9708d9a5bb33766bb5df8a672 1251s 1..8 1251s # Start of gdbus tests 1251s # Start of codegen tests 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/annotations/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/annotations/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/annotations/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/annotations/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/annotations/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/annotations/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/annotations/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/annotations/.dirs/runtime 1251s ok 1 /gdbus/codegen/annotations 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/interface_stability/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/interface_stability/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/interface_stability/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/interface_stability/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/interface_stability/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/interface_stability/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/interface_stability/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/interface_stability/.dirs/runtime 1251s ok 2 /gdbus/codegen/interface_stability 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/object-manager/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/object-manager/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/object-manager/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/object-manager/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/object-manager/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/object-manager/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/object-manager/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/object-manager/.dirs/runtime 1251s ok 3 /gdbus/codegen/object-manager 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/property-naming/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/property-naming/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/property-naming/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/property-naming/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/property-naming/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/property-naming/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/property-naming/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/property-naming/.dirs/runtime 1251s ok 4 /gdbus/codegen/property-naming 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/autocleanups/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/autocleanups/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/autocleanups/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/autocleanups/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/autocleanups/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/autocleanups/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/autocleanups/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/autocleanups/.dirs/runtime 1251s ok 5 /gdbus/codegen/autocleanups 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/deprecations/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/deprecations/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/deprecations/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/deprecations/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/deprecations/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/deprecations/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/deprecations/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/deprecations/.dirs/runtime 1251s ok 6 /gdbus/codegen/deprecations 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/standalone-interface-info/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/standalone-interface-info/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/standalone-interface-info/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/standalone-interface-info/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/standalone-interface-info/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/standalone-interface-info/.dirs/runtime 1251s ok 7 /gdbus/codegen/standalone-interface-info 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/unix-fd-list/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/unix-fd-list/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/unix-fd-list/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/unix-fd-list/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/unix-fd-list/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/unix-fd-list/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/unix-fd-list/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_DOS2B3/gdbus/codegen/unix-fd-list/.dirs/runtime 1251s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1251s ok 8 /gdbus/codegen/unix-fd-list 1251s # End of codegen tests 1251s # End of gdbus tests 1251s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1251s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1251s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1251s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1251s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1251s ok - glib/gdbus-test-codegen.test 1251s # Running test: glib/null-settings-backend.test 1251s TAP version 14 1251s # random seed: R02S7929704c7e920b6b6db727f8234f11ae 1251s 1..1 1251s # Start of null-settings-backend tests 1251s ok 1 /null-settings-backend/extension-point-registered 1251s # End of null-settings-backend tests 1251s ok - glib/null-settings-backend.test 1251s # Running test: glib/macros-c-11.test 1251s TAP version 14 1251s # random seed: R02Seb234bbc1658ce988c0fe49be52355cf 1251s 1..4 1251s # Start of C tests 1251s ok 1 /C/standard-11 1251s # End of C tests 1251s # Start of alignof tests 1251s ok 2 /alignof/fallback 1251s # End of alignof tests 1251s # Start of assert tests 1251s ok 3 /assert/static 1251s # End of assert tests 1251s # Start of struct tests 1251s ok 4 /struct/sizeof_member 1251s # End of struct tests 1251s ok - glib/macros-c-11.test 1251s # Running test: glib/gdbus-peer-object-manager.test 1251s ok - glib/gdbus-peer-object-manager.test 1251s # Running test: glib/contenttype.test 1251s TAP version 14 1251s # random seed: R02Sa33901950ff2568b2bd9331160fded16 1251s 1..2 1251s # Start of gdbus tests 1251s # Start of peer-object-manager tests 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_R2Z3B3/gdbus/peer-object-manager/normal/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_R2Z3B3/gdbus/peer-object-manager/normal/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_R2Z3B3/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_R2Z3B3/gdbus/peer-object-manager/normal/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_R2Z3B3/gdbus/peer-object-manager/normal/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_R2Z3B3/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_R2Z3B3/gdbus/peer-object-manager/normal/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_R2Z3B3/gdbus/peer-object-manager/normal/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_R2Z3B3/gdbus/peer-object-manager/normal/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_R2Z3B3/gdbus/peer-object-manager/normal/.dirs/runtime 1251s ok 1 /gdbus/peer-object-manager/normal 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_R2Z3B3/gdbus/peer-object-manager/root/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_R2Z3B3/gdbus/peer-object-manager/root/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_R2Z3B3/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_R2Z3B3/gdbus/peer-object-manager/root/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_R2Z3B3/gdbus/peer-object-manager/root/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_R2Z3B3/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_R2Z3B3/gdbus/peer-object-manager/root/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_R2Z3B3/gdbus/peer-object-manager/root/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_R2Z3B3/gdbus/peer-object-manager/root/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_R2Z3B3/gdbus/peer-object-manager/root/.dirs/runtime 1251s ok 2 /gdbus/peer-object-manager/root 1251s # End of peer-object-manager tests 1251s # End of gdbus tests 1251s TAP version 14 1251s # random seed: R02S4cba2c067a7f4f5eb457c9dd47b9b2b1 1251s 1..14 1251s # Start of contenttype tests 1251s ok 1 /contenttype/guess 1251s ok 2 /contenttype/guess_svg_from_data 1251s ok 3 /contenttype/mime_to_content # SKIP mime from content type test not implemented on UNIX 1251s ok 4 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 1251s ok 5 /contenttype/unknown 1251s ok 6 /contenttype/subtype 1251s ok 7 /contenttype/list 1251s ok 8 /contenttype/executable 1251s ok 9 /contenttype/description 1251s ok 10 /contenttype/icon 1251s ok 11 /contenttype/symbolic-icon 1251s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1251s ok 12 /contenttype/tree 1251s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 1251s ok 13 /contenttype/tree_invalid_encoding 1251s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 1251s ok 14 /contenttype/test_type_is_a_special_case 1251s # End of contenttype tests 1251s ok - glib/contenttype.test 1251s # Running test: glib/cxx.test 1251s ok - glib/cxx.test 1251s # Running test: glib/resolver-parsing.test 1251s TAP version 14 1251s # random seed: R02Sd55a56648d3eba3003a26f2852abd7d7 1251s 1..2 1251s # Start of gtask tests 1251s # 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. 1251s ok 1 /gtask/name 1251s # Start of name tests 1251s # 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. 1251s ok 2 /gtask/name/macro-wrapper 1251s # End of name tests 1251s # End of gtask tests 1251s TAP version 14 1251s # random seed: R02S83fc1fa85f42620fd52412a292cf6e79 1251s 1..21 1251s # Start of gresolver tests 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/invalid-header/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/invalid-header/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_XQR3B3/gresolver/invalid-header/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/invalid-header/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_XQR3B3/gresolver/invalid-header/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/invalid-header/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/invalid-header/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XQR3B3/gresolver/invalid-header/.dirs/runtime 1251s ok 1 /gresolver/invalid-header 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/record-ownership/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/record-ownership/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_XQR3B3/gresolver/record-ownership/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/record-ownership/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_XQR3B3/gresolver/record-ownership/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/record-ownership/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/record-ownership/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XQR3B3/gresolver/record-ownership/.dirs/runtime 1251s ok 2 /gresolver/record-ownership 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/unknown-record-type/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/unknown-record-type/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_XQR3B3/gresolver/unknown-record-type/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/unknown-record-type/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_XQR3B3/gresolver/unknown-record-type/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/unknown-record-type/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/unknown-record-type/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XQR3B3/gresolver/unknown-record-type/.dirs/runtime 1251s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 1251s ok 3 /gresolver/unknown-record-type 1251s # Start of mx tests 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/mx/valid/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/mx/valid/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_XQR3B3/gresolver/mx/valid/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/mx/valid/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_XQR3B3/gresolver/mx/valid/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/mx/valid/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/mx/valid/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XQR3B3/gresolver/mx/valid/.dirs/runtime 1251s ok 4 /gresolver/mx/valid 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/mx/invalid/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/mx/invalid/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_XQR3B3/gresolver/mx/invalid/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/mx/invalid/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_XQR3B3/gresolver/mx/invalid/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/mx/invalid/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/mx/invalid/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XQR3B3/gresolver/mx/invalid/.dirs/runtime 1251s ok 5 /gresolver/mx/invalid 1251s # Start of invalid tests 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/mx/invalid/too-short/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/mx/invalid/too-short/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_XQR3B3/gresolver/mx/invalid/too-short/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/mx/invalid/too-short/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_XQR3B3/gresolver/mx/invalid/too-short/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/mx/invalid/too-short/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/mx/invalid/too-short/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XQR3B3/gresolver/mx/invalid/too-short/.dirs/runtime 1251s ok 6 /gresolver/mx/invalid/too-short 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/mx/invalid/too-short2/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/mx/invalid/too-short2/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_XQR3B3/gresolver/mx/invalid/too-short2/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/mx/invalid/too-short2/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_XQR3B3/gresolver/mx/invalid/too-short2/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/mx/invalid/too-short2/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/mx/invalid/too-short2/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XQR3B3/gresolver/mx/invalid/too-short2/.dirs/runtime 1251s ok 7 /gresolver/mx/invalid/too-short2 1251s # End of invalid tests 1251s # End of mx tests 1251s # Start of ns tests 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/ns/valid/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/ns/valid/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_XQR3B3/gresolver/ns/valid/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/ns/valid/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_XQR3B3/gresolver/ns/valid/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/ns/valid/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/ns/valid/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XQR3B3/gresolver/ns/valid/.dirs/runtime 1251s ok 8 /gresolver/ns/valid 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/ns/invalid/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/ns/invalid/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_XQR3B3/gresolver/ns/invalid/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/ns/invalid/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_XQR3B3/gresolver/ns/invalid/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/ns/invalid/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/ns/invalid/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XQR3B3/gresolver/ns/invalid/.dirs/runtime 1251s ok 9 /gresolver/ns/invalid 1251s # End of ns tests 1251s # Start of soa tests 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/soa/valid/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/soa/valid/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_XQR3B3/gresolver/soa/valid/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/soa/valid/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_XQR3B3/gresolver/soa/valid/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/soa/valid/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/soa/valid/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XQR3B3/gresolver/soa/valid/.dirs/runtime 1251s ok 10 /gresolver/soa/valid 1251s # Start of invalid tests 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/soa/invalid/mname/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/soa/invalid/mname/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_XQR3B3/gresolver/soa/invalid/mname/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/soa/invalid/mname/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_XQR3B3/gresolver/soa/invalid/mname/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/soa/invalid/mname/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/soa/invalid/mname/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XQR3B3/gresolver/soa/invalid/mname/.dirs/runtime 1251s ok 11 /gresolver/soa/invalid/mname 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/soa/invalid/rname/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/soa/invalid/rname/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_XQR3B3/gresolver/soa/invalid/rname/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/soa/invalid/rname/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_XQR3B3/gresolver/soa/invalid/rname/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/soa/invalid/rname/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/soa/invalid/rname/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XQR3B3/gresolver/soa/invalid/rname/.dirs/runtime 1251s ok 12 /gresolver/soa/invalid/rname 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/soa/invalid/too-short/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/soa/invalid/too-short/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_XQR3B3/gresolver/soa/invalid/too-short/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/soa/invalid/too-short/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_XQR3B3/gresolver/soa/invalid/too-short/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/soa/invalid/too-short/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/soa/invalid/too-short/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XQR3B3/gresolver/soa/invalid/too-short/.dirs/runtime 1251s ok 13 /gresolver/soa/invalid/too-short 1251s # End of invalid tests 1251s # End of soa tests 1251s # Start of srv tests 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/srv/valid/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/srv/valid/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_XQR3B3/gresolver/srv/valid/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/srv/valid/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_XQR3B3/gresolver/srv/valid/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/srv/valid/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/srv/valid/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XQR3B3/gresolver/srv/valid/.dirs/runtime 1251s ok 14 /gresolver/srv/valid 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/srv/invalid/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/srv/invalid/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_XQR3B3/gresolver/srv/invalid/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/srv/invalid/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_XQR3B3/gresolver/srv/invalid/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/srv/invalid/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/srv/invalid/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XQR3B3/gresolver/srv/invalid/.dirs/runtime 1251s ok 15 /gresolver/srv/invalid 1251s # Start of invalid tests 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/srv/invalid/too-short/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/srv/invalid/too-short/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_XQR3B3/gresolver/srv/invalid/too-short/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/srv/invalid/too-short/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_XQR3B3/gresolver/srv/invalid/too-short/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/srv/invalid/too-short/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/srv/invalid/too-short/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XQR3B3/gresolver/srv/invalid/too-short/.dirs/runtime 1251s ok 16 /gresolver/srv/invalid/too-short 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/srv/invalid/too-short2/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/srv/invalid/too-short2/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_XQR3B3/gresolver/srv/invalid/too-short2/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/srv/invalid/too-short2/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_XQR3B3/gresolver/srv/invalid/too-short2/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/srv/invalid/too-short2/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/srv/invalid/too-short2/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XQR3B3/gresolver/srv/invalid/too-short2/.dirs/runtime 1251s ok 17 /gresolver/srv/invalid/too-short2 1251s # End of invalid tests 1251s # End of srv tests 1251s # Start of txt tests 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /ok - glib/resolver-parsing.test 1251s # Running test: glib/threadtests.test 1251s tmp/test_resolver-parsing_XQR3B3/gresolver/txt/valid/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/txt/valid/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_XQR3B3/gresolver/txt/valid/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/txt/valid/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_XQR3B3/gresolver/txt/valid/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/txt/valid/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/txt/valid/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XQR3B3/gresolver/txt/valid/.dirs/runtime 1251s ok 18 /gresolver/txt/valid 1251s # Start of valid tests 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/txt/valid/multiple-strings/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/txt/valid/multiple-strings/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_XQR3B3/gresolver/txt/valid/multiple-strings/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/txt/valid/multiple-strings/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_XQR3B3/gresolver/txt/valid/multiple-strings/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/txt/valid/multiple-strings/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/txt/valid/multiple-strings/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XQR3B3/gresolver/txt/valid/multiple-strings/.dirs/runtime 1251s ok 19 /gresolver/txt/valid/multiple-strings 1251s # End of valid tests 1251s # Start of invalid tests 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/txt/invalid/empty/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/txt/invalid/empty/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_XQR3B3/gresolver/txt/invalid/empty/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/txt/invalid/empty/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_XQR3B3/gresolver/txt/invalid/empty/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/txt/invalid/empty/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/txt/invalid/empty/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XQR3B3/gresolver/txt/invalid/empty/.dirs/runtime 1251s ok 20 /gresolver/txt/invalid/empty 1251s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/txt/invalid/overflow/.dirs/home 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/txt/invalid/overflow/.dirs/cache 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_XQR3B3/gresolver/txt/invalid/overflow/.dirs/system-config2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/txt/invalid/overflow/.dirs/config 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_XQR3B3/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_XQR3B3/gresolver/txt/invalid/overflow/.dirs/system-data2 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/txt/invalid/overflow/.dirs/data 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_XQR3B3/gresolver/txt/invalid/overflow/.dirs/state 1251s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_XQR3B3/gresolver/txt/invalid/overflow/.dirs/runtime 1251s ok 21 /gresolver/txt/invalid/overflow 1251s # End of invalid tests 1251s # End of txt tests 1251s # End of gresolver tests 1251s TAP version 14 1251s # random seed: R02Sbbd9d7c6f27e3bee1b4bf862bc60ad6a 1251s 1..5 1251s # Start of GObject tests 1251s ok 1 /GObject/threaded-object-init 1253s ok 2 /GObject/threaded-weak-ref 1253s # slow test /GObject/threaded-weak-ref executed in 1.71 secs 1253s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1253s # /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 1253s ok 3 /GObject/threaded-toggle-notify 1253s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1253s # Start of threaded-weak-ref tests 1253s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1253s # /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. 1253s ok 5 /GObject/threaded-weak-ref/on-finalization 1253s # End of threaded-weak-ref tests 1253s # End of GObject tests 1253s ok - glib/threadtests.test 1253s # Running test: glib/regex.test 1253s TAP version 14 1253s # random seed: R02Sa5b1e025771d21e0839e8665531cd8db 1253s 1..848 1253s # Start of regex tests 1253s ok 1 /regex/properties 1253s ok 2 /regex/class 1253s ok 3 /regex/lookahead 1253s ok 4 /regex/lookbehind 1253s ok 5 /regex/subpattern 1253s ok 6 /regex/condition 1253s ok 7 /regex/recursion 1253s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 1253s ok 8 /regex/multiline 1253s ok 9 /regex/explicit-crlf 1253s ok 10 /regex/max-lookbehind 1253s ok 11 /regex/compile-errors 1253s ok 12 /regex/jit-unsupported-matching 1253s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 1253s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 1253s ok 13 /regex/unmatched-named-subpattern 1253s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 1253s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 1253s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1253s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1253s ok 14 /regex/compiled-regex-after-jit-failure 1253s # Start of new tests 1253s ok 15 /regex/new/1 1253s ok 16 /regex/new/2 1253s ok 17 /regex/new/3 1253s ok 18 /regex/new/4 1253s ok 19 /regex/new/5 1253s ok 20 /regex/new/6 1253s ok 21 /regex/new/7 1253s ok 22 /regex/new/8 1253s ok 23 /regex/new/9 1253s ok 24 /regex/new/10 1253s ok 25 /regex/new/11 1253s ok 26 /regex/new/12 1253s ok 27 /regex/new/13 1253s ok 28 /regex/new/14 1253s ok 29 /regex/new/15 1253s ok 30 /regex/new/16 1253s ok 31 /regex/new/17 1253s ok 32 /regex/new/18 1253s ok 33 /regex/new/19 1253s ok 34 /regex/new/71 1253s ok 35 /regex/new/80 1253s ok 36 /regex/new/82 1253s # End of new tests 1253s # Start of new-check-flags tests 1253s ok 37 /regex/new-check-flags/20 1253s ok 38 /regex/new-check-flags/21 1253s ok 39 /regex/new-check-flags/22 1253s ok 40 /regex/new-check-flags/23 1253s ok 41 /regex/new-check-flags/24 1253s ok 42 /regex/new-check-flags/25 1253s ok 43 /regex/new-check-flags/26 1253s ok 44 /regex/new-check-flags/27 1253s ok 45 /regex/new-check-flags/28 1253s ok 46 /regex/new-check-flags/29 1253s ok 47 /regex/new-check-flags/30 1253s ok 48 /regex/new-check-flags/31 1253s ok 49 /regex/new-check-flags/32 1253s ok 50 /regex/new-check-flags/33 1253s ok 51 /regex/new-check-flags/34 1253s ok 52 /regex/new-check-flags/35 1253s ok 53 /regex/new-check-flags/36 1253s # End of new-check-flags tests 1253s # Start of new-fail tests 1253s ok 54 /regex/new-fail/37 1253s ok 55 /regex/new-fail/38 1253s ok 56 /regex/new-fail/39 1253s ok 57 /regex/new-fail/40 1253s ok 58 /regex/new-fail/41 1253s ok 59 /regex/new-fail/42 1253s ok 60 /regex/new-fail/43 1253s ok 61 /regex/new-fail/44 1253s ok 62 /regex/new-fail/45 1253s ok 63 /regex/new-fail/46 1253s ok 64 /regex/new-fail/47 1253s ok 65 /regex/new-fail/48 1253s ok 66 /regex/new-fail/49 1253s ok 67 /regex/new-fail/50 1253s ok 68 /regex/new-fail/51 1253s ok 69 /regex/new-fail/52 1253s ok 70 /regex/new-fail/53 1253s ok 71 /regex/new-fail/54 1253s ok 72 /regex/new-fail/55 1253s ok 73 /regex/new-fail/56 1253s ok 74 /regex/new-fail/57 1253s ok 75 /regex/new-fail/58 1253s ok 76 /regex/new-fail/59 1253s ok 77 /regex/new-fail/60 1253s ok 78 /regex/new-fail/61 1253s ok 79 /regex/new-fail/62 1253s ok 80 /regex/new-fail/63 1253s ok 81 /regex/new-fail/64 1253s ok 82 /regex/new-fail/65 1253s ok 83 /regex/new-fail/66 1253s ok 84 /regex/new-fail/67 1253s ok 85 /regex/new-fail/68 1253s ok 86 /regex/new-fail/69 1253s ok 87 /regex/new-fail/70 1253s ok 88 /regex/new-fail/72 1253s ok 89 /regex/new-fail/73 1253s ok 90 /regex/new-fail/74 1253s ok 91 /regex/new-fail/75 1253s ok 92 /regex/new-fail/76 1253s ok 93 /regex/new-fail/77 1253s ok 94 /regex/new-fail/78 1253s ok 95 /regex/new-fail/79 1253s ok 96 /regex/new-fail/81 1253s ok 97 /regex/new-fail/83 1253s ok 98 /regex/new-fail/84 1253s ok 99 /regex/new-fail/85 1253s ok 100 /regex/new-fail/86 1253s ok 101 /regex/new-fail/87 1253s ok 102 /regex/new-fail/88 1253s ok 103 /regex/new-fail/89 1253s ok 104 /regex/new-fail/90 1253s ok 105 /regex/new-fail/91 1253s # End of new-fail tests 1253s # Start of match-simple tests 1253s ok 106 /regex/match-simple/92 1253s ok 107 /regex/match-simple/93 1253s ok 108 /regex/match-simple/94 1253s ok 109 /regex/match-simple/95 1253s ok 110 /regex/match-simple/96 1253s ok 111 /regex/match-simple/97 1253s ok 112 /regex/match-simple/98 1253s ok 113 /regex/match-simple/99 1253s ok 114 /regex/match-simple/100 1253s ok 115 /regex/match-simple/101 1253s ok 116 /regex/match-simple/102 1253s ok 117 /regex/match-simple/103 1253s ok 118 /regex/match-simple/104 1253s ok 119 /regex/match-simple/105 1253s ok 120 /regex/match-simple/106 1253s ok 121 /regex/match-simple/107 1253s ok 122 /regex/match-simple/108 1253s ok 123 /regex/match-simple/109 1253s ok 124 /regex/match-simple/110 1253s ok 125 /regex/match-simple/111 1253s ok 126 /regex/match-simple/112 1253s ok 127 /regex/match-simple/113 1253s ok 128 /regex/match-simple/114 1253s ok 129 /regex/match-simple/115 1253s ok 130 /regex/match-simple/116 1253s ok 131 /regex/match-simple/117 1253s ok 132 /regex/match-simple/118 1253s ok 133 /regex/match-simple/119 1253s ok 134 /regex/match-simple/120 1253s ok 135 /regex/match-simple/121 1253s ok 136 /regex/match-simple/122 1253s ok 137 /regex/match-simple/123 1253s ok 138 /regex/match-simple/124 1253s ok 139 /regex/match-simple/125 1253s ok 140 /regex/match-simple/126 1253s ok 141 /regex/match-simple/127 1253s ok 142 /regex/match-simple/128 1253s ok 143 /regex/match-simple/129 1253s ok 144 /regex/match-simple/130 1253s ok 145 /regex/match-simple/131 1253s ok 146 /regex/match-simple/132 1253s ok 147 /regex/match-simple/133 1253s ok 148 /regex/match-simple/134 1253s ok 149 /regex/match-simple/135 1253s ok 150 /regex/match-simple/136 1253s ok 151 /regex/match-simple/137 1253s ok 152 /regex/match-simple/138 1253s ok 153 /regex/match-simple/139 1253s ok 154 /regex/match-simple/140 1253s ok 155 /regex/match-simple/141 1253s ok 156 /regex/match-simple/142 1253s ok 157 /regex/match-simple/143 1253s ok 158 /regex/match-simple/144 1253s ok 159 /regex/match-simple/145 1253s ok 160 /regex/match-simple/146 1253s ok 161 /regex/match-simple/147 1253s ok 162 /regex/match-simple/148 1253s ok 163 /regex/match-simple/149 1253s ok 164 /regex/match-simple/150 1253s ok 165 /regex/match-simple/151 1253s ok 166 /regex/match-simple/152 1253s ok 167 /regex/match-simple/153 1253s ok 168 /regex/match-simple/154 1253s ok 169 /regex/match-simple/155 1253s ok 170 /regex/match-simple/156 1253s ok 171 /regex/match-simple/157 1253s ok 172 /regex/match-simple/158 1253s ok 173 /regex/match-simple/159 1253s ok 174 /regex/match-simple/160 1253s ok 175 /regex/match-simple/161 1253s ok 176 /regex/match-simple/162 1253s ok 177 /regex/match-simple/163 1253s ok 178 /regex/match-simple/164 1253s # End of match-simple tests 1253s # Start of match-simple-optimized tests 1253s ok 179 /regex/match-simple-optimized/92 1253s ok 180 /regex/match-simple-optimized/93 1253s ok 181 /regex/match-simple-optimized/94 1253s ok 182 /regex/match-simple-optimized/95 1253s ok 183 /regex/match-simple-optimized/96 1253s ok 184 /regex/match-simple-optimized/97 1253s ok 185 /regex/match-simple-optimized/98 1253s ok 186 /regex/match-simple-optimized/99 1253s ok 187 /regex/match-simple-optimized/100 1253s ok 188 /regex/match-simple-optimized/101 1253s ok 189 /regex/match-simple-optimized/102 1253s ok 190 /regex/match-simple-optimized/103 1253s ok 191 /regex/match-simple-optimized/104 1253s ok 192 /regex/match-simple-optimized/105 1253s ok 193 /regex/match-simple-optimized/106 1253s ok 194 /regex/match-simple-optimized/107 1253s ok 195 /regex/match-simple-optimized/108 1253s ok 196 /regex/match-simple-optimized/109 1253s ok 197 /regex/match-simple-optimized/110 1253s ok 198 /regex/match-simple-optimized/111 1253s ok 199 /regex/match-simple-optimized/112 1253s ok 200 /regex/match-simple-optimized/113 1253s ok 201 /regex/match-simple-optimized/114 1253s ok 202 /regex/match-simple-optimized/115 1253s ok 203 /regex/match-simple-optimized/116 1253s ok 204 /regex/match-simple-optimized/117 1253s ok 205 /regex/match-simple-optimized/118 1253s ok 206 /regex/match-simple-optimized/119 1253s ok 207 /regex/match-simple-optimized/120 1253s ok 208 /regex/match-simple-optimized/121 1253s ok 209 /regex/match-simple-optimized/122 1253s ok 210 /regex/match-simple-optimized/123 1253s ok 211 /regex/match-simple-optimized/124 1253s ok 212 /regex/match-simple-optimized/125 1253s ok 213 /regex/match-simple-optimized/126 1253s ok 214 /regex/match-simple-optimized/127 1253s ok 215 /regex/match-simple-optimized/128 1253s ok 216 /regex/match-simple-optimized/129 1253s ok 217 /regex/match-simple-optimized/130 1253s ok 218 /regex/match-simple-optimized/131 1253s ok 219 /regex/match-simple-optimized/132 1253s ok 220 /regex/match-simple-optimized/133 1253s ok 221 /regex/match-simple-optimized/134 1253s ok 222 /regex/match-simple-optimized/135 1253s ok 223 /regex/match-simple-optimized/136 1253s ok 224 /regex/match-simple-optimized/137 1253s ok 225 /regex/match-simple-optimized/138 1253s ok 226 /regex/match-simple-optimized/139 1253s ok 227 /regex/match-simple-optimized/140 1253s ok 228 /regex/match-simple-optimized/141 1253s ok 229 /regex/match-simple-optimized/142 1253s ok 230 /regex/match-simple-optimized/143 1253s ok 231 /regex/match-simple-optimized/144 1253s ok 232 /regex/match-simple-optimized/145 1253s ok 233 /regex/match-simple-optimized/146 1253s ok 234 /regex/match-simple-optimized/147 1253s ok 235 /regex/match-simple-optimized/148 1253s ok 236 /regex/match-simple-optimized/149 1253s ok 237 /regex/match-simple-optimized/150 1253s ok 238 /regex/match-simple-optimized/151 1253s ok 239 /regex/match-simple-optimized/152 1253s ok 240 /regex/match-simple-optimized/153 1253s ok 241 /regex/match-simple-optimized/154 1253s ok 242 /regex/match-simple-optimized/155 1253s ok 243 /regex/match-simple-optimized/156 1253s ok 244 /regex/match-simple-optimized/157 1253s ok 245 /regex/match-simple-optimized/158 1253s ok 246 /regex/match-simple-optimized/159 1253s ok 247 /regex/match-simple-optimized/160 1253s ok 248 /regex/match-simple-optimized/161 1253s ok 249 /regex/match-simple-optimized/162 1253s ok 250 /regex/match-simple-optimized/163 1253s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 1253s ok 251 /regex/match-simple-optimized/164 1253s # End of match-simple-optimized tests 1253s # Start of match tests 1253s ok 252 /regex/match/165 1253s ok 253 /regex/match/166 1253s ok 254 /regex/match/167 1253s ok 255 /regex/match/168 1253s ok 256 /regex/match/169 1253s ok 257 /regex/match/170 1253s ok 258 /regex/match/171 1253s ok 259 /regex/match/172 1253s ok 260 /regex/match/173 1253s ok 261 /regex/match/174 1253s ok 262 /regex/match/175 1253s ok 263 /regex/match/176 1253s ok 264 /regex/match/177 1253s ok 265 /regex/match/178 1253s ok 266 /regex/match/179 1253s ok 267 /regex/match/180 1253s ok 268 /regex/match/181 1253s ok 269 /regex/match/182 1253s ok 270 /regex/match/183 1253s ok 271 /regex/match/184 1253s ok 272 /regex/match/185 1253s ok 273 /regex/match/186 1253s ok 274 /regex/match/187 1253s ok 275 /regex/match/188 1253s ok 276 /regex/match/189 1253s ok 277 /regex/match/190 1253s ok 278 /regex/match/191 1253s ok 279 /regex/match/192 1253s ok 280 /regex/match/193 1253s ok 281 /regex/match/194 1253s ok 282 /regex/match/195 1253s ok 283 /regex/match/196 1253s ok 284 /regex/match/197 1253s ok 285 /regex/match/198 1253s ok 286 /regex/match/199 1253s ok 287 /regex/match/200 1253s ok 288 /regex/match/201 1253s ok 289 /regex/match/202 1253s ok 290 /regex/match/203 1253s ok 291 /regex/match/204 1253s ok 292 /regex/match/205 1253s ok 293 /regex/match/206 1253s ok 294 /regex/match/207 1253s ok 295 /regex/match/208 1253s ok 296 /regex/match/209 1253s ok 297 /regex/match/210 1253s ok 298 /regex/match/211 1253s ok 299 /regex/match/212 1253s ok 300 /regex/match/213 1253s ok 301 /regex/match/214 1253s ok 302 /regex/match/215 1253s ok 303 /regex/match/216 1253s ok 304 /regex/match/217 1253s ok 305 /regex/match/218 1253s ok 306 /regex/match/219 1253s ok 307 /regex/match/220 1253s ok 308 /regex/match/221 1253s ok 309 /regex/match/222 1253s ok 310 /regex/match/223 1253s ok 311 /regex/match/224 1253s ok 312 /regex/match/225 1253s ok 313 /regex/match/226 1253s ok 314 /regex/match/227 1253s ok 315 /regex/match/228 1253s ok 316 /regex/match/229 1253s ok 317 /regex/match/230 1253s ok 318 /regex/match/231 1253s ok 319 /regex/match/232 1253s ok 320 /regex/match/233 1253s ok 321 /regex/match/234 1253s ok 322 /regex/match/235 1253s ok 323 /regex/match/236 1253s ok 324 /regex/match/237 1253s ok 325 /regex/match/238 1253s ok 326 /regex/match/239 1253s ok 327 /regex/match/240 1253s ok 328 /regex/match/241 1253s ok 329 /regex/match/242 1253s ok 330 /regex/match/243 1253s ok 331 /regex/match/244 1253s ok 332 /regex/match/245 1253s ok 333 /regex/match/246 1253s ok 334 /regex/match/partial281 1253s ok 335 /regex/match/partial282 1253s ok 336 /regex/match/partial283 1253s ok 337 /regex/match/partial284 1253s ok 338 /regex/match/partial285 1253s ok 339 /regex/match/partial286 1253s ok 340 /regex/match/partial287 1253s ok 341 /regex/match/partial288 1253s ok 342 /regex/match/partial289 1253s ok 343 /regex/match/partial290 1253s ok 344 /regex/match/partial291 1253s ok 345 /regex/match/partial292 1253s ok 346 /regex/match/partial293 1253s ok 347 /regex/match/partial294 1253s ok 348 /regex/match/partial295 1253s ok 349 /regex/match/partial296 1253s ok 350 /regex/match/partial297 1253s ok 351 /regex/match/partial298 1253s ok 352 /regex/match/partial299 1253s ok 353 /regex/match/partial300 1253s ok 354 /regex/match/partial301 1253s ok 355 /regex/match/partial302 1253s # Start of next0 tests 1253s ok 356 /regex/match/next0/247 1253s ok 357 /regex/match/next0/248 1253s ok 358 /regex/match/next0/249 1253s ok 359 /regex/match/next0/250 1253s # End of next0 tests 1253s # Start of next1 tests 1253s ok 360 /regex/match/next1/251 1253s ok 361 /regex/match/next1/252 1253s ok 362 /regex/match/next1/253 1253s ok 363 /regex/match/next1/254 1253s ok 364 /regex/match/next1/255 1253s # End of next1 tests 1253s # Start of next2 tests 1253s ok 365 /regex/match/next2/256 1253s ok 366 /regex/match/next2/257 1253s ok 367 /regex/match/next2/258 1253s ok 368 /regex/match/next2/259 1253s ok 369 /regex/match/next2/260 1253s ok 370 /regex/match/next2/261 1253s ok 371 /regex/match/next2/262 1253s ok 372 /regex/match/next2/263 1253s # End of next2 tests 1253s # Start of next3 tests 1253s ok 373 /regex/match/next3/264 1253s ok 374 /regex/match/next3/265 1253s ok 375 /regex/match/next3/266 1253s ok 376 /regex/match/next3/267 1253s ok 377 /regex/match/next3/268 1253s ok 378 /regex/match/next3/269 1253s # End of next3 tests 1253s # Start of next4 tests 1253s ok 379 /regex/match/next4/270 1253s # End of next4 tests 1253s # Start of count tests 1253s ok 380 /regex/match/count/271 1253s ok 381 /regex/match/count/272 1253s ok 382 /regex/match/count/273 1253s ok 383 /regex/match/count/274 1253s ok 384 /regex/match/count/275 1253s ok 385 /regex/match/count/276 1253s ok 386 /regex/match/count/277 1253s ok 387 /regex/match/count/278 1253s ok 388 /regex/match/count/279 1253s ok 389 /regex/match/count/280 1253s # End of count tests 1253s # Start of count-optimized tests 1253s ok 390 /regex/match/count-optimized/271 1253s ok 391 /regex/match/count-optimized/272 1253s ok 392 /regex/match/count-optimized/273 1253s ok 393 /regex/match/count-optimized/274 1253s ok 394 /regex/match/count-optimized/275 1253s ok 395 /regex/match/count-optimized/276 1253s ok 396 /regex/match/count-optimized/277 1253s ok 397 /regex/match/count-optimized/278 1253s ok 398 /regex/match/count-optimized/279 1253s ok 399 /regex/match/count-optimized/280 1253s # End of count-optimized tests 1253s # Start of partial-optimized tests 1253s ok 400 /regex/match/partial-optimized/281 1253s ok 401 /regex/match/partial-optimized/282 1253s ok 402 /regex/match/partial-optimized/283 1253s ok 403 /regex/match/partial-optimized/284 1253s ok 404 /regex/match/partial-optimized/285 1253s ok 405 /regex/match/partial-optimized/286 1253s ok 406 /regex/match/partial-optimized/287 1253s ok 407 /regex/match/partial-optimized/288 1253s ok 408 /regex/match/partial-optimized/289 1253s ok 409 /regex/match/partial-optimized/290 1253s ok 410 /regex/match/partial-optimized/291 1253s ok 411 /regex/match/partial-optimized/292 1253s ok 412 /regex/match/partial-optimized/293 1253s ok 413 /regex/match/partial-optimized/294 1253s ok 414 /regex/match/partial-optimized/295 1253s ok 415 /regex/match/partial-optimized/296 1253s ok 416 /regex/match/partial-optimized/297 1253s ok 417 /regex/match/partial-optimized/298 1253s ok 418 /regex/match/partial-optimized/299 1253s ok 419 /regex/match/partial-optimized/300 1253s ok 420 /regex/match/partial-optimized/301 1253s ok 421 /regex/match/partial-optimized/302 1253s # End of partial-optimized tests 1253s # Start of subpattern tests 1253s ok 422 /regex/match/subpattern/303 1253s ok 423 /regex/match/subpattern/304 1253s ok 424 /regex/match/subpattern/305 1253s ok 425 /regex/match/subpattern/306 1253s ok 426 /regex/match/subpattern/307 1253s ok 427 /regex/match/subpattern/308 1253s ok 428 /regex/match/subpattern/309 1253s ok 429 /regex/match/subpattern/310 1253s ok 430 /regex/match/subpattern/311 1253s ok 431 /regex/match/subpattern/312 1253s ok 432 /regex/match/subpattern/313 1253s ok 433 /regex/match/subpattern/314 1253s ok 434 /regex/match/subpattern/315 1253s # Start of named tests 1253s # Start of dupnames tests 1253s ok 435 /regex/match/subpattern/named/dupnames/325 1253s ok 436 /regex/match/subpattern/named/dupnames/326 1253s ok 437 /regex/match/subpattern/named/dupnames/327 1253s ok 438 /regex/match/subpattern/named/dupnames/328 1253s ok 439 /regex/match/subpattern/named/dupnames/329 1253s # End of dupnames tests 1253s # End of named tests 1253s # End of subpattern tests 1253s # Start of subpattern-optimized tests 1253s ok 440 /regex/match/subpattern-optimized/303 1253s ok 441 /regex/match/subpattern-optimized/304 1253s ok 442 /regex/match/subpattern-optimized/305 1253s ok 443 /regex/match/subpattern-optimized/306 1253s ok 444 /regex/match/subpattern-optimized/307 1253s ok 445 /regex/match/subpattern-optimized/308 1253s ok 446 /regex/match/subpattern-optimized/309 1253s ok 447 /regex/match/subpattern-optimized/310 1253s ok 448 /regex/match/subpattern-optimized/311 1253s ok 449 /regex/match/subpattern-optimized/312 1253s ok 450 /regex/match/subpattern-optimized/313 1253s ok 451 /regex/match/subpattern-optimized/314 1253s ok 452 /regex/match/subpattern-optimized/315 1253s # End of subpattern-optimized tests 1253s # Start of named tests 1253s # Start of subpattern tests 1253s ok 453 /regex/match/named/subpattern/316 1253s ok 454 /regex/match/named/subpattern/317 1253s ok 455 /regex/match/named/subpattern/318 1253s ok 456 /regex/match/named/subpattern/319 1253s ok 457 /regex/match/named/subpattern/320 1253s ok 458 /regex/match/named/subpattern/321 1253s ok 459 /regex/match/named/subpattern/322 1253s ok 460 /regex/match/named/subpattern/323 1253s ok 461 /regex/match/named/subpattern/324 1253s ok 462 /regex/match/named/subpattern/330 1253s ok 463 /regex/match/named/subpattern/331 1253s ok 464 /regex/match/named/subpattern/332 1253s ok 465 /regex/match/named/subpattern/333 1253s ok 466 /regex/match/named/subpattern/334 1253s # End of subpattern tests 1253s # End of named tests 1253s # End of match tests 1253s # Start of match-optimized tests 1253s ok 467 /regex/match-optimized/165 1253s ok 468 /regex/match-optimized/166 1253s ok 469 /regex/match-optimized/167 1253s ok 470 /regex/match-optimized/168 1253s ok 471 /regex/match-optimized/169 1253s ok 472 /regex/match-optimized/170 1253s ok 473 /regex/match-optimized/171 1253s ok 474 /regex/match-optimized/172 1253s ok 475 /regex/match-optimized/173 1253s ok 476 /regex/match-optimized/174 1253s ok 477 /regex/match-optimized/175 1253s ok 478 /regex/match-optimized/176 1253s ok 479 /regex/match-optimized/177 1253s ok 480 /regex/match-optimized/178 1253s ok 481 /regex/match-optimized/179 1253s ok 482 /regex/match-optimized/180 1253s ok 483 /regex/match-optimized/181 1253s ok 484 /regex/match-optimized/182 1253s ok 485 /regex/match-optimized/183 1253s ok 486 /regex/match-optimized/184 1253s ok 487 /regex/match-optimized/185 1253s ok 488 /regex/match-optimized/186 1253s ok 489 /regex/match-optimized/187 1253s ok 490 /regex/match-optimized/188 1253s ok 491 /regex/match-optimized/189 1253s ok 492 /regex/match-optimized/190 1253s ok 493 /regex/match-optimized/191 1253s ok 494 /regex/match-optimized/192 1253s ok 495 /regex/match-optimized/193 1253s ok 496 /regex/match-optimized/194 1253s ok 497 /regex/match-optimized/195 1253s ok 498 /regex/match-optimized/196 1253s ok 499 /regex/match-optimized/197 1253s ok 500 /regex/match-optimized/198 1253s ok 501 /regex/match-optimized/199 1253s ok 502 /regex/match-optimized/200 1253s ok 503 /regex/match-optimized/201 1253s ok 504 /regex/match-optimized/202 1253s ok 505 /regex/match-optimized/203 1253s ok 506 /regex/match-optimized/204 1253s ok 507 /regex/match-optimized/205 1253s ok 508 /regex/match-optimized/206 1253s ok 509 /regex/match-optimized/207 1253s ok 510 /regex/match-optimized/208 1253s ok 511 /regex/match-optimized/209 1253s ok 512 /regex/match-optimized/210 1253s ok 513 /regex/match-optimized/211 1253s ok 514 /regex/match-optimized/212 1253s ok 515 /regex/match-optimized/213 1253s ok 516 /regex/match-optimized/214 1253s ok 517 /regex/match-optimized/215 1253s ok 518 /regex/match-optimized/216 1253s ok 519 /regex/match-optimized/217 1253s ok 520 /regex/match-optimized/218 1253s ok 521 /regex/match-optimized/219 1253s ok 522 /regex/match-optimized/220 1253s ok 523 /regex/match-optimized/221 1253s ok 524 /regex/match-optimized/222 1253s ok 525 /regex/match-optimized/223 1253s ok 526 /regex/match-optimized/224 1253s ok 527 /regex/match-optimized/225 1253s ok 528 /regex/match-optimized/226 1253s ok 529 /regex/match-optimized/227 1253s ok 530 /regex/match-optimized/228 1253s ok 531 /regex/match-optimized/229 1253s ok 532 /regex/match-optimized/230 1253s ok 533 /regex/match-optimized/231 1253s ok 534 /regex/match-optimized/232 1253s ok 535 /regex/match-optimized/233 1253s ok 536 /regex/match-optimized/234 1253s ok 537 /regex/match-optimized/235 1253s ok 538 /regex/match-optimized/236 1253s ok 539 /regex/match-optimized/237 1253s ok 540 /regex/match-optimized/238 1253s ok 541 /regex/match-optimized/239 1253s ok 542 /regex/match-optimized/240 1253s ok 543 /regex/match-optimized/241 1253s ok 544 /regex/match-optimized/242 1253s ok 545 /regex/match-optimized/243 1253s ok 546 /regex/match-optimized/244 1253s ok 547 /regex/match-optimized/245 1253s ok 548 /regex/match-optimized/246 1253s # End of match-optimized tests 1253s # Start of fetch-all0 tests 1253s ok 549 /regex/fetch-all0/335 1253s ok 550 /regex/fetch-all0/336 1253s # End of fetch-all0 tests 1253s # Start of fetch-all1 tests 1253s ok 551 /regex/fetch-all1/337 1253s ok 552 /regex/fetch-all1/338 1253s ok 553 /regex/fetch-all1/339 1253s # End of fetch-all1 tests 1253s # Start of fetch-all2 tests 1253s ok 554 /regex/fetch-all2/340 1253s ok 555 /regex/fetch-all2/341 1253s ok 556 /regex/fetch-all2/342 1253s # End of fetch-all2 tests 1253s # Start of fetch-all3 tests 1253s ok 557 /regex/fetch-all3/343 1253s ok 558 /regex/fetch-all3/344 1253s ok 559 /regex/fetch-all3/345 1253s ok 560 /regex/fetch-all3/346 1253s ok 561 /regex/fetch-all3/347 1253s # End of fetch-all3 tests 1253s # Start of split tests 1253s # Start of simple0 tests 1253s ok 562 /regex/split/simple0/348 1253s ok 563 /regex/split/simple0/349 1253s ok 564 /regex/split/simple0/364 1253s ok 565 /regex/split/simple0/365 1253s # End of simple0 tests 1253s # Start of simple1 tests 1253s ok 566 /regex/split/simple1/350 1253s ok 567 /regex/split/simple1/351 1253s # End of simple1 tests 1253s # Start of simple2 tests 1253s ok 568 /regex/split/simple2/352 1253s ok 569 /regex/split/simple2/358 1253s ok 570 /regex/split/simple2/360 1253s # End of simple2 tests 1253s # Start of simple3 tests 1253s ok 571 /regex/split/simple3/353 1253s ok 572 /regex/split/simple3/354 1253s ok 573 /regex/split/simple3/355 1253s ok 574 /regex/split/simple3/356 1253s ok 575 /regex/split/simple3/357 1253s ok 576 /regex/split/simple3/359 1253s ok 577 /regex/split/simple3/361 1253s ok 578 /regex/split/simple3/362 1253s ok 579 /regex/split/simple3/363 1253s # End of simple3 tests 1253s # End of split tests 1253s # Start of split0 tests 1253s ok 580 /regex/split0/366 1253s ok 581 /regex/split0/368 1253s # End of split0 tests 1253s # Start of full-split0 tests 1253s ok 582 /regex/full-split0/367 1253s ok 583 /regex/full-split0/369 1253s ok 584 /regex/full-split0/370 1253s ok 585 /regex/full-split0/371 1253s ok 586 /regex/full-split0/372 1253s # End of full-split0 tests 1253s # Start of split1 tests 1253s ok 587 /regex/split1/373 1253s ok 588 /regex/split1/376 1253s # End of split1 tests 1253s # Start of full-split1 tests 1253s ok 589 /regex/full-split1/374 1253s ok 590 /regex/full-split1/375 1253s ok 591 /regex/full-split1/377 1253s ok 592 /regex/full-split1/378 1253s ok 593 /regex/full-split1/404 1253s # End of full-split1 tests 1253s # Start of split2 tests 1253s ok 594 /regex/split2/379 1253s ok 595 /regex/split2/383 1253s ok 596 /regex/split2/395 1253s # End of split2 tests 1253s # Start of full-split2 tests 1253s ok 597 /regex/full-split2/380 1253s ok 598 /regex/full-split2/381 1253s ok 599 /regex/full-split2/382 1253s ok 600 /regex/full-split2/384 1253s ok 601 /regex/full-split2/396 1253s ok 602 /regex/full-split2/399 1253s ok 603 /regex/full-split2/405 1253s # End of full-split2 tests 1253s # Start of split3 tests 1253s ok 604 /regex/split3/385 1253s ok 605 /regex/split3/387 1253s ok 606 /regex/split3/389 1253s ok 607 /regex/split3/391 1253s ok 608 /regex/split3/393 1253s ok 609 /regex/split3/397 1253s ok 610 /regex/split3/400 1253s ok 611 /regex/split3/402 1253s # End of split3 tests 1253s # Start of full-split3 tests 1253s ok 612 /regex/full-split3/386 1253s ok 613 /regex/full-split3/388 1253s ok 614 /regex/full-split3/390 1253s ok 615 /regex/full-split3/392 1253s ok 616 /regex/full-split3/394 1253s ok 617 /regex/full-split3/398 1253s ok 618 /regex/full-split3/401 1253s ok 619 /regex/full-split3/403 1253s ok 620 /regex/full-split3/406 1253s ok 621 /regex/full-split3/407 1253s # End of full-split3 tests 1253s # Start of check-repacement tests 1253s ok 622 /regex/check-repacement/408 1253s ok 623 /regex/check-repacement/409 1253s ok 624 /regex/check-repacement/410 1253s ok 625 /regex/check-repacement/411 1253s ok 626 /regex/check-repacement/412 1253s ok 627 /regex/check-repacement/413 1253s ok 628 /regex/check-repacement/414 1253s ok 629 /regex/check-repacement/415 1253s # End of check-repacement tests 1253s # Start of expand tests 1253s ok 630 /regex/expand/416 1253s ok 631 /regex/expand/417 1253s ok 632 /regex/expand/418 1253s ok 633 /regex/expand/419 1253s ok 634 /regex/expand/420 1253s ok 635 /regex/expand/421 1253s ok 636 /regex/expand/422 1253s ok 637 /regex/expand/423 1253s ok 638 /regex/expand/424 1253s ok 639 /regex/expand/425 1253s ok 640 /regex/expand/426 1253s ok 641 /regex/expand/427 1253s ok 642 /regex/expand/428 1253s ok 643 /regex/expand/429 1253s ok 644 /regex/expand/430 1253s ok 645 /regex/expand/431 1253s ok 646 /regex/expand/432 1253s ok 647 /regex/expand/433 1253s ok 648 /regex/expand/434 1253s ok 649 /regex/expand/435 1253s ok 650 /regex/expand/436 1253s ok 651 /regex/expand/437 1253s ok 652 /regex/expand/438 1253s ok 653 /regex/expand/439 1253s ok 654 /regex/expand/440 1253s ok 655 /regex/expand/441 1253s ok 656 /regex/expand/442 1253s ok 657 /regex/expand/443 1253s ok 658 /regex/expand/444 1253s ok 659 /regex/expand/445 1253s ok 660 /regex/expand/446 1253s ok 661 /regex/expand/447 1253s ok 662 /regex/expand/448 1253s ok 663 /regex/expand/449 1253s ok 664 /regex/expand/450 1253s ok 665 /regex/expand/451 1253s ok 666 /regex/expand/452 1253s ok 667 /regex/expand/453 1253s ok 668 /regex/expand/454 1253s ok 669 /regex/expand/455 1253s ok 670 /regex/expand/456 1253s ok 671 /regex/expand/457 1253s ok 672 /regex/expand/458 1253s ok 673 /regex/expand/459 1253s ok 674 /regex/expand/460 1253s ok 675 /regex/expand/461 1253s ok 676 /regex/expand/462 1253s ok 677 /regex/expand/463 1253s ok 678 /regex/expand/464 1253s ok 679 /regex/expand/465 1253s ok 680 /regex/expand/466 1253s ok 681 /regex/expand/467 1253s ok 682 /regex/expand/468 1253s ok 683 /regex/expand/469 1253s ok 684 /regex/expand/470 1253s ok 685 /regex/expand/471 1253s ok 686 /regex/expand/472 1253s ok 687 /regex/expand/473 1253s ok 688 /regex/expand/474 1253s ok 689 /regex/expand/475 1253s ok 690 /regex/expand/476 1253s ok 691 /regex/expand/477 1253s ok 692 /regex/expand/478 1253s ok 693 /regex/expand/479 1253s ok 694 /regex/expand/480 1253s ok 695 /regex/expand/481 1253s # End of expand tests 1253s # Start of replace tests 1253s ok 696 /regex/replace/482 1253s ok 697 /regex/replace/483 1253s ok 698 /regex/replace/484 1253s ok 699 /regex/replace/485 1253s ok 700 /regex/replace/486 1253s ok 701 /regex/replace/487 1253s ok 702 /regex/replace/488 1253s ok 703 /regex/replace/489 1253s ok 704 /regex/replace/490 1253s ok 705 /regex/replace/491 1253s ok 706 /regex/replace/492 1253s ok 707 /regex/replace/493 1253s ok 708 /regex/replace/494 1253s ok 709 /regex/replace/495 1253s ok 710 /regex/replace/496 1253s ok 711 /regex/replace/497 1253s ok 712 /regex/replace/498 1253s ok 713 /regex/replace/499 1253s ok 714 /regex/replace/500 1253s ok 715 /regex/replace/501 1253s ok 716 /regex/replace/502 1253s ok 717 /regex/replace/503 1253s ok 718 /regex/replace/504 1253s ok 719 /regex/replace/505 1253s ok 720 /regex/replace/506 1253s ok 721 /regex/replace/507 1253s ok 722 /regex/replace/508 1253s ok 723 /regex/replace/509 1253s # End of replace tests 1253s # Start of replace-optimized tests 1253s ok 724 /regex/replace-optimized/482 1253s ok 725 /regex/replace-optimized/483 1253s ok 726 /regex/replace-optimized/484 1253s ok 727 /regex/replace-optimized/485 1253s ok 728 /regex/replace-optimized/486 1253s ok 729 /regex/replace-optimized/487 1253s ok 730 /regex/replace-optimized/488 1253s ok 731 /regex/replace-optimized/489 1253s ok 732 /regex/replace-optimized/490 1253s ok 733 /regex/replace-optimized/491 1253s ok 734 /regex/replace-optimized/492 1253s ok 735 /regex/replace-optimized/493 1253s ok 736 /regex/replace-optimized/494 1253s ok 737 /regex/replace-optimized/495 1253s ok 738 /regex/replace-optimized/496 1253s ok 739 /regex/replace-optimized/497 1253s ok 740 /regex/replace-optimized/498 1253s ok 741 /regex/replace-optimized/499 1253s ok 742 /regex/replace-optimized/500 1253s ok 743 /regex/replace-optimized/501 1253s ok 744 /regex/replace-optimized/502 1253s ok 745 /regex/replace-optimized/503 1253s ok 746 /regex/replace-optimized/504 1253s ok 747 /regex/replace-optimized/505 1253s ok 748 /regex/replace-optimized/506 1253s ok 749 /regex/replace-optimized/507 1253s ok 750 /regex/replace-optimized/508 1253s ok 751 /regex/replace-optimized/509 1253s # End of replace-optimized tests 1253s # Start of replace-literally tests 1253s ok 752 /regex/replace-literally/510 1253s ok 753 /regex/replace-literally/511 1253s ok 754 /regex/replace-literally/512 1253s ok 755 /regex/replace-literally/513 1253s ok 756 /regex/replace-literally/514 1253s ok 757 /regex/replace-literally/515 1253s ok 758 /regex/replace-literally/516 1253s ok 759 /regex/replace-literally/517 1253s ok 760 /regex/replace-literally/518 1253s ok 761 /regex/replace-literally/519 1253s ok 762 /regex/replace-literally/520 1253s ok 763 /regex/replace-literally/521 1253s ok 764 /regex/replace-literally/522 1253s ok 765 /regex/replace-literally/523 1253s ok 766 /regex/replace-literally/524 1253s ok 767 /regex/replace-literally/525 1253s ok 768 /regex/replace-literally/526 1253s ok 769 /regex/replace-literally/527 1253s ok 770 /regex/replace-literally/528 1253s ok 771 /regex/replace-literally/529 1253s # End of replace-literally tests 1253s # Start of string-number tests 1253s ok - glib/regex.test 1253s # Running test: glib/utils-c-11.test 1253s ok 772 /regex/string-number/530 1253s ok 773 /regex/string-number/531 1253s ok 774 /regex/string-number/532 1253s ok 775 /regex/string-number/533 1253s ok 776 /regex/string-number/534 1253s ok 777 /regex/string-number/535 1253s ok 778 /regex/string-number/536 1253s ok 779 /regex/string-number/537 1253s ok 780 /regex/string-number/538 1253s ok 781 /regex/string-number/539 1253s ok 782 /regex/string-number/540 1253s ok 783 /regex/string-number/541 1253s ok 784 /regex/string-number/542 1253s ok 785 /regex/string-number/543 1253s ok 786 /regex/string-number/544 1253s # End of string-number tests 1253s # Start of escape_nul tests 1253s ok 787 /regex/escape_nul/545 1253s ok 788 /regex/escape_nul/546 1253s ok 789 /regex/escape_nul/547 1253s ok 790 /regex/escape_nul/548 1253s ok 791 /regex/escape_nul/549 1253s ok 792 /regex/escape_nul/550 1253s ok 793 /regex/escape_nul/551 1253s ok 794 /regex/escape_nul/552 1253s ok 795 /regex/escape_nul/553 1253s ok 796 /regex/escape_nul/554 1253s ok 797 /regex/escape_nul/555 1253s ok 798 /regex/escape_nul/556 1253s ok 799 /regex/escape_nul/557 1253s ok 800 /regex/escape_nul/558 1253s ok 801 /regex/escape_nul/559 1253s # End of escape_nul tests 1253s # Start of escape tests 1253s ok 802 /regex/escape/560 1253s ok 803 /regex/escape/561 1253s ok 804 /regex/escape/562 1253s ok 805 /regex/escape/563 1253s ok 806 /regex/escape/564 1253s ok 807 /regex/escape/565 1253s ok 808 /regex/escape/566 1253s ok 809 /regex/escape/567 1253s ok 810 /regex/escape/568 1253s ok 811 /regex/escape/569 1253s ok 812 /regex/escape/570 1253s ok 813 /regex/escape/571 1253s ok 814 /regex/escape/572 1253s ok 815 /regex/escape/573 1253s ok 816 /regex/escape/574 1253s ok 817 /regex/escape/575 1253s ok 818 /regex/escape/576 1253s ok 819 /regex/escape/577 1253s # End of escape tests 1253s # Start of match-all0 tests 1253s ok 820 /regex/match-all0/578 1253s ok 821 /regex/match-all0/580 1253s # End of match-all0 tests 1253s # Start of match-all-full0 tests 1253s ok 822 /regex/match-all-full0/579 1253s ok 823 /regex/match-all-full0/581 1253s ok 824 /regex/match-all-full0/582 1253s ok 825 /regex/match-all-full0/583 1253s # End of match-all-full0 tests 1253s # Start of match-all1 tests 1253s ok 826 /regex/match-all1/584 1253s ok 827 /regex/match-all1/586 1253s ok 828 /regex/match-all1/591 1253s # End of match-all1 tests 1253s # Start of match-all-full1 tests 1253s ok 829 /regex/match-all-full1/585 1253s ok 830 /regex/match-all-full1/587 1253s ok 831 /regex/match-all-full1/588 1253s ok 832 /regex/match-all-full1/589 1253s ok 833 /regex/match-all-full1/590 1253s ok 834 /regex/match-all-full1/592 1253s # End of match-all-full1 tests 1253s # Start of match-all2 tests 1253s ok 835 /regex/match-all2/593 1253s ok 836 /regex/match-all2/595 1253s ok 837 /regex/match-all2/597 1253s # End of match-all2 tests 1253s # Start of match-all-full2 tests 1253s ok 838 /regex/match-all-full2/594 1253s ok 839 /regex/match-all-full2/596 1253s ok 840 /regex/match-all-full2/598 1253s # End of match-all-full2 tests 1253s # Start of match-all3 tests 1253s ok 841 /regex/match-all3/599 1253s ok 842 /regex/match-all3/601 1253s # End of match-all3 tests 1253s # Start of match-all-full3 tests 1253s ok 843 /regex/match-all-full3/600 1253s ok 844 /regex/match-all-full3/602 1253s # End of match-all-full3 tests 1253s # Start of match-notempty tests 1253s ok 845 /regex/match-notempty/603 1253s # End of match-notempty tests 1253s # Start of match-notempty-optimized tests 1253s ok 846 /regex/match-notempty-optimized/603 1253s # End of match-notempty-optimized tests 1253s # Start of match-notempty-atstart tests 1253s ok 847 /regex/match-notempty-atstart/604 1253s # End of match-notempty-atstart tests 1253s # Start of match-notempty-atstart-optimized tests 1253s ok 848 /regex/match-notempty-atstart-optimized/604 1253s # End of match-notempty-atstart-optimized tests 1253s # End of regex tests 1253s TAP version 14 1253s # random seed: R02Sd397ea724fd29e599cc90f3e30554ba5 1253s 1..41 1253s # Start of utils tests 1253s ok 1 /utils/language-names 1253s # Testing locale ‘en’ 1253s # Testing locale ‘sr@latin’ 1253s # Testing locale ‘fr_BE’ 1253s # Testing locale ‘sr_SR@latin’ 1253s # Testing locale ‘sr_SR@latin.UTF-8’ 1253s # Testing locale ‘sr@latin_invalid’ 1253s # Testing locale ‘sr.UTF-8@latin’ 1253s # Testing locale ‘sr.UTF-8_latin’ 1253s # Testing locale ‘sr.UTF-8@latin_invalid’ 1253s ok 2 /utils/locale-variants 1253s ok 3 /utils/version 1253s ok 4 /utils/appname 1253s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1253s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1253s ok 5 /utils/prgname-thread-safety 1253s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1253s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1253s ok 6 /utils/tmpdir 1253s ok 7 /utils/basic_bits 1253s ok 8 /utils/bits 1253s ok 9 /utils/swap 1253s ok 10 /utils/find-program 1253s ok 11 /utils/find-program-for-path 1253s ok 12 /utils/debug 1253s ok 13 /utils/codeset 1253s ok 14 /utils/codeset2 1253s ok 15 /utils/console-charset 1253s ok 16 /utils/gettext 1253s ok 17 /utils/username 1253s ok 18 /utils/realname 1253s ok 19 /utils/hostname 1253s ok 20 /utils/xdgdirs 1253s ok 21 /utils/specialdir 1253s # NAME: Ubuntu 1253s ok 22 /utils/os-info 1253s ok 23 /utils/clear-pointer 1253s ok 24 /utils/clear-pointer-cast 1253s ok 25 /utils/take-pointer 1253s ok 26 /utils/clear-source 1253s ok 27 /utils/misc-mem 1253s # /utils/aligned-mem summary: Aligned memory allocator 1253s # Alignment must not be zero 1253s # Alignment must be a power of two 1253s # Alignment must be a multiple of sizeof(void*) 1253s ok 28 /utils/aligned-mem 1253s # /utils/free-sized summary: Check that g_free_sized() works 1253s ok 29 /utils/free-sized 1253s ok 30 /utils/nullify 1253s ok 31 /utils/atexit 1253s ok 32 /utils/check-setuid 1253s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1253s ok 33 /utils/int-limits 1254s ok - glib/utils-c-11.test 1254s # Running test: glib/gobject-query.py.test 1254s ok 34 /utils/clear-list 1254s ok 35 /utils/clear-slist 1254s ok 36 /utils/steal-handle-id 1254s # Start of specialdir tests 1254s ok 37 /utils/specialdir/desktop 1254s # End of specialdir tests 1254s # Start of clear-pointer tests 1254s ok 38 /utils/clear-pointer/side-effects 1254s # End of clear-pointer tests 1254s # Start of aligned-mem tests 1254s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1254s ok 39 /utils/aligned-mem/alignment 1254s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1254s ok 40 /utils/aligned-mem/zeroed 1254s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1254s ok 41 /utils/aligned-mem/free-sized 1254s # Start of subprocess tests 1254s # End of subprocess tests 1254s # End of aligned-mem tests 1254s # End of utils tests 1254s # Executing: glib/gobject-query.py.test 1254s TAP version 13 1254s ok 1 __main__.TestGobjectQuery.test_froots 1254s # gobject-query: /usr/bin/gobject-query 1254s # tmpdir: /tmp/tmpq7c6bi8n 1254s # Running: ['/usr/bin/gobject-query', 'froots'] 1254s # Return code: 0 1254s # Output: 1254s # ├void 1254s # ├GInterface 1254s # │ └GTypePlugin 1254s # ├gchar 1254s # ├guchar 1254s # ├gboolean 1254s # ├gint 1254s # ├guint 1254s # ├glong 1254s # ├gulong 1254s # ├gint64 1254s # ├guint64 1254s # ├GEnum 1254s # ├GFlags 1254s # ├gfloat 1254s # ├gdouble 1254s # ├gchararray 1254s # ├gpointer 1254s # │ └GType 1254s # ├GBoxed 1254s # │ └GValueArray 1254s # ├GParam 1254s # │ ├GParamChar 1254s # │ ├GParamUChar 1254s # │ ├GParamBoolean 1254s # │ ├GParamInt 1254s # │ ├GParamUInt 1254s # │ ├GParamLong 1254s # │ ├GParamULong 1254s # │ ├GParamInt64 1254s # │ ├GParamUInt64 1254s # │ ├GParamUnichar 1254s # │ ├GParamEnum 1254s # │ ├GParamFlags 1254s # │ ├GParamFloat 1254s # │ ├GParamDouble 1254s # │ ├GParamString 1254s # │ ├GParamParam 1254s # │ ├GParamBoxed 1254s # │ ├GParamPointer 1254s # │ ├GParamValueArray 1254s # │ ├GParamObject 1254s # │ ├GParamOverride 1254s # │ ├GParamGType 1254s # │ └GParamVariant 1254s # ├GObject 1254s # └GVariant 1254s # Error: 1254s ok 2 __main__.TestGobjectQuery.test_help 1254s # gobject-query: /usr/bin/gobject-query 1254s # tmpdir: /tmp/tmpab5ej3j8 1254s # Running: ['/usr/bin/gobject-query', '--help'] 1254s # Return code: 0 1254s # Output: 1254s # usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 1254s # -r specify root type 1254s # -n don't descend type tree 1254s # -h show help 1254s # -b specify indent string 1254s # -i specify incremental indent string 1254s # -s specify line spacing 1254s # qualifiers: 1254s # froots iterate over fundamental roots 1254s # tree print type tree 1254s # Error: 1254s ok 3 __main__.TestGobjectQuery.test_tree 1254s # gobject-query: /usr/bin/gobject-query 1254s # tmpdir: /tmp/tmpujbyxa8p 1254s # Running: ['/usr/bin/gobject-query', 'tree'] 1254s # Return code: 0 1254s # Output: 1254s # GObject 1254s # Error: 1254s ok 4 __main__.TestGobjectQuery.test_version 1254s # gobject-query: /usr/bin/gobject-query 1254s # tmpdir: /tmp/tmpr14cqepv 1254s # Running: ['/usr/bin/gobject-query', '--version'] 1254s # Return code: 0 1254s # Output: 1254s # 2.85.3 1254s # Error: 1254s 1..4 1254s ok - glib/gobject-query.py.test 1254s # Running test: glib/resources.test 1254s TAP version 14 1254s # random seed: R02S3ab9fa565469d9242c6298067c380eb2 1254s 1..19 1254s # Start of resource tests 1254s ok 1 /resource/file 1254s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1254s ok 2 /resource/file-path 1254s ok 3 /resource/data 1254s ok 4 /resource/data_unaligned 1254s ok 5 /resource/data-corrupt 1254s # /resource/data-corrupt-compression summary: Test error handling for corrupt GResource files (specifically, corrupt zlib compression). 1254s ok 6 /resource/data-corrupt-compression 1254s ok 7 /resource/data-empty 1254s ok 8 /resource/registered 1254s ok 9 /resource/manual 1254s ok 10 /resource/manual2 1254s ok 11 /resource/automatic 1254s ok 12 /resource/module 1254s ok 13 /resource/binary-linked 1254s ok 14 /resource/64k 1254s GLib-GIO-Message: 12:46:39.031: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 1254s GLib-GIO-Message: 12:46:39.031: Opened file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 1254s GLib-GIO-Message: 12:46:39.031: Mapped file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 1254s ok 15 /resource/overlay 1254s ok 16 /resource/digits 1254s ok 17 /resource/has-children 1254s # Start of uri tests 1254s ok 18 /resource/uri/query-info 1254s ok 19 /resource/uri/file 1254s # End of uri tests 1254s # End of resource tests 1254s ok - glib/resources.test 1254s # Running test: glib/gdbus-serialization.test 1254s TAP version 14 1254s # random seed: R02S36e6f2b0d018e714abfeddf703a5e0dc 1254s 1..18 1254s # Start of gdbus tests 1254s # Start of message-serialize tests 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/basic/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/basic/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/basic/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/basic/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/basic/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/basic/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/basic/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/basic/.dirs/runtime 1254s ok 1 /gdbus/message-serialize/basic 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/complex/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/complex/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/complex/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/complex/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/complex/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/complex/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/complex/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/complex/.dirs/runtime 1254s ok 2 /gdbus/message-serialize/complex 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/invalid/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/invalid/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/invalid/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/invalid/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/invalid/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/invalid/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/invalid/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/invalid/.dirs/runtime 1254s ok 3 /gdbus/message-serialize/invalid 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/header-checks/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/header-checks/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/header-checks/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/header-checks/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/header-checks/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/header-checks/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/header-checks/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/header-checks/.dirs/runtime 1254s ok 4 /gdbus/message-serialize/header-checks 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/double-array/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/double-array/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/double-array/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/double-array/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/double-array/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/double-array/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/double-array/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/double-array/.dirs/runtime 1254s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 1254s ok 5 /gdbus/message-serialize/double-array 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/empty-structure/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/empty-structure/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/empty-structure/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/empty-structure/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/empty-structure/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/empty-structure/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/empty-structure/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/empty-structure/.dirs/runtime 1254s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 1254s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1254s ok 6 /gdbus/message-serialize/empty-structure 1254s # Start of header-checks tests 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/header-checks/valid/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/header-checks/valid/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/header-checks/valid/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/header-checks/valid/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/header-checks/valid/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-serialize/header-checks/valid/.dirs/runtime 1254s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 1254s ok 7 /gdbus/message-serialize/header-checks/valid 1254s # End of header-checks tests 1254s # End of message-serialize tests 1254s # Start of message-parse tests 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 1254s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 1254s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/non-signature-header/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/non-signature-header/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/non-signature-header/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/non-signature-header/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/non-signature-header/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/non-signature-header/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/non-signature-header/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/non-signature-header/.dirs/runtime 1254s ok 9 /gdbus/message-parse/non-signature-header 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/empty-signature-header/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/empty-signature-header/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/empty-signature-header/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/empty-signature-header/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/empty-signature-header/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/empty-signature-header/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/empty-signature-header/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/empty-signature-header/.dirs/runtime 1254s ok 10 /gdbus/message-parse/empty-signature-header 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/multiple-signature-header/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/multiple-signature-header/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/multiple-signature-header/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/multiple-signature-header/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/multiple-signature-header/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/multiple-signature-header/.dirs/runtime 1254s ok 11 /gdbus/message-parse/multiple-signature-header 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/over-long-signature-header/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/over-long-signature-header/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/over-long-signature-header/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/over-long-signature-header/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/over-long-signature-header/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/over-long-signature-header/.dirs/runtime 1254s ok 12 /gdbus/message-parse/over-long-signature-header 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/deep-header-nesting/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/deep-header-nesting/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/deep-header-nesting/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/deep-header-nesting/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/deep-header-nesting/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/deep-header-nesting/.dirs/runtime 1254s ok 13 /gdbus/message-parse/deep-header-nesting 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/deep-body-nesting/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/deep-body-nesting/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/deep-body-nesting/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/deep-body-nesting/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/deep-body-nesting/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/deep-body-nesting/.dirs/runtime 1254s ok 14 /gdbus/message-parse/deep-body-nesting 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/truncated/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/truncated/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/truncated/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/truncated/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/truncated/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/truncated/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/truncated/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/truncated/.dirs/runtime 1254s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 1254s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 1254s ok 15 /gdbus/message-parse/truncated 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/empty-structure/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/empty-structure/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/empty-structure/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/empty-structure/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/empty-structure/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/empty-structure/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/empty-structure/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/empty-structure/.dirs/runtime 1254s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 1254s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 1254s ok 16 /gdbus/message-parse/empty-structure 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/missing-header/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/missing-header/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/missing-header/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/missing-header/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/missing-header/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/missing-header/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/missing-header/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/missing-header/.dirs/runtime 1254s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 1254s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1254s ok 17 /gdbus/message-parse/missing-header 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/invalid-header-type/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/invalid-header-type/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/invalid-header-type/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/invalid-header-type/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/invalid-header-type/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/invalid-header-type/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/invalid-header-type/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_E1SDC3/gdbus/message-parse/invalid-header-type/.dirs/runtime 1254s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 1254s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 1254s ok 18 /gdbus/message-parse/invalid-header-type 1254s # End of message-parse tests 1254s # End of gdbus tests 1254s ok - glib/gdbus-serialization.test 1254s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 1254s TAP version 14 1254s # random seed: R02S47868ce048448ede4e69cd13f1f3a479 1254s 1..8 1254s # Start of gdbus tests 1254s # Start of codegen tests 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/annotations/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/annotations/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/annotations/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/annotations/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/annotations/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/annotations/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/annotations/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/annotations/.dirs/runtime 1254s ok 1 /gdbus/codegen/annotations 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/interface_stability/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/interface_stability/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/interface_stability/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/interface_stability/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/interface_stability/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/interface_stability/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/interface_stability/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/interface_stability/.dirs/runtime 1254s ok 2 /gdbus/codegen/interface_stability 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/object-manager/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/object-manager/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/object-manager/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/object-manager/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/object-manager/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/object-manager/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/object-manager/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/object-manager/.dirs/runtime 1254s ok 3 /gdbus/codegen/object-manager 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/property-naming/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/property-naming/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/property-naming/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/property-naming/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/property-naming/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/property-naming/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/property-naming/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/property-naming/.dirs/runtime 1254s ok 4 /gdbus/codegen/property-naming 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/autocleanups/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/autocleanups/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/autocleanups/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/autocleanups/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/autocleanups/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/autocleanups/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/autocleanups/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/autocleanups/.dirs/runtime 1254s ok 5 /gdbus/codegen/autocleanups 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/deprecations/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/deprecations/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/deprecations/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/deprecations/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/deprecations/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/deprecations/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/deprecations/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/deprecations/.dirs/runtime 1254s ok 6 /gdbus/codegen/deprecations 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/standalone-interface-info/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/standalone-interface-info/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/standalone-interface-info/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/standalone-interface-info/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/standalone-interface-info/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/standalone-interface-info/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/standalone-interface-info/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/standalone-interface-info/.dirs/runtime 1254s ok 7 /gdbus/codegen/standalone-interface-info 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/unix-fd-list/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/unix-fd-list/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/unix-fd-list/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/unix-fd-list/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/unix-fd-list/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/unix-fd-list/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/unix-fd-list/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_63GDC3/gdbus/codegen/unix-fd-list/.dirs/runtime 1254s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 1254s ok 8 /gdbus/codegen/unix-fd-list 1254s # End of codegen tests 1254s # End of gdbus tests 1254s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1254s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1254s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1254s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1254s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1254s ok - glib/gdbus-test-codegen-min-required-2-64.test 1254s # Running test: glib/filenamecompleter.test 1254s TAP version 14 1254s # random seed: R02Sc8b8dc5a299b1de205d87c3c9836b503 1254s 1..1 1254s # Start of filenamecompleter tests 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_filenamecompleter_38UEC3/filenamecompleter/basic/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_filenamecompleter_38UEC3/filenamecompleter/basic/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_filenamecompleter_38UEC3/filenamecompleter/basic/.dirs/system-config1:/tmp/test_filenamecompleter_38UEC3/filenamecompleter/basic/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_filenamecompleter_38UEC3/filenamecompleter/basic/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_filenamecompleter_38UEC3/filenamecompleter/basic/.dirs/system-data1:/tmp/test_filenamecompleter_38UEC3/filenamecompleter/basic/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_filenamecompleter_38UEC3/filenamecompleter/basic/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_filenamecompleter_38UEC3/filenamecompleter/basic/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_filenamecompleter_38UEC3/filenamecompleter/basic/.dirs/runtime 1254s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1254s ok 1 /filenamecompleter/basic 1254s # End of filenamecompleter tests 1254s ok - glib/filenamecompleter.test 1254s # Running test: glib/date.test 1254s TAP version 14 1254s # random seed: R02Sca93e050196bf1ac0d0add95318e4c43 1254s 1..122 1254s # Start of date tests 1254s ok 1 /date/basic 1254s ok 2 /date/empty 1254s ok 3 /date/dmy 1254s ok 4 /date/julian 1254s ok 5 /date/compare 1254s ok 6 /date/dates 1254s ok 7 /date/strftime 1254s ok 8 /date/two-digit-years 1254s ok 9 /date/parse 1254s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 1254s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 1254s ok 11 /date/month_substring 1254s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 1254s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 1254s ok 13 /date/clamp 1254s ok 14 /date/order 1254s ok 15 /date/copy 1254s # Vector 0: 0000-00-00, invalid 1254s # Vector 1: 0001-01-01, valid 1254s # Vector 2: 0000-01-01, invalid 1254s # Vector 3: 2000-02-30, invalid 1254s # Vector 4: 2000-02-29, valid 1254s # Vector 5: 2001-02-29, invalid 1254s # Vector 6: 65535-01-01, valid 1254s ok 16 /date/valid-dmy 1254s # Considering 2000-01-01 1254s # Considering 2000-01-07 1254s # Considering 2000-01-08 1254s # Considering 2001-01-01 1254s # Considering 2001-01-07 1254s # Considering 2001-01-08 1254s # Considering 2002-01-01 1254s # Considering 2002-01-07 1254s # Considering 2002-01-08 1254s # Considering 2003-01-01 1254s # Considering 2003-01-07 1254s # Considering 2003-01-08 1254s # Considering 2004-01-01 1254s # Considering 2004-01-07 1254s # Considering 2004-01-08 1254s # Considering 2006-01-01 1254s # Considering 2006-01-07 1254s # Considering 2006-01-08 1254s # Considering 2010-01-01 1254s # Considering 2010-01-07 1254s # Considering 2010-01-08 1254s ok 17 /date/week-of-year 1254s # Start of parse tests 1254s # Test 0 1254s # Test 1 1254s ok 18 /date/parse/invalid 1254s # End of parse tests 1254s # Start of year tests 1254s ok 19 /date/year/1 1254s ok 20 /date/year/2 1254s ok 21 /date/year/3 1254s ok 22 /date/year/4 1254s ok 23 /date/year/5 1254s ok 24 /date/year/6 1254s ok 25 /date/year/7 1254s ok 26 /date/year/8 1254s ok 27 /date/year/9 1254s ok 28 /date/year/10 1254s ok 29 /date/year/11 1254s ok 30 /date/year/12 1254s ok 31 /date/year/13 1254s ok 32 /date/year/14 1254s ok 33 /date/year/98 1254s ok 34 /date/year/99 1254s ok 35 /date/year/100 1254s ok 36 /date/year/101 1254s ok 37 /date/year/102 1254s ok 38 /date/year/103 1254s ok 39 /date/year/397 1254s ok 40 /date/year/398 1254s ok 41 /date/year/399 1254s ok 42 /date/year/400 1254s ok 43 /date/year/401 1254s ok 44 /date/year/402 1254s ok 45 /date/year/403 1254s ok 46 /date/year/404 1254s ok 47 /date/year/405 1254s ok 48 /date/year/406 1254s ok 49 /date/year/1598 1254s ok 50 /date/year/1599 1254s ok 51 /date/year/1600 1254s ok 52 /date/year/1601 1254s ok 53 /date/year/1602 1254s ok 54 /date/year/1650 1254s ok 55 /date/year/1651 1254s ok 56 /date/year/1897 1254s ok 57 /date/year/1898 1254s ok 58 /date/year/1899 1254s ok 59 /date/year/1900 1254s ok 60 /date/year/1901 1254s ok 61 /date/year/1902 1254s ok 62 /date/year/1903 1254s ok 63 /date/year/1961 1254s ok 64 /date/year/1962 1254s ok 65 /date/year/1963 1254s ok 66 /date/year/1964 1254s ok 67 /date/year/1965 1254s ok 68 /date/year/1967 1254s ok 69 /date/year/1968 1254s ok 70 /date/year/1969 1254s ok 71 /date/year/1970 1254s ok 72 /date/year/1971 1254s ok 73 /date/year/1972 1254s ok 74 /date/year/1973 1254s ok 75 /date/year/1974 1254s ok 76 /date/year/1975 1254s ok 77 /date/year/1976 1254s ok 78 /date/year/1977 1254s ok 79 /date/year/1978 1254s ok 80 /date/year/1979 1254s ok 81 /date/year/1980 1254s ok 82 /date/year/1981 1254s ok 83 /date/year/1982 1254s ok 84 /date/year/1983 1254s ok 85 /date/year/1984 1254s ok 86 /date/year/1985 1254s ok 87 /date/year/1986 1254s ok 88 /date/year/1987 1254s ok 89 /date/year/1988 1254s ok 90 /date/year/1989 1254s ok 91 /date/year/1990 1254s ok 92 /date/year/1991 1254s ok 93 /date/year/1992 1254s ok 94 /date/year/1993 1254s ok 95 /date/year/1994 1254s ok 96 /date/year/1995 1254s ok 97 /date/year/1996 1254s ok 98 /date/year/1997 1254s ok 99 /date/year/1998 1254s ok 100 /date/year/1999 1254s ok 101 /date/year/2000 1254s ok 102 /date/year/2001 1254s ok 103 /date/year/2002 1254s ok 104 /date/year/2003 1254s ok 105 /date/year/2004 1254s ok 106 /date/year/2005 1254s ok 107 /date/year/2006 1254s ok 108 /date/year/2007 1254s ok 109 /date/year/2008 1254s ok 110 /date/year/2009 1254s ok 111 /date/year/2010 1254s ok 112 /date/year/2011 1254s ok 113 /date/year/2012 1254s ok 114 /date/year/3000 1254s ok 115 /date/year/3001 1254s ok 116 /date/year/3002 1254s ok 117 /date/year/3998 1254s ok 118 /date/year/3999 1254s ok 119 /date/year/4000 1254s ok 120 /date/year/4001 1254s ok 121 /date/year/4002 1254s ok 122 /date/year/4003 1254s # End of year tests 1254s # End of date tests 1254s ok - glib/date.test 1254s # Running test: glib/tls-certificate.test 1254s TAP version 14 1254s # random seed: R02Sa5bea88b43724b60d5af17ba21a64823 1254s 1..19 1254s # Start of tls-certificate tests 1254s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’ 1254s ok 1 /tls-certificate/pem-parser 1254s ok 2 /tls-certificate/pem-parser-handles-chain 1254s ok 3 /tls-certificate/from_file 1254s ok 4 /tls-certificate/from_files 1254s ok 5 /tls-certificate/from_files_crlf 1254s ok 6 /tls-certificate/from_files_pkcs8 1254s ok 7 /tls-certificate/from_files_pkcs8enc 1254s ok 8 /tls-certificate/list_from_file 1254s ok 9 /tls-certificate/pkcs11-uri 1254s ok 10 /tls-certificate/pkcs11-uri-unsupported 1254s ok 11 /tls-certificate/from_pkcs12 1254s ok 12 /tls-certificate/from_pkcs12_file 1254s ok 13 /tls-certificate/not-valid-before 1254s ok 14 /tls-certificate/not-valid-after 1254s ok 15 /tls-certificate/subject-name 1254s ok - glib/tls-certificate.test 1254s ok 16 /tls-certificate/issuer-name 1254s ok 17 /tls-certificate/dns-names 1254s ok 18 /tls-certificate/ip-addresses 1254s ok 19 /tls-certificate/pem-parser-no-sentinel 1254s # End of tls-certificate tests 1254s # Running test: glib/gobject-private.test 1254s TAP version 14 1254s # random seed: R02S914f04aa1eaad21ede35facc41b53062 1254s 1..3 1254s # Start of private tests 1254s ok 1 /private/instance 1254s ok 2 /private/derived-instance 1254s ok 3 /private/mixed-derived-instance 1254s # End of private tests 1254s ok - glib/gobject-private.test 1254s # Running test: glib/memory-monitor-poll.test 1254s TAP version 14 1254s # random seed: R02Se91f505ee80eb952f1159bc7162534e4 1254s 1..4 1254s # Start of memory-monitor-poll tests 1254s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation poll (GMemoryMonitorPoll) for ‘gio-memory-monitor’ 1254s ok 1 /memory-monitor-poll/dup-default 1254s # GLib-GIO-DEBUG: memory free ratio 0.190000 1254s # GLib-GIO-DEBUG: Send low memory signal with warning level 2 1254s ok 2 /memory-monitor-poll/critical-event 1254s # GLib-GIO-DEBUG: memory free ratio 0.290000 1254s # GLib-GIO-DEBUG: Send low memory signal with warning level 1 1254s ok 3 /memory-monitor-poll/medium-event 1254s # GLib-GIO-DEBUG: memory free ratio 0.390000 1254s # GLib-GIO-DEBUG: Send low memory signal with warning level 0 1254s ok - glib/memory-monitor-poll.test 1254s ok 4 /memory-monitor-poll/low-event 1254s # End of memory-monitor-poll tests 1254s # Running test: glib/portal-support-snap-classic.test 1254s TAP version 14 1254s # random seed: R02Sc5745115eb7515b26a6767eb8d710e89 1254s 1..3 1254s # Start of portal-support tests 1254s # Start of snap-classic tests 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_VVY3B3/portal-support/snap-classic/no-snapctl/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_VVY3B3/portal-support/snap-classic/no-snapctl/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_VVY3B3/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_VVY3B3/portal-support/snap-classic/no-snapctl/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_VVY3B3/portal-support/snap-classic/no-snapctl/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_VVY3B3/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_VVY3B3/portal-support/snap-classic/no-snapctl/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_VVY3B3/portal-support/snap-classic/no-snapctl/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_VVY3B3/portal-support/snap-classic/no-snapctl/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_VVY3B3/portal-support/snap-classic/no-snapctl/.dirs/runtime 1254s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_VVY3B3/portal-support/snap-classic/no-snapctl: No such file or directory 1254s ok 1 /portal-support/snap-classic/no-snapctl 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_VVY3B3/portal-support/snap-classic/none/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_VVY3B3/portal-support/snap-classic/none/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_VVY3B3/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_VVY3B3/portal-support/snap-classic/none/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_VVY3B3/portal-support/snap-classic/none/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_VVY3B3/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_VVY3B3/portal-support/snap-classic/none/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_VVY3B3/portal-support/snap-classic/none/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_VVY3B3/portal-support/snap-classic/none/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_VVY3B3/portal-support/snap-classic/none/.dirs/runtime 1254s # Created snap.yaml in /tmp/test_portal-support-snap-classic_VVY3B3/meta/snap.yaml 1254s # Created snapctl in /tmp/test_portal-support-snap-classic_VVY3B3/portal-support/snap-classic/none/.dirs/runtime/snapctl 1254s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_VVY3B3/portal-support/snap-classic/none: No such file or directory 1254s ok 2 /portal-support/snap-classic/none 1254s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_VVY3B3/portal-support/snap-classic/all/.dirs/home 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_VVY3B3/portal-support/snap-classic/all/.dirs/cache 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_VVY3B3/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_VVY3B3/portal-support/snap-classic/all/.dirs/system-config2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_VVY3B3/portal-support/snap-classic/all/.dirs/config 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_VVY3B3/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_VVY3B3/portal-support/snap-classic/all/.dirs/system-data2 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_VVY3B3/portal-support/snap-classic/all/.dirs/data 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_VVY3B3/portal-support/snap-classic/all/.dirs/state 1254s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_VVY3B3/portal-support/snap-classic/all/.dirs/runtime 1254s # Created snap.yaml in /tmp/test_portal-support-snap-classic_VVY3B3/meta/snap.yaml 1254s # Created snapctl in /tmp/test_portal-support-snap-classic_VVY3B3/portal-support/snap-classic/all/.dirs/runtime/snapctl 1254s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_VVY3B3/portal-support/snap-classic/all: No such file or directory 1254s ok 3 /portal-support/snap-classic/all 1254s # End of snap-classic tests 1254s # End of portal-support tests 1254s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_VVY3B3: No such file or directory 1254s ok - glib/portal-support-snap-classic.test 1254s # Running test: glib/once.test 1254s TAP version 14 1254s # random seed: R02S7f4a5c8ca4590fac23a18f8e04aaa636 1254s 1..5 1254s # Start of once tests 1254s # /once/single-threaded summary: Test g_once() usage from a single thread 1254s ok 1 /once/single-threaded 1254s # /once/multi-threaded summary: Test g_once() usage from multiple threads 1254s ok 2 /once/multi-threaded 1254s # End of once tests 1254s # Start of once-init tests 1254s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 1254s ok 3 /once-init/single-threaded 1254s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 1254s ok 4 /once-init/multi-threaded 1254s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 1254s ok 5 /once-init/string 1254s # End of once-init tests 1254s ok - glib/once.test 1254s # Running test: glib/codegen.py.test 1254s TAP version 13 1254s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 1254s # gdbus-codegen: /usr/bin/gdbus-codegen 1254s # tmpdir: /tmp/tmpe0_kl3l9 1254s # /tmp/tmpe0_kl3l9/tmp5fjd3a9e.xml: 1254s # 1254s # 1254s # 1254s # 1254s # 1254s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpe0_kl3l9/tmp5fjd3a9e.xml', '--output', '-', '--header'] 1254s # Return code: 0 1254s # Output: 1254s # /* 1254s # * This file is generated by gdbus-codegen, do not modify it. 1254s # * 1254s # * The license of this code is the same as for the D-Bus interface description 1254s # * it was derived from. Note that it links to GLib, so must comply with the 1254s # * LGPL linking clauses. 1254s # */ 1254s # 1254s # #ifndef __STDOUT__ 1254s # #define __STDOUT__ 1254s # 1254s # #include 1254s # 1254s # G_BEGIN_DECLS 1254s # 1254s # 1254s # /* ------------------------------------------------------------------------ */ 1254s # /* Declarations for org.project.UsefulInterface */ 1254s # 1254s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1254s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1254s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1254s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1254s # 1254s # struct _OrgProjectUsefulInterface; 1254s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1254s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1254s # 1254s # struct _OrgProjectUsefulInterfaceIface 1254s # { 1254s # GTypeInterface parent_iface; 1254s # 1254s # gboolean (*handle_useful_method) ( 1254s # OrgProjectUsefulInterface *object, 1254s # GDBusMethodInvocation *invocation); 1254s # 1254s # }; 1254s # 1254s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1254s # 1254s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1254s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1254s # 1254s # 1254s # /* D-Bus method call completion functions: */ 1254s # void org_project_useful_interface_complete_useful_method ( 1254s # OrgProjectUsefulInterface *object, 1254s # GDBusMethodInvocation *invocation); 1254s # 1254s # 1254s # 1254s # /* D-Bus method calls: */ 1254s # void org_project_useful_interface_call_useful_method ( 1254s # OrgProjectUsefulInterface *proxy, 1254s # GCancellable *cancellable, 1254s # GAsyncReadyCallback callback, 1254s # gpointer user_data); 1254s # 1254s # gboolean org_project_useful_interface_call_useful_method_finish ( 1254s # OrgProjectUsefulInterface *proxy, 1254s # GAsyncResult *res, 1254s # GError **error); 1254s # 1254s # gboolean org_project_useful_interface_call_useful_method_sync ( 1254s # OrgProjectUsefulInterface *proxy, 1254s # GCancellable *cancellable, 1254s # GError **error); 1254s # 1254s # 1254s # 1254s # /* ---- */ 1254s # 1254s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1254s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1254s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1254s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1254s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1254s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1254s # 1254s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1254s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1254s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1254s # 1254s # struct _OrgProjectUsefulInterfaceProxy 1254s # { 1254s # /*< private >*/ 1254s # GDBusProxy parent_instance; 1254s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1254s # }; 1254s # 1254s # struct _OrgProjectUsefulInterfaceProxyClass 1254s # { 1254s # GDBusProxyClass parent_class; 1254s # }; 1254s # 1254s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1254s # 1254s # #if GLIB_CHECK_VERSION(2, 44, 0) 1254s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1254s # #endif 1254s # 1254s # void org_project_useful_interface_proxy_new ( 1254s # GDBusConnection *connection, 1254s # GDBusProxyFlags flags, 1254s # const gchar *name, 1254s # const gchar *object_path, 1254s # GCancellable *cancellable, 1254s # GAsyncReadyCallback callback, 1254s # gpointer user_data); 1254s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1254s # GAsyncResult *res, 1254s # GError **error); 1254s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1254s # GDBusConnection *connection, 1254s # GDBusProxyFlags flags, 1254s # const gchar *name, 1254s # const gchar *object_path, 1254s # GCancellable *cancellable, 1254s # GError **error); 1254s # 1254s # void org_project_useful_interface_proxy_new_for_bus ( 1254s # GBusType bus_type, 1254s # GDBusProxyFlags flags, 1254s # const gchar *name, 1254s # const gchar *object_path, 1254s # GCancellable *cancellable, 1254s # GAsyncReadyCallback callback, 1254s # gpointer user_data); 1254s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1254s # GAsyncResult *res, 1254s # GError **error); 1254s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1254s # GBusType bus_type, 1254s # GDBusProxyFlags flags, 1254s # const gchar *name, 1254s # const gchar *object_path, 1254s # GCancellable *cancellable, 1254s # GError **error); 1254s # 1254s # 1254s # /* ---- */ 1254s # 1254s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1254s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1254s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1254s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1254s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1254s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1254s # 1254s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1254s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1254s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1254s # 1254s # struct _OrgProjectUsefulInterfaceSkeleton 1254s # { 1254s # /*< private >*/ 1254s # GDBusInterfaceSkeleton parent_instance; 1254s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1254s # }; 1254s # 1254s # struct _OrgProjectUsefulInterfaceSkeletonClass 1254s # { 1254s # GDBusInterfaceSkeletonClass parent_class; 1254s # }; 1254s # 1254s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1254s # 1254s # #if GLIB_CHECK_VERSION(2, 44, 0) 1254s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1254s # #endif 1254s # 1254s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1254s # 1254s # 1254s # G_END_DECLS 1254s # 1254s # #endif /* __STDOUT__ */ 1254s # Error: 1254s # 1254s # /tmp/tmpe0_kl3l9/tmp1rxd4wxh.xml: 1254s # 1254s # 1254s # 1254s # 1254s # 1254s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpe0_kl3l9/tmp1rxd4wxh.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1254s # Return code: 0 1254s # Output: 1254s # /* 1254s # * This file is generated by gdbus-codegen, do not modify it. 1254s # * 1254s # * The license of this code is the same as for the D-Bus interface description 1254s # * it was derived from. Note that it links to GLib, so must comply with the 1254s # * LGPL linking clauses. 1254s # */ 1254s # 1254s # #ifndef __STDOUT__ 1254s # #define __STDOUT__ 1254s # 1254s # #include 1254s # 1254s # G_BEGIN_DECLS 1254s # 1254s # 1254s # /* ------------------------------------------------------------------------ */ 1254s # /* Declarations for org.project.UsefulInterface */ 1254s # 1254s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1254s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1254s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1254s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1254s # 1254s # struct _OrgProjectUsefulInterface; 1254s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1254s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1254s # 1254s # struct _OrgProjectUsefulInterfaceIface 1254s # { 1254s # GTypeInterface parent_iface; 1254s # 1254s # gboolean (*handle_useful_method) ( 1254s # OrgProjectUsefulInterface *object, 1254s # GDBusMethodInvocation *invocation); 1254s # 1254s # }; 1254s # 1254s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1254s # 1254s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1254s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1254s # 1254s # 1254s # /* D-Bus method call completion functions: */ 1254s # void org_project_useful_interface_complete_useful_method ( 1254s # OrgProjectUsefulInterface *object, 1254s # GDBusMethodInvocation *invocation); 1254s # 1254s # 1254s # 1254s # /* D-Bus method calls: */ 1254s # void org_project_useful_interface_call_useful_method ( 1254s # OrgProjectUsefulInterface *proxy, 1254s # GCancellable *cancellable, 1254s # GAsyncReadyCallback callback, 1254s # gpointer user_data); 1254s # 1254s # gboolean org_project_useful_interface_call_useful_method_finish ( 1254s # OrgProjectUsefulInterface *proxy, 1254s # GAsyncResult *res, 1254s # GError **error); 1254s # 1254s # gboolean org_project_useful_interface_call_useful_method_sync ( 1254s # OrgProjectUsefulInterface *proxy, 1254s # GCancellable *cancellable, 1254s # GError **error); 1254s # 1254s # 1254s # 1254s # /* ---- */ 1254s # 1254s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1254s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1254s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1254s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1254s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1254s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1254s # 1254s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1254s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1254s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1254s # 1254s # struct _OrgProjectUsefulInterfaceProxy 1254s # { 1254s # /*< private >*/ 1254s # GDBusProxy parent_instance; 1254s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1254s # }; 1254s # 1254s # struct _OrgProjectUsefulInterfaceProxyClass 1254s # { 1254s # GDBusProxyClass parent_class; 1254s # }; 1254s # 1254s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1254s # 1254s # #if GLIB_CHECK_VERSION(2, 44, 0) 1254s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1254s # #endif 1254s # 1254s # void org_project_useful_interface_proxy_new ( 1254s # GDBusConnection *connection, 1254s # GDBusProxyFlags flags, 1254s # const gchar *name, 1254s # const gchar *object_path, 1254s # GCancellable *cancellable, 1254s # GAsyncReadyCallback callback, 1254s # gpointer user_data); 1254s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1254s # GAsyncResult *res, 1254s # GError **error); 1254s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1254s # GDBusConnection *connection, 1254s # GDBusProxyFlags flags, 1254s # const gchar *name, 1254s # const gchar *object_path, 1254s # GCancellable *cancellable, 1254s # GError **error); 1254s # 1254s # void org_project_useful_interface_proxy_new_for_bus ( 1254s # GBusType bus_type, 1254s # GDBusProxyFlags flags, 1254s # const gchar *name, 1254s # const gchar *object_path, 1254s # GCancellable *cancellable, 1254s # GAsyncReadyCallback callback, 1254s # gpointer user_data); 1254s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1254s # GAsyncResult *res, 1254s # GError **error); 1254s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1254s # GBusType bus_type, 1254s # GDBusProxyFlags flags, 1254s # const gchar *name, 1254s # const gchar *object_path, 1254s # GCancellable *cancellable, 1254s # GError **error); 1254s # 1254s # 1254s # /* ---- */ 1254s # 1254s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1254s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1254s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1254s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1254s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1254s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1254s # 1254s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1254s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1254s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1254s # 1254s # struct _OrgProjectUsefulInterfaceSkeleton 1254s # { 1254s # /*< private >*/ 1254s # GDBusInterfaceSkeleton parent_instance; 1254s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1254s # }; 1254s # 1254s # struct _OrgProjectUsefulInterfaceSkeletonClass 1254s # { 1254s # GDBusInterfaceSkeletonClass parent_class; 1254s # }; 1254s # 1254s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1254s # 1254s # #if GLIB_CHECK_VERSION(2, 44, 0) 1254s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1254s # #endif 1254s # 1254s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1254s # 1254s # 1254s # G_END_DECLS 1254s # 1254s # #endif /* __STDOUT__ */ 1254s # Error: 1254s # 1254s # /tmp/tmpe0_kl3l9/tmpqzv5ni6k.xml: 1254s # 1254s # 1254s # 1254s # 1254s # 1254s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpe0_kl3l9/tmpqzv5ni6k.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1254s # Return code: 0 1254s # Output: 1254s # /* 1254s # * This file is generated by gdbus-codegen, do not modify it. 1254s # * 1254s # * The license of this code is the same as for the D-Bus interface description 1254s # * it was derived from. Note that it links to GLib, so must comply with the 1254s # * LGPL linking clauses. 1254s # */ 1254s # 1254s # #ifndef __STDOUT__ 1254s # #define __STDOUT__ 1254s # 1254s # #include 1254s # 1254s # G_BEGIN_DECLS 1254s # 1254s # 1254s # /* ------------------------------------------------------------------------ */ 1254s # /* Declarations for org.project.UsefulInterface */ 1254s # 1254s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 1254s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 1254s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 1254s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 1254s # 1254s # struct _OrgProjectUsefulInterface; 1254s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 1254s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 1254s # 1254s # struct _OrgProjectUsefulInterfaceIface 1254s # { 1254s # GTypeInterface parent_iface; 1254s # 1254s # gboolean (*handle_useful_method) ( 1254s # OrgProjectUsefulInterface *object, 1254s # GDBusMethodInvocation *invocation); 1254s # 1254s # }; 1254s # 1254s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 1254s # 1254s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 1254s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 1254s # 1254s # 1254s # /* D-Bus method call completion functions: */ 1254s # void org_project_useful_interface_complete_useful_method ( 1254s # OrgProjectUsefulInterface *object, 1254s # GDBusMethodInvocation *invocation); 1254s # 1254s # 1254s # 1254s # /* D-Bus method calls: */ 1254s # void org_project_useful_interface_call_useful_method ( 1254s # OrgProjectUsefulInterface *proxy, 1254s # GDBusCallFlags call_flags, 1254s # gint timeout_msec, 1254s # GCancellable *cancellable, 1254s # GAsyncReadyCallback callback, 1254s # gpointer user_data); 1254s # 1254s # gboolean org_project_useful_interface_call_useful_method_finish ( 1254s # OrgProjectUsefulInterface *proxy, 1254s # GAsyncResult *res, 1254s # GError **error); 1254s # 1254s # gboolean org_project_useful_interface_call_useful_method_sync ( 1254s # OrgProjectUsefulInterface *proxy, 1254s # GDBusCallFlags call_flags, 1254s # gint timeout_msec, 1254s # GCancellable *cancellable, 1254s # GError **error); 1254s # 1254s # 1254s # 1254s # /* ---- */ 1254s # 1254s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 1254s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 1254s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1254s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 1254s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1254s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 1254s # 1254s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 1254s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 1254s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 1254s # 1254s # struct _OrgProjectUsefulInterfaceProxy 1254s # { 1254s # /*< private >*/ 1254s # GDBusProxy parent_instance; 1254s # OrgProjectUsefulInterfaceProxyPrivate *priv; 1254s # }; 1254s # 1254s # struct _OrgProjectUsefulInterfaceProxyClass 1254s # { 1254s # GDBusProxyClass parent_class; 1254s # }; 1254s # 1254s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 1254s # 1254s # #if GLIB_CHECK_VERSION(2, 44, 0) 1254s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 1254s # #endif 1254s # 1254s # void org_project_useful_interface_proxy_new ( 1254s # GDBusConnection *connection, 1254s # GDBusProxyFlags flags, 1254s # const gchar *name, 1254s # const gchar *object_path, 1254s # GCancellable *cancellable, 1254s # GAsyncReadyCallback callback, 1254s # gpointer user_data); 1254s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 1254s # GAsyncResult *res, 1254s # GError **error); 1254s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 1254s # GDBusConnection *connection, 1254s # GDBusProxyFlags flags, 1254s # const gchar *name, 1254s # const gchar *object_path, 1254s # GCancellable *cancellable, 1254s # GError **error); 1254s # 1254s # void org_project_useful_interface_proxy_new_for_bus ( 1254s # GBusType bus_type, 1254s # GDBusProxyFlags flags, 1254s # const gchar *name, 1254s # const gchar *object_path, 1254s # GCancellable *cancellable, 1254s # GAsyncReadyCallback callback, 1254s # gpointer user_data); 1254s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 1254s # GAsyncResult *res, 1254s # GError **error); 1254s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 1254s # GBusType bus_type, 1254s # GDBusProxyFlags flags, 1254s # const gchar *name, 1254s # const gchar *object_path, 1254s # GCancellable *cancellable, 1254s # GError **error); 1254s # 1254s # 1254s # /* ---- */ 1254s # 1254s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 1254s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 1254s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1254s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 1254s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1254s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 1254s # 1254s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 1254s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 1254s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 1254s # 1254s # struct _OrgProjectUsefulInterfaceSkeleton 1254s # { 1254s # /*< private >*/ 1254s # GDBusInterfaceSkeleton parent_instance; 1254s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 1254s # }; 1254s # 1254s # struct _OrgProjectUsefulInterfaceSkeletonClass 1254s # { 1254s # GDBusInterfaceSkeletonClass parent_class; 1254s # }; 1254s # 1254s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 1254s # 1254s # #if GLIB_CHECK_VERSION(2, 44, 0) 1254s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 1254s # #endif 1254s # 1254s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 1254s # 1254s # 1254s # G_END_DECLS 1254s # 1254s # #endif /* __STDOUT__ */ 1254s # Error: 1255s ok 2 __main__.TestCodegen.test_dbus_types 1255s # gdbus-codegen: /usr/bin/gdbus-codegen 1255s # tmpdir: /tmp/tmpyj5b0tcb 1255s # /tmp/tmpyj5b0tcb/tmprwns8o0t.xml: 1255s # 1255s # 1255s # 1255s # 1255s # 1255s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyj5b0tcb/tmprwns8o0t.xml', '--output', '-', '--body'] 1255s # Return code: 1 1255s # Output: 1255s # 1255s # Error: 1255s # ERROR: Bad signature "{vs}". "v" is not a valid type for dictionary keys at position 1. 1255s # /tmp/tmpyj5b0tcb/tmpiunha4eu.xml: 1255s # 1255s # 1255s # 1255s # 1255s # 1255s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyj5b0tcb/tmpiunha4eu.xml', '--output', '-', '--body'] 1255s # Return code: 1 1255s # Output: 1255s # 1255s # Error: 1255s # ERROR: Bad signature "(ss(s{{sv}s}))". "{" is not a valid type for dictionary keys at position 6. 1255s # /tmp/tmpyj5b0tcb/tmpo4z4uy83.xml: 1255s # 1255s # 1255s # 1255s # 1255s # 1255s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyj5b0tcb/tmpo4z4uy83.xml', '--output', '-', '--body'] 1255s # Return code: 1 1255s # Output: 1255s # 1255s # Error: 1255s # ERROR: Bad signature "{s". Error parsing string or brackets not closed. 1255s # /tmp/tmpyj5b0tcb/tmp2v2lw3cd.xml: 1255s # 1255s # 1255s # 1255s # 1255s # 1255s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyj5b0tcb/tmp2v2lw3cd.xml', '--output', '-', '--body'] 1255s # Return code: 1 1255s # Output: 1255s # 1255s # Error: 1255s # ERROR: Bad signature "(s{sss})". Dict must end with "}" at position 5. 1255s # /tmp/tmpyj5b0tcb/tmpr34xkzf5.xml: 1255s # 1255s # 1255s # 1255s # 1255s # 1255s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyj5b0tcb/tmpr34xkzf5.xml', '--output', '-', '--body'] 1255s # Return code: 1 1255s # Output: 1255s # 1255s # Error: 1255s # ERROR: Bad signature "z". "z" is not a valid D-Bus type. 1255s # /tmp/tmpyj5b0tcb/tmpdi10f9jn.xml: 1255s # 1255s # 1255s # 1255s # 1255s # 1255s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyj5b0tcb/tmpdi10f9jn.xml', '--output', '-', '--body'] 1255s # Return code: 1 1255s # Output: 1255s # 1255s # Error: 1255s # ERROR: Bad signature "(ssms)". "m" is not a valid D-Bus type. 1255s # /tmp/tmpyj5b0tcb/tmpljf4hzdk.xml: 1255s # 1255s # 1255s # 1255s # 1255s # 1255s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyj5b0tcb/tmpljf4hzdk.xml', '--output', '-', '--body'] 1255s # Return code: 1 1255s # Output: 1255s # 1255s # Error: 1255s # ERROR: Bad signature "(". Error parsing string or brackets not closed. 1255s # /tmp/tmpyj5b0tcb/tmpqw_352ff.xml: 1255s # 1255s # 1255s # 1255s # 1255s # 1255s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyj5b0tcb/tmpqw_352ff.xml', '--output', '-', '--body'] 1255s # Return code: 1 1255s # Output: 1255s # 1255s # Error: 1255s # ERROR: Bad signature "(((ss))". Error parsing string or brackets not closed. 1255s # /tmp/tmpyj5b0tcb/tmpfsbz1fds.xml: 1255s # 1255s # 1255s # 1255s # 1255s # 1255s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyj5b0tcb/tmpfsbz1fds.xml', '--output', '-', '--body'] 1255s # Return code: 1 1255s # Output: 1255s # 1255s # Error: 1255s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas". Too much recursion beginning at 129. 1255s # /tmp/tmpyj5b0tcb/tmpbfzx_wjw.xml: 1255s # 1255s # 1255s # 1255s # 1255s # 1255s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyj5b0tcb/tmpbfzx_wjw.xml', '--output', '-', '--body'] 1255s # Return code: 1 1255s # Output: 1255s # 1255s # Error: 1255s # ERROR: D-Bus maximum signature length of 255 exceeded. 1255s # /tmp/tmpyj5b0tcb/tmpp8qph_xr.xml: 1255s # 1255s # 1255s # 1255s # 1255s # 1255s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyj5b0tcb/tmpp8qph_xr.xml', '--output', '-', '--body'] 1255s # Return code: 1 1255s # Output: 1255s # 1255s # Error: 1255s # ERROR: D-Bus maximum signature length of 255 exceeded. 1255s # /tmp/tmpyj5b0tcb/tmpumzx3kuv.xml: 1255s # 1255s # 1255s # 1255s # 1255s # 1255s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyj5b0tcb/tmpumzx3kuv.xml', '--output', '-', '--body'] 1255s # Return code: 1 1255s # Output: 1255s # 1255s # Error: 1255s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaa{sv})". Too much recursion beginning at 129. 1255s # /tmp/tmpyj5b0tcb/tmp62hk5xvj.xml: 1255s # 1255s # 1255s # 1255s # 1255s # 1255s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyj5b0tcb/tmp62hk5xvj.xml', '--output', '-', '--body'] 1255s # Return code: 1 1255s # Output: 1255s # 1255s # Error: 1255s # ERROR: D-Bus maximum signature length of 255 exceeded. 1255s # /tmp/tmpyj5b0tcb/tmpyrhte5s8.xml: 1255s # 1255s # 1255s # 1255s # 1255s # 1255s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyj5b0tcb/tmpyrhte5s8.xml', '--output', '-', '--body'] 1255s # Return code: 0 1255s # Output: 1255s # /* 1255s # * This file is generated by gdbus-codegen, do not modify it. 1255s # * 1255s # * The license of this code is the same as for the D-Bus interface description 1255s # * it was derived from. Note that it links to GLib, so must comply with the 1255s # * LGPL linking clauses. 1255s # */ 1255s # 1255s # #ifdef HAVE_CONFIG_H 1255s # # include "config.h" 1255s # #endif 1255s # 1255s # #include 1255s # #ifdef G_OS_UNIX 1255s # # include 1255s # #endif 1255s # 1255s # #ifdef G_ENABLE_DEBUG 1255s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1255s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1255s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1255s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1255s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1255s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1255s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1255s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1255s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1255s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1255s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1255s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1255s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1255s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1255s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1255s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1255s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1255s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1255s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1255s # #else /* !G_ENABLE_DEBUG */ 1255s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1255s # * Do not access GValues directly in your code. Instead, use the 1255s # * g_value_get_*() functions 1255s # */ 1255s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1255s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1255s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1255s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1255s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1255s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1255s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1255s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1255s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1255s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1255s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1255s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1255s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1255s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1255s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1255s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1255s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1255s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1255s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1255s # #endif /* !G_ENABLE_DEBUG */ 1255s # 1255s # typedef struct 1255s # { 1255s # GDBusArgInfo parent_struct; 1255s # gboolean use_gvariant; 1255s # } _ExtendedGDBusArgInfo; 1255s # 1255s # typedef struct 1255s # { 1255s # GDBusMethodInfo parent_struct; 1255s # const gchar *signal_name; 1255s # gboolean pass_fdlist; 1255s # } _ExtendedGDBusMethodInfo; 1255s # 1255s # typedef struct 1255s # { 1255s # GDBusSignalInfo parent_struct; 1255s # const gchar *signal_name; 1255s # } _ExtendedGDBusSignalInfo; 1255s # 1255s # typedef struct 1255s # { 1255s # GDBusPropertyInfo parent_struct; 1255s # const gchar *hyphen_name; 1255s # guint use_gvariant : 1; 1255s # guint emits_changed_signal : 1; 1255s # } _ExtendedGDBusPropertyInfo; 1255s # 1255s # typedef struct 1255s # { 1255s # GDBusInterfaceInfo parent_struct; 1255s # const gchar *hyphen_name; 1255s # } _ExtendedGDBusInterfaceInfo; 1255s # 1255s # typedef struct 1255s # { 1255s # const _ExtendedGDBusPropertyInfo *info; 1255s # guint prop_id; 1255s # GValue orig_value; /* the value before the change */ 1255s # } ChangedProperty; 1255s # 1255s # static void 1255s # _changed_property_free (ChangedProperty *data) 1255s # { 1255s # g_value_unset (&data->orig_value); 1255s # g_free (data); 1255s # } 1255s # 1255s # static gboolean 1255s # _g_strv_equal0 (gchar **a, gchar **b) 1255s # { 1255s # gboolean ret = FALSE; 1255s # guint n; 1255s # if (a == NULL && b == NULL) 1255s # { 1255s # ret = TRUE; 1255s # goto out; 1255s # } 1255s # if (a == NULL || b == NULL) 1255s # goto out; 1255s # if (g_strv_length (a) != g_strv_length (b)) 1255s # goto out; 1255s # for (n = 0; a[n] != NULL; n++) 1255s # if (g_strcmp0 (a[n], b[n]) != 0) 1255s # goto out; 1255s # ret = TRUE; 1255s # out: 1255s # return ret; 1255s # } 1255s # 1255s # static gboolean 1255s # _g_variant_equal0 (GVariant *a, GVariant *b) 1255s # { 1255s # gboolean ret = FALSE; 1255s # if (a == NULL && b == NULL) 1255s # { 1255s # ret = TRUE; 1255s # goto out; 1255s # } 1255s # if (a == NULL || b == NULL) 1255s # goto out; 1255s # ret = g_variant_equal (a, b); 1255s # out: 1255s # return ret; 1255s # } 1255s # 1255s # G_GNUC_UNUSED static gboolean 1255s # _g_value_equal (const GValue *a, const GValue *b) 1255s # { 1255s # gboolean ret = FALSE; 1255s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1255s # switch (G_VALUE_TYPE (a)) 1255s # { 1255s # case G_TYPE_BOOLEAN: 1255s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1255s # break; 1255s # case G_TYPE_UCHAR: 1255s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1255s # break; 1255s # case G_TYPE_INT: 1255s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1255s # break; 1255s # case G_TYPE_UINT: 1255s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1255s # break; 1255s # case G_TYPE_INT64: 1255s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1255s # break; 1255s # case G_TYPE_UINT64: 1255s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1255s # break; 1255s # case G_TYPE_DOUBLE: 1255s # { 1255s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1255s # gdouble da = g_value_get_double (a); 1255s # gdouble db = g_value_get_double (b); 1255s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1255s # } 1255s # break; 1255s # case G_TYPE_STRING: 1255s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1255s # break; 1255s # case G_TYPE_VARIANT: 1255s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1255s # break; 1255s # default: 1255s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1255s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1255s # else 1255s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1255s # break; 1255s # } 1255s # return ret; 1255s # } 1255s # 1255s # /* ------------------------------------------------------------------------ 1255s # * Code for interface GoodTypes 1255s # * ------------------------------------------------------------------------ 1255s # */ 1255s # 1255s # /** 1255s # * SECTION:GoodTypes 1255s # * @title: GoodTypes 1255s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1255s # * 1255s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1255s # */ 1255s # 1255s # /* ---- Introspection data for GoodTypes ---- */ 1255s # 1255s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1255s # { 1255s # { 1255s # -1, 1255s # (gchar *) "GoodPropertyType", 1255s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 1255s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1255s # NULL 1255s # }, 1255s # "good-property-type", 1255s # FALSE, 1255s # TRUE 1255s # }; 1255s # 1255s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1255s # { 1255s # &_good_types_property_info_good_property_type.parent_struct, 1255s # NULL 1255s # }; 1255s # 1255s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1255s # { 1255s # { 1255s # -1, 1255s # (gchar *) "GoodTypes", 1255s # NULL, 1255s # NULL, 1255s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1255s # NULL 1255s # }, 1255s # "good-types", 1255s # }; 1255s # 1255s # 1255s # /** 1255s # * good_types_interface_info: 1255s # * 1255s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1255s # * 1255s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1255s # */ 1255s # GDBusInterfaceInfo * 1255s # good_types_interface_info (void) 1255s # { 1255s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1255s # } 1255s # 1255s # /** 1255s # * good_types_override_properties: 1255s # * @klass: The class structure for a #GObject derived class. 1255s # * @property_id_begin: The property id to assign to the first overridden property. 1255s # * 1255s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1255s # * The properties are overridden in the order they are defined. 1255s # * 1255s # * Returns: The last property id. 1255s # */ 1255s # guint 1255s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1255s # { 1255s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1255s # return property_id_begin - 1; 1255s # } 1255s # 1255s # 1255s # 1255s # /** 1255s # * GoodTypes: 1255s # * 1255s # * Abstract interface type for the D-Bus interface GoodTypes. 1255s # */ 1255s # 1255s # /** 1255s # * GoodTypesIface: 1255s # * @parent_iface: The parent interface. 1255s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1255s # * 1255s # * Virtual table for the D-Bus interface GoodTypes. 1255s # */ 1255s # 1255s # typedef GoodTypesIface GoodTypesInterface; 1255s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1255s # 1255s # static void 1255s # good_types_default_init (GoodTypesIface *iface) 1255s # { 1255s # /* GObject properties for D-Bus properties: */ 1255s # /** 1255s # * GoodTypes:good-property-type: 1255s # * 1255s # * Represents the D-Bus property "GoodPropertyType". 1255s # * 1255s # * 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. 1255s # */ 1255s # g_object_interface_install_property (iface, 1255s # 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)); 1255s # } 1255s # 1255s # /** 1255s # * good_types_get_good_property_type: (skip) 1255s # * @object: A GoodTypes. 1255s # * 1255s # * Gets the value of the "GoodPropertyType" D-Bus property. 1255s # * 1255s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1255s # * 1255s # * 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. 1255s # * 1255s # * 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. 1255s # */ 1255s # GVariant * 1255s # good_types_get_good_property_type (GoodTypes *object) 1255s # { 1255s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1255s # 1255s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1255s # } 1255s # 1255s # /** 1255s # * good_types_dup_good_property_type: (skip) 1255s # * @object: A GoodTypes. 1255s # * 1255s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1255s # * 1255s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1255s # * 1255s # * 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(). 1255s # */ 1255s # GVariant * 1255s # good_types_dup_good_property_type (GoodTypes *object) 1255s # { 1255s # GVariant *value; 1255s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1255s # return value; 1255s # } 1255s # 1255s # /** 1255s # * good_types_set_good_property_type: (skip) 1255s # * @object: A GoodTypes. 1255s # * @value: The value to set. 1255s # * 1255s # * Sets the "GoodPropertyType" D-Bus property to @value. 1255s # * 1255s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1255s # */ 1255s # void 1255s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1255s # { 1255s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1255s # } 1255s # 1255s # /* ------------------------------------------------------------------------ */ 1255s # 1255s # /** 1255s # * GoodTypesProxy: 1255s # * 1255s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1255s # */ 1255s # 1255s # /** 1255s # * GoodTypesProxyClass: 1255s # * @parent_class: The parent class. 1255s # * 1255s # * Class structure for GoodTypesProxy. 1255s # */ 1255s # 1255s # struct _GoodTypesProxyPrivate 1255s # { 1255s # GData *qdata; 1255s # }; 1255s # 1255s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1255s # 1255s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1255s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1255s # G_ADD_PRIVATE (GoodTypesProxy) 1255s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1255s # 1255s # #else 1255s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1255s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1255s # 1255s # #endif 1255s # static void 1255s # good_types_proxy_finalize (GObject *object) 1255s # { 1255s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1255s # g_datalist_clear (&proxy->priv->qdata); 1255s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1255s # } 1255s # 1255s # static void 1255s # good_types_proxy_get_property (GObject *object, 1255s # guint prop_id, 1255s # GValue *value, 1255s # GParamSpec *pspec G_GNUC_UNUSED) 1255s # { 1255s # const _ExtendedGDBusPropertyInfo *info; 1255s # GVariant *variant; 1255s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1255s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1255s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1255s # if (info->use_gvariant) 1255s # { 1255s # g_value_set_variant (value, variant); 1255s # } 1255s # else 1255s # { 1255s # if (variant != NULL) 1255s # g_dbus_gvariant_to_gvalue (variant, value); 1255s # } 1255s # if (variant != NULL) 1255s # g_variant_unref (variant); 1255s # } 1255s # 1255s # static void 1255s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1255s # GAsyncResult *res, 1255s # gpointer user_data) 1255s # { 1255s # const _ExtendedGDBusPropertyInfo *info = user_data; 1255s # GError *error; 1255s # GVariant *_ret; 1255s # error = NULL; 1255s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1255s # if (!_ret) 1255s # { 1255s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1255s # info->parent_struct.name, 1255s # error->message, g_quark_to_string (error->domain), error->code); 1255s # g_error_free (error); 1255s # } 1255s # else 1255s # { 1255s # g_variant_unref (_ret); 1255s # } 1255s # } 1255s # 1255s # static void 1255s # good_types_proxy_set_property (GObject *object, 1255s # guint prop_id, 1255s # const GValue *value, 1255s # GParamSpec *pspec G_GNUC_UNUSED) 1255s # { 1255s # const _ExtendedGDBusPropertyInfo *info; 1255s # GVariant *variant; 1255s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1255s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1255s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1255s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1255s # "org.freedesktop.DBus.Properties.Set", 1255s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1255s # G_DBUS_CALL_FLAGS_NONE, 1255s # -1, 1255s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1255s # g_variant_unref (variant); 1255s # } 1255s # 1255s # static void 1255s # good_types_proxy_g_signal (GDBusProxy *proxy, 1255s # const gchar *sender_name G_GNUC_UNUSED, 1255s # const gchar *signal_name, 1255s # GVariant *parameters) 1255s # { 1255s # _ExtendedGDBusSignalInfo *info; 1255s # GVariantIter iter; 1255s # GVariant *child; 1255s # GValue *paramv; 1255s # gsize num_params; 1255s # gsize n; 1255s # guint signal_id; 1255s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1255s # if (info == NULL) 1255s # return; 1255s # num_params = g_variant_n_children (parameters); 1255s # paramv = g_new0 (GValue, num_params + 1); 1255s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1255s # g_value_set_object (¶mv[0], proxy); 1255s # g_variant_iter_init (&iter, parameters); 1255s # n = 1; 1255s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1255s # { 1255s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1255s # if (arg_info->use_gvariant) 1255s # { 1255s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1255s # g_value_set_variant (¶mv[n], child); 1255s # n++; 1255s # } 1255s # else 1255s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1255s # g_variant_unref (child); 1255s # } 1255s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1255s # g_signal_emitv (paramv, signal_id, 0, NULL); 1255s # for (n = 0; n < num_params + 1; n++) 1255s # g_value_unset (¶mv[n]); 1255s # g_free (paramv); 1255s # } 1255s # 1255s # static void 1255s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1255s # GVariant *changed_properties, 1255s # const gchar *const *invalidated_properties) 1255s # { 1255s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1255s # guint n; 1255s # const gchar *key; 1255s # GVariantIter *iter; 1255s # _ExtendedGDBusPropertyInfo *info; 1255s # g_variant_get (changed_properties, "a{sv}", &iter); 1255s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1255s # { 1255s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1255s # g_datalist_remove_data (&proxy->priv->qdata, key); 1255s # if (info != NULL) 1255s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1255s # } 1255s # g_variant_iter_free (iter); 1255s # for (n = 0; invalidated_properties[n] != NULL; n++) 1255s # { 1255s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1255s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1255s # if (info != NULL) 1255s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1255s # } 1255s # } 1255s # 1255s # static GVariant * 1255s # good_types_proxy_get_good_property_type (GoodTypes *object) 1255s # { 1255s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1255s # GVariant *variant; 1255s # GVariant *value = NULL; 1255s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1255s # value = variant; 1255s # if (variant != NULL) 1255s # g_variant_unref (variant); 1255s # return value; 1255s # } 1255s # 1255s # static void 1255s # good_types_proxy_init (GoodTypesProxy *proxy) 1255s # { 1255s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1255s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1255s # #else 1255s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1255s # #endif 1255s # 1255s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1255s # } 1255s # 1255s # static void 1255s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1255s # { 1255s # GObjectClass *gobject_class; 1255s # GDBusProxyClass *proxy_class; 1255s # 1255s # gobject_class = G_OBJECT_CLASS (klass); 1255s # gobject_class->finalize = good_types_proxy_finalize; 1255s # gobject_class->get_property = good_types_proxy_get_property; 1255s # gobject_class->set_property = good_types_proxy_set_property; 1255s # 1255s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1255s # proxy_class->g_signal = good_types_proxy_g_signal; 1255s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1255s # 1255s # good_types_override_properties (gobject_class, 1); 1255s # 1255s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1255s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1255s # #endif 1255s # } 1255s # 1255s # static void 1255s # good_types_proxy_iface_init (GoodTypesIface *iface) 1255s # { 1255s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1255s # } 1255s # 1255s # /** 1255s # * good_types_proxy_new: 1255s # * @connection: A #GDBusConnection. 1255s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1255s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1255s # * @object_path: An object path. 1255s # * @cancellable: (nullable): A #GCancellable or %NULL. 1255s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1255s # * @user_data: User data to pass to @callback. 1255s # * 1255s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1255s # * 1255s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1255s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1255s # * 1255s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1255s # */ 1255s # void 1255s # good_types_proxy_new ( 1255s # GDBusConnection *connection, 1255s # GDBusProxyFlags flags, 1255s # const gchar *name, 1255s # const gchar *object_path, 1255s # GCancellable *cancellable, 1255s # GAsyncReadyCallback callback, 1255s # gpointer user_data) 1255s # { 1255s # 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); 1255s # } 1255s # 1255s # /** 1255s # * good_types_proxy_new_finish: 1255s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1255s # * @error: Return location for error or %NULL 1255s # * 1255s # * Finishes an operation started with good_types_proxy_new(). 1255s # * 1255s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1255s # */ 1255s # GoodTypes * 1255s # good_types_proxy_new_finish ( 1255s # GAsyncResult *res, 1255s # GError **error) 1255s # { 1255s # GObject *ret; 1255s # GObject *source_object; 1255s # source_object = g_async_result_get_source_object (res); 1255s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1255s # g_object_unref (source_object); 1255s # if (ret != NULL) 1255s # return GOOD_TYPES (ret); 1255s # else 1255s # return NULL; 1255s # } 1255s # 1255s # /** 1255s # * good_types_proxy_new_sync: 1255s # * @connection: A #GDBusConnection. 1255s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1255s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1255s # * @object_path: An object path. 1255s # * @cancellable: (nullable): A #GCancellable or %NULL. 1255s # * @error: Return location for error or %NULL 1255s # * 1255s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1255s # * 1255s # * The calling thread is blocked until a reply is received. 1255s # * 1255s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1255s # * 1255s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1255s # */ 1255s # GoodTypes * 1255s # good_types_proxy_new_sync ( 1255s # GDBusConnection *connection, 1255s # GDBusProxyFlags flags, 1255s # const gchar *name, 1255s # const gchar *object_path, 1255s # GCancellable *cancellable, 1255s # GError **error) 1255s # { 1255s # GInitable *ret; 1255s # 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); 1255s # if (ret != NULL) 1255s # return GOOD_TYPES (ret); 1255s # else 1255s # return NULL; 1255s # } 1255s # 1255s # 1255s # /** 1255s # * good_types_proxy_new_for_bus: 1255s # * @bus_type: A #GBusType. 1255s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1255s # * @name: A bus name (well-known or unique). 1255s # * @object_path: An object path. 1255s # * @cancellable: (nullable): A #GCancellable or %NULL. 1255s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1255s # * @user_data: User data to pass to @callback. 1255s # * 1255s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1255s # * 1255s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1255s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1255s # * 1255s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1255s # */ 1255s # void 1255s # good_types_proxy_new_for_bus ( 1255s # GBusType bus_type, 1255s # GDBusProxyFlags flags, 1255s # const gchar *name, 1255s # const gchar *object_path, 1255s # GCancellable *cancellable, 1255s # GAsyncReadyCallback callback, 1255s # gpointer user_data) 1255s # { 1255s # 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); 1255s # } 1255s # 1255s # /** 1255s # * good_types_proxy_new_for_bus_finish: 1255s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1255s # * @error: Return location for error or %NULL 1255s # * 1255s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1255s # * 1255s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1255s # */ 1255s # GoodTypes * 1255s # good_types_proxy_new_for_bus_finish ( 1255s # GAsyncResult *res, 1255s # GError **error) 1255s # { 1255s # GObject *ret; 1255s # GObject *source_object; 1255s # source_object = g_async_result_get_source_object (res); 1255s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1255s # g_object_unref (source_object); 1255s # if (ret != NULL) 1255s # return GOOD_TYPES (ret); 1255s # else 1255s # return NULL; 1255s # } 1255s # 1255s # /** 1255s # * good_types_proxy_new_for_bus_sync: 1255s # * @bus_type: A #GBusType. 1255s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1255s # * @name: A bus name (well-known or unique). 1255s # * @object_path: An object path. 1255s # * @cancellable: (nullable): A #GCancellable or %NULL. 1255s # * @error: Return location for error or %NULL 1255s # * 1255s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1255s # * 1255s # * The calling thread is blocked until a reply is received. 1255s # * 1255s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1255s # * 1255s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1255s # */ 1255s # GoodTypes * 1255s # good_types_proxy_new_for_bus_sync ( 1255s # GBusType bus_type, 1255s # GDBusProxyFlags flags, 1255s # const gchar *name, 1255s # const gchar *object_path, 1255s # GCancellable *cancellable, 1255s # GError **error) 1255s # { 1255s # GInitable *ret; 1255s # 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); 1255s # if (ret != NULL) 1255s # return GOOD_TYPES (ret); 1255s # else 1255s # return NULL; 1255s # } 1255s # 1255s # 1255s # /* ------------------------------------------------------------------------ */ 1255s # 1255s # /** 1255s # * GoodTypesSkeleton: 1255s # * 1255s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1255s # */ 1255s # 1255s # /** 1255s # * GoodTypesSkeletonClass: 1255s # * @parent_class: The parent class. 1255s # * 1255s # * Class structure for GoodTypesSkeleton. 1255s # */ 1255s # 1255s # struct _GoodTypesSkeletonPrivate 1255s # { 1255s # GValue *properties; 1255s # GList *changed_properties; 1255s # GSource *changed_properties_idle_source; 1255s # GMainContext *context; 1255s # GMutex lock; 1255s # }; 1255s # 1255s # static void 1255s # _good_types_skeleton_handle_method_call ( 1255s # GDBusConnection *connection G_GNUC_UNUSED, 1255s # const gchar *sender G_GNUC_UNUSED, 1255s # const gchar *object_path G_GNUC_UNUSED, 1255s # const gchar *interface_name, 1255s # const gchar *method_name, 1255s # GVariant *parameters, 1255s # GDBusMethodInvocation *invocation, 1255s # gpointer user_data) 1255s # { 1255s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1255s # _ExtendedGDBusMethodInfo *info; 1255s # GVariantIter iter; 1255s # GVariant *child; 1255s # GValue *paramv; 1255s # gsize num_params; 1255s # guint num_extra; 1255s # gsize n; 1255s # guint signal_id; 1255s # GValue return_value = G_VALUE_INIT; 1255s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1255s # g_assert (info != NULL); 1255s # num_params = g_variant_n_children (parameters); 1255s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1255s # n = 0; 1255s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1255s # g_value_set_object (¶mv[n++], skeleton); 1255s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1255s # g_value_set_object (¶mv[n++], invocation); 1255s # if (info->pass_fdlist) 1255s # { 1255s # #ifdef G_OS_UNIX 1255s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1255s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1255s # #else 1255s # g_assert_not_reached (); 1255s # #endif 1255s # } 1255s # g_variant_iter_init (&iter, parameters); 1255s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1255s # { 1255s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1255s # if (arg_info->use_gvariant) 1255s # { 1255s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1255s # g_value_set_variant (¶mv[n], child); 1255s # n++; 1255s # } 1255s # else 1255s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1255s # g_variant_unref (child); 1255s # } 1255s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1255s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1255s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1255s # if (!g_value_get_boolean (&return_value)) 1255s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1255s # g_value_unset (&return_value); 1255s # for (n = 0; n < num_params + num_extra; n++) 1255s # g_value_unset (¶mv[n]); 1255s # g_free (paramv); 1255s # } 1255s # 1255s # static GVariant * 1255s # _good_types_skeleton_handle_get_property ( 1255s # GDBusConnection *connection G_GNUC_UNUSED, 1255s # const gchar *sender G_GNUC_UNUSED, 1255s # const gchar *object_path G_GNUC_UNUSED, 1255s # const gchar *interface_name G_GNUC_UNUSED, 1255s # const gchar *property_name, 1255s # GError **error, 1255s # gpointer user_data) 1255s # { 1255s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1255s # GValue value = G_VALUE_INIT; 1255s # GParamSpec *pspec; 1255s # _ExtendedGDBusPropertyInfo *info; 1255s # GVariant *ret; 1255s # ret = NULL; 1255s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1255s # g_assert (info != NULL); 1255s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1255s # if (pspec == NULL) 1255s # { 1255s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1255s # } 1255s # else 1255s # { 1255s # g_value_init (&value, pspec->value_type); 1255s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1255s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1255s # g_value_unset (&value); 1255s # } 1255s # return ret; 1255s # } 1255s # 1255s # static gboolean 1255s # _good_types_skeleton_handle_set_property ( 1255s # GDBusConnection *connection G_GNUC_UNUSED, 1255s # const gchar *sender G_GNUC_UNUSED, 1255s # const gchar *object_path G_GNUC_UNUSED, 1255s # const gchar *interface_name G_GNUC_UNUSED, 1255s # const gchar *property_name, 1255s # GVariant *variant, 1255s # GError **error, 1255s # gpointer user_data) 1255s # { 1255s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1255s # GValue value = G_VALUE_INIT; 1255s # GParamSpec *pspec; 1255s # _ExtendedGDBusPropertyInfo *info; 1255s # gboolean ret; 1255s # ret = FALSE; 1255s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1255s # g_assert (info != NULL); 1255s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1255s # if (pspec == NULL) 1255s # { 1255s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1255s # } 1255s # else 1255s # { 1255s # if (info->use_gvariant) 1255s # g_value_set_variant (&value, variant); 1255s # else 1255s # g_dbus_gvariant_to_gvalue (variant, &value); 1255s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1255s # g_value_unset (&value); 1255s # ret = TRUE; 1255s # } 1255s # return ret; 1255s # } 1255s # 1255s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1255s # { 1255s # _good_types_skeleton_handle_method_call, 1255s # _good_types_skeleton_handle_get_property, 1255s # _good_types_skeleton_handle_set_property, 1255s # {NULL} 1255s # }; 1255s # 1255s # static GDBusInterfaceInfo * 1255s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1255s # { 1255s # return good_types_interface_info (); 1255s # } 1255s # 1255s # static GDBusInterfaceVTable * 1255s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1255s # { 1255s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1255s # } 1255s # 1255s # static GVariant * 1255s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1255s # { 1255s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1255s # 1255s # GVariantBuilder builder; 1255s # guint n; 1255s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1255s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1255s # #else 1255s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1255s # #endif 1255s # if (_good_types_interface_info.parent_struct.properties == NULL) 1255s # goto out; 1255s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1255s # { 1255s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1255s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1255s # { 1255s # GVariant *value; 1255s # 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); 1255s # if (value != NULL) 1255s # { 1255s # g_variant_take_ref (value); 1255s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1255s # g_variant_unref (value); 1255s # } 1255s # } 1255s # } 1255s # out: 1255s # return g_variant_builder_end (&builder); 1255s # } 1255s # 1255s # static gboolean _good_types_emit_changed (gpointer user_data); 1255s # 1255s # static void 1255s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1255s # { 1255s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1255s # gboolean emit_changed = FALSE; 1255s # 1255s # g_mutex_lock (&skeleton->priv->lock); 1255s # if (skeleton->priv->changed_properties_idle_source != NULL) 1255s # { 1255s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1255s # skeleton->priv->changed_properties_idle_source = NULL; 1255s # emit_changed = TRUE; 1255s # } 1255s # g_mutex_unlock (&skeleton->priv->lock); 1255s # 1255s # if (emit_changed) 1255s # _good_types_emit_changed (skeleton); 1255s # } 1255s # 1255s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1255s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1255s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1255s # G_ADD_PRIVATE (GoodTypesSkeleton) 1255s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1255s # 1255s # #else 1255s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1255s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1255s # 1255s # #endif 1255s # static void 1255s # good_types_skeleton_finalize (GObject *object) 1255s # { 1255s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1255s # guint n; 1255s # for (n = 0; n < 1; n++) 1255s # g_value_unset (&skeleton->priv->properties[n]); 1255s # g_free (skeleton->priv->properties); 1255s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1255s # if (skeleton->priv->changed_properties_idle_source != NULL) 1255s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1255s # g_main_context_unref (skeleton->priv->context); 1255s # g_mutex_clear (&skeleton->priv->lock); 1255s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1255s # } 1255s # 1255s # static void 1255s # good_types_skeleton_get_property (GObject *object, 1255s # guint prop_id, 1255s # GValue *value, 1255s # GParamSpec *pspec G_GNUC_UNUSED) 1255s # { 1255s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1255s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1255s # g_mutex_lock (&skeleton->priv->lock); 1255s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1255s # g_mutex_unlock (&skeleton->priv->lock); 1255s # } 1255s # 1255s # static gboolean 1255s # _good_types_emit_changed (gpointer user_data) 1255s # { 1255s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1255s # GList *l; 1255s # GVariantBuilder builder; 1255s # GVariantBuilder invalidated_builder; 1255s # guint num_changes; 1255s # 1255s # g_mutex_lock (&skeleton->priv->lock); 1255s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1255s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1255s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1255s # #else 1255s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1255s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1255s # #endif 1255s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1255s # { 1255s # ChangedProperty *cp = l->data; 1255s # GVariant *variant; 1255s # const GValue *cur_value; 1255s # 1255s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1255s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1255s # { 1255s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1255s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1255s # g_variant_unref (variant); 1255s # num_changes++; 1255s # } 1255s # } 1255s # if (num_changes > 0) 1255s # { 1255s # GList *connections, *ll; 1255s # GVariant *signal_variant; 1255s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1255s # &builder, &invalidated_builder)); 1255s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1255s # for (ll = connections; ll != NULL; ll = ll->next) 1255s # { 1255s # GDBusConnection *connection = ll->data; 1255s # 1255s # g_dbus_connection_emit_signal (connection, 1255s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1255s # "org.freedesktop.DBus.Properties", 1255s # "PropertiesChanged", 1255s # signal_variant, 1255s # NULL); 1255s # } 1255s # g_variant_unref (signal_variant); 1255s # g_list_free_full (connections, g_object_unref); 1255s # } 1255s # else 1255s # { 1255s # g_variant_builder_clear (&builder); 1255s # g_variant_builder_clear (&invalidated_builder); 1255s # } 1255s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1255s # skeleton->priv->changed_properties = NULL; 1255s # skeleton->priv->changed_properties_idle_source = NULL; 1255s # g_mutex_unlock (&skeleton->priv->lock); 1255s # return FALSE; 1255s # } 1255s # 1255s # static void 1255s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1255s # { 1255s # ChangedProperty *cp; 1255s # GList *l; 1255s # cp = NULL; 1255s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1255s # { 1255s # ChangedProperty *i_cp = l->data; 1255s # if (i_cp->info == info) 1255s # { 1255s # cp = i_cp; 1255s # break; 1255s # } 1255s # } 1255s # if (cp == NULL) 1255s # { 1255s # cp = g_new0 (ChangedProperty, 1); 1255s # cp->prop_id = prop_id; 1255s # cp->info = info; 1255s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1255s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1255s # g_value_copy (orig_value, &cp->orig_value); 1255s # } 1255s # } 1255s # 1255s # static void 1255s # good_types_skeleton_notify (GObject *object, 1255s # GParamSpec *pspec G_GNUC_UNUSED) 1255s # { 1255s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1255s # g_mutex_lock (&skeleton->priv->lock); 1255s # if (skeleton->priv->changed_properties != NULL && 1255s # skeleton->priv->changed_properties_idle_source == NULL) 1255s # { 1255s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1255s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1255s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1255s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1255s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1255s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1255s # } 1255s # g_mutex_unlock (&skeleton->priv->lock); 1255s # } 1255s # 1255s # static void 1255s # good_types_skeleton_set_property (GObject *object, 1255s # guint prop_id, 1255s # const GValue *value, 1255s # GParamSpec *pspec) 1255s # { 1255s # const _ExtendedGDBusPropertyInfo *info; 1255s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1255s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1255s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1255s # g_mutex_lock (&skeleton->priv->lock); 1255s # g_object_freeze_notify (object); 1255s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1255s # { 1255s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1255s # info->emits_changed_signal) 1255s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1255s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1255s # g_object_notify_by_pspec (object, pspec); 1255s # } 1255s # g_mutex_unlock (&skeleton->priv->lock); 1255s # g_object_thaw_notify (object); 1255s # } 1255s # 1255s # static void 1255s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1255s # { 1255s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1255s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1255s # #else 1255s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1255s # #endif 1255s # 1255s # g_mutex_init (&skeleton->priv->lock); 1255s # skeleton->priv->context = g_main_context_ref_thread_default (); 1255s # skeleton->priv->properties = g_new0 (GValue, 1); 1255s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1255s # } 1255s # 1255s # static GVariant * 1255s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1255s # { 1255s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1255s # GVariant *value; 1255s # g_mutex_lock (&skeleton->priv->lock); 1255s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1255s # g_mutex_unlock (&skeleton->priv->lock); 1255s # return value; 1255s # } 1255s # 1255s # static void 1255s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1255s # { 1255s # GObjectClass *gobject_class; 1255s # GDBusInterfaceSkeletonClass *skeleton_class; 1255s # 1255s # gobject_class = G_OBJECT_CLASS (klass); 1255s # gobject_class->finalize = good_types_skeleton_finalize; 1255s # gobject_class->get_property = good_types_skeleton_get_property; 1255s # gobject_class->set_property = good_types_skeleton_set_property; 1255s # gobject_class->notify = good_types_skeleton_notify; 1255s # 1255s # 1255s # good_types_override_properties (gobject_class, 1); 1255s # 1255s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1255s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1255s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1255s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1255s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1255s # 1255s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1255s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1255s # #endif 1255s # } 1255s # 1255s # static void 1255s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1255s # { 1255s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1255s # } 1255s # 1255s # /** 1255s # * good_types_skeleton_new: 1255s # * 1255s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1255s # * 1255s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1255s # */ 1255s # GoodTypes * 1255s # good_types_skeleton_new (void) 1255s # { 1255s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1255s # } 1255s # Error: 1255s # 1255s # /tmp/tmpyj5b0tcb/tmpmhtdv2iw.xml: 1255s # 1255s # 1255s # 1255s # 1255s # 1255s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyj5b0tcb/tmpmhtdv2iw.xml', '--output', '-', '--body'] 1255s # Return code: 0 1255s # Output: 1255s # /* 1255s # * This file is generated by gdbus-codegen, do not modify it. 1255s # * 1255s # * The license of this code is the same as for the D-Bus interface description 1255s # * it was derived from. Note that it links to GLib, so must comply with the 1255s # * LGPL linking clauses. 1255s # */ 1255s # 1255s # #ifdef HAVE_CONFIG_H 1255s # # include "config.h" 1255s # #endif 1255s # 1255s # #include 1255s # #ifdef G_OS_UNIX 1255s # # include 1255s # #endif 1255s # 1255s # #ifdef G_ENABLE_DEBUG 1255s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1255s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1255s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1255s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1255s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1255s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1255s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1255s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1255s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1255s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1255s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1255s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1255s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1255s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1255s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1255s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1255s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1255s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1255s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1255s # #else /* !G_ENABLE_DEBUG */ 1255s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1255s # * Do not access GValues directly in your code. Instead, use the 1255s # * g_value_get_*() functions 1255s # */ 1255s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1255s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1255s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1255s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1255s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1255s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1255s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1255s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1255s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1255s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1255s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1255s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1255s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1255s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1255s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1255s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1255s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1255s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1255s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1255s # #endif /* !G_ENABLE_DEBUG */ 1255s # 1255s # typedef struct 1255s # { 1255s # GDBusArgInfo parent_struct; 1255s # gboolean use_gvariant; 1255s # } _ExtendedGDBusArgInfo; 1255s # 1255s # typedef struct 1255s # { 1255s # GDBusMethodInfo parent_struct; 1255s # const gchar *signal_name; 1255s # gboolean pass_fdlist; 1255s # } _ExtendedGDBusMethodInfo; 1255s # 1255s # typedef struct 1255s # { 1255s # GDBusSignalInfo parent_struct; 1255s # const gchar *signal_name; 1255s # } _ExtendedGDBusSignalInfo; 1255s # 1255s # typedef struct 1255s # { 1255s # GDBusPropertyInfo parent_struct; 1255s # const gchar *hyphen_name; 1255s # guint use_gvariant : 1; 1255s # guint emits_changed_signal : 1; 1255s # } _ExtendedGDBusPropertyInfo; 1255s # 1255s # typedef struct 1255s # { 1255s # GDBusInterfaceInfo parent_struct; 1255s # const gchar *hyphen_name; 1255s # } _ExtendedGDBusInterfaceInfo; 1255s # 1255s # typedef struct 1255s # { 1255s # const _ExtendedGDBusPropertyInfo *info; 1255s # guint prop_id; 1255s # GValue orig_value; /* the value before the change */ 1255s # } ChangedProperty; 1255s # 1255s # static void 1255s # _changed_property_free (ChangedProperty *data) 1255s # { 1255s # g_value_unset (&data->orig_value); 1255s # g_free (data); 1255s # } 1255s # 1255s # static gboolean 1255s # _g_strv_equal0 (gchar **a, gchar **b) 1255s # { 1255s # gboolean ret = FALSE; 1255s # guint n; 1255s # if (a == NULL && b == NULL) 1255s # { 1255s # ret = TRUE; 1255s # goto out; 1255s # } 1255s # if (a == NULL || b == NULL) 1255s # goto out; 1255s # if (g_strv_length (a) != g_strv_length (b)) 1255s # goto out; 1255s # for (n = 0; a[n] != NULL; n++) 1255s # if (g_strcmp0 (a[n], b[n]) != 0) 1255s # goto out; 1255s # ret = TRUE; 1255s # out: 1255s # return ret; 1255s # } 1255s # 1255s # static gboolean 1255s # _g_variant_equal0 (GVariant *a, GVariant *b) 1255s # { 1255s # gboolean ret = FALSE; 1255s # if (a == NULL && b == NULL) 1255s # { 1255s # ret = TRUE; 1255s # goto out; 1255s # } 1255s # if (a == NULL || b == NULL) 1255s # goto out; 1255s # ret = g_variant_equal (a, b); 1255s # out: 1255s # return ret; 1255s # } 1255s # 1255s # G_GNUC_UNUSED static gboolean 1255s # _g_value_equal (const GValue *a, const GValue *b) 1255s # { 1255s # gboolean ret = FALSE; 1255s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1255s # switch (G_VALUE_TYPE (a)) 1255s # { 1255s # case G_TYPE_BOOLEAN: 1255s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1255s # break; 1255s # case G_TYPE_UCHAR: 1255s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1255s # break; 1255s # case G_TYPE_INT: 1255s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1255s # break; 1255s # case G_TYPE_UINT: 1255s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1255s # break; 1255s # case G_TYPE_INT64: 1255s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1255s # break; 1255s # case G_TYPE_UINT64: 1255s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1255s # break; 1255s # case G_TYPE_DOUBLE: 1255s # { 1255s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1255s # gdouble da = g_value_get_double (a); 1255s # gdouble db = g_value_get_double (b); 1255s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1255s # } 1255s # break; 1255s # case G_TYPE_STRING: 1255s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1255s # break; 1255s # case G_TYPE_VARIANT: 1255s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1255s # break; 1255s # default: 1255s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1255s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1255s # else 1255s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1255s # break; 1255s # } 1255s # return ret; 1255s # } 1255s # 1255s # /* ------------------------------------------------------------------------ 1255s # * Code for interface GoodTypes 1255s # * ------------------------------------------------------------------------ 1255s # */ 1255s # 1255s # /** 1255s # * SECTION:GoodTypes 1255s # * @title: GoodTypes 1255s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1255s # * 1255s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1255s # */ 1255s # 1255s # /* ---- Introspection data for GoodTypes ---- */ 1255s # 1255s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1255s # { 1255s # { 1255s # -1, 1255s # (gchar *) "GoodPropertyType", 1255s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 1255s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1255s # NULL 1255s # }, 1255s # "good-property-type", 1255s # FALSE, 1255s # TRUE 1255s # }; 1255s # 1255s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1255s # { 1255s # &_good_types_property_info_good_property_type.parent_struct, 1255s # NULL 1255s # }; 1255s # 1255s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1255s # { 1255s # { 1255s # -1, 1255s # (gchar *) "GoodTypes", 1255s # NULL, 1255s # NULL, 1255s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1255s # NULL 1255s # }, 1255s # "good-types", 1255s # }; 1255s # 1255s # 1255s # /** 1255s # * good_types_interface_info: 1255s # * 1255s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1255s # * 1255s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1255s # */ 1255s # GDBusInterfaceInfo * 1255s # good_types_interface_info (void) 1255s # { 1255s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1255s # } 1255s # 1255s # /** 1255s # * good_types_override_properties: 1255s # * @klass: The class structure for a #GObject derived class. 1255s # * @property_id_begin: The property id to assign to the first overridden property. 1255s # * 1255s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1255s # * The properties are overridden in the order they are defined. 1255s # * 1255s # * Returns: The last property id. 1255s # */ 1255s # guint 1255s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1255s # { 1255s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1255s # return property_id_begin - 1; 1255s # } 1255s # 1255s # 1255s # 1255s # /** 1255s # * GoodTypes: 1255s # * 1255s # * Abstract interface type for the D-Bus interface GoodTypes. 1255s # */ 1255s # 1255s # /** 1255s # * GoodTypesIface: 1255s # * @parent_iface: The parent interface. 1255s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1255s # * 1255s # * Virtual table for the D-Bus interface GoodTypes. 1255s # */ 1255s # 1255s # typedef GoodTypesIface GoodTypesInterface; 1255s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1255s # 1255s # static void 1255s # good_types_default_init (GoodTypesIface *iface) 1255s # { 1255s # /* GObject properties for D-Bus properties: */ 1255s # /** 1255s # * GoodTypes:good-property-type: 1255s # * 1255s # * Represents the D-Bus property "GoodPropertyType". 1255s # * 1255s # * 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. 1255s # */ 1255s # g_object_interface_install_property (iface, 1255s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1255s # } 1255s # 1255s # /** 1255s # * good_types_get_good_property_type: (skip) 1255s # * @object: A GoodTypes. 1255s # * 1255s # * Gets the value of the "GoodPropertyType" D-Bus property. 1255s # * 1255s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1255s # * 1255s # * 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. 1255s # * 1255s # * 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. 1255s # */ 1255s # GVariant * 1255s # good_types_get_good_property_type (GoodTypes *object) 1255s # { 1255s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1255s # 1255s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1255s # } 1255s # 1255s # /** 1255s # * good_types_dup_good_property_type: (skip) 1255s # * @object: A GoodTypes. 1255s # * 1255s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1255s # * 1255s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1255s # * 1255s # * 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(). 1255s # */ 1255s # GVariant * 1255s # good_types_dup_good_property_type (GoodTypes *object) 1255s # { 1255s # GVariant *value; 1255s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1255s # return value; 1255s # } 1255s # 1255s # /** 1255s # * good_types_set_good_property_type: (skip) 1255s # * @object: A GoodTypes. 1255s # * @value: The value to set. 1255s # * 1255s # * Sets the "GoodPropertyType" D-Bus property to @value. 1255s # * 1255s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1255s # */ 1255s # void 1255s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1255s # { 1255s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1255s # } 1255s # 1255s # /* ------------------------------------------------------------------------ */ 1255s # 1255s # /** 1255s # * GoodTypesProxy: 1255s # * 1255s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1255s # */ 1255s # 1255s # /** 1255s # * GoodTypesProxyClass: 1255s # * @parent_class: The parent class. 1255s # * 1255s # * Class structure for GoodTypesProxy. 1255s # */ 1255s # 1255s # struct _GoodTypesProxyPrivate 1255s # { 1255s # GData *qdata; 1255s # }; 1255s # 1255s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1255s # 1255s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1255s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1255s # G_ADD_PRIVATE (GoodTypesProxy) 1255s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1255s # 1255s # #else 1255s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1255s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1255s # 1255s # #endif 1255s # static void 1255s # good_types_proxy_finalize (GObject *object) 1255s # { 1255s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1255s # g_datalist_clear (&proxy->priv->qdata); 1255s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1255s # } 1255s # 1255s # static void 1255s # good_types_proxy_get_property (GObject *object, 1255s # guint prop_id, 1255s # GValue *value, 1255s # GParamSpec *pspec G_GNUC_UNUSED) 1255s # { 1255s # const _ExtendedGDBusPropertyInfo *info; 1255s # GVariant *variant; 1255s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1255s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1255s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1255s # if (info->use_gvariant) 1255s # { 1255s # g_value_set_variant (value, variant); 1255s # } 1255s # else 1255s # { 1255s # if (variant != NULL) 1255s # g_dbus_gvariant_to_gvalue (variant, value); 1255s # } 1255s # if (variant != NULL) 1255s # g_variant_unref (variant); 1255s # } 1255s # 1255s # static void 1255s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1255s # GAsyncResult *res, 1255s # gpointer user_data) 1255s # { 1255s # const _ExtendedGDBusPropertyInfo *info = user_data; 1255s # GError *error; 1255s # GVariant *_ret; 1255s # error = NULL; 1255s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1255s # if (!_ret) 1255s # { 1255s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1255s # info->parent_struct.name, 1255s # error->message, g_quark_to_string (error->domain), error->code); 1255s # g_error_free (error); 1255s # } 1255s # else 1255s # { 1255s # g_variant_unref (_ret); 1255s # } 1255s # } 1255s # 1255s # static void 1255s # good_types_proxy_set_property (GObject *object, 1255s # guint prop_id, 1255s # const GValue *value, 1255s # GParamSpec *pspec G_GNUC_UNUSED) 1255s # { 1255s # const _ExtendedGDBusPropertyInfo *info; 1255s # GVariant *variant; 1255s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1255s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1255s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1255s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1255s # "org.freedesktop.DBus.Properties.Set", 1255s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1255s # G_DBUS_CALL_FLAGS_NONE, 1255s # -1, 1255s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1255s # g_variant_unref (variant); 1255s # } 1255s # 1255s # static void 1255s # good_types_proxy_g_signal (GDBusProxy *proxy, 1255s # const gchar *sender_name G_GNUC_UNUSED, 1255s # const gchar *signal_name, 1255s # GVariant *parameters) 1255s # { 1255s # _ExtendedGDBusSignalInfo *info; 1255s # GVariantIter iter; 1255s # GVariant *child; 1255s # GValue *paramv; 1255s # gsize num_params; 1255s # gsize n; 1255s # guint signal_id; 1255s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1255s # if (info == NULL) 1255s # return; 1255s # num_params = g_variant_n_children (parameters); 1255s # paramv = g_new0 (GValue, num_params + 1); 1255s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1255s # g_value_set_object (¶mv[0], proxy); 1255s # g_variant_iter_init (&iter, parameters); 1255s # n = 1; 1255s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1255s # { 1255s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1255s # if (arg_info->use_gvariant) 1255s # { 1255s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1255s # g_value_set_variant (¶mv[n], child); 1255s # n++; 1255s # } 1255s # else 1255s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1255s # g_variant_unref (child); 1255s # } 1255s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1255s # g_signal_emitv (paramv, signal_id, 0, NULL); 1255s # for (n = 0; n < num_params + 1; n++) 1255s # g_value_unset (¶mv[n]); 1255s # g_free (paramv); 1255s # } 1255s # 1255s # static void 1255s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1255s # GVariant *changed_properties, 1255s # const gchar *const *invalidated_properties) 1255s # { 1255s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1255s # guint n; 1255s # const gchar *key; 1255s # GVariantIter *iter; 1255s # _ExtendedGDBusPropertyInfo *info; 1255s # g_variant_get (changed_properties, "a{sv}", &iter); 1255s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1255s # { 1255s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1255s # g_datalist_remove_data (&proxy->priv->qdata, key); 1255s # if (info != NULL) 1255s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1255s # } 1255s # g_variant_iter_free (iter); 1255s # for (n = 0; invalidated_properties[n] != NULL; n++) 1255s # { 1255s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1255s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1255s # if (info != NULL) 1255s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1255s # } 1255s # } 1255s # 1255s # static GVariant * 1255s # good_types_proxy_get_good_property_type (GoodTypes *object) 1255s # { 1255s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1255s # GVariant *variant; 1255s # GVariant *value = NULL; 1255s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1255s # value = variant; 1255s # if (variant != NULL) 1255s # g_variant_unref (variant); 1255s # return value; 1255s # } 1255s # 1255s # static void 1255s # good_types_proxy_init (GoodTypesProxy *proxy) 1255s # { 1255s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1255s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1255s # #else 1255s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1255s # #endif 1255s # 1255s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1255s # } 1255s # 1255s # static void 1255s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1255s # { 1255s # GObjectClass *gobject_class; 1255s # GDBusProxyClass *proxy_class; 1255s # 1255s # gobject_class = G_OBJECT_CLASS (klass); 1255s # gobject_class->finalize = good_types_proxy_finalize; 1255s # gobject_class->get_property = good_types_proxy_get_property; 1255s # gobject_class->set_property = good_types_proxy_set_property; 1255s # 1255s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1255s # proxy_class->g_signal = good_types_proxy_g_signal; 1255s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1255s # 1255s # good_types_override_properties (gobject_class, 1); 1255s # 1255s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1255s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1255s # #endif 1255s # } 1255s # 1255s # static void 1255s # good_types_proxy_iface_init (GoodTypesIface *iface) 1255s # { 1255s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1255s # } 1255s # 1255s # /** 1255s # * good_types_proxy_new: 1255s # * @connection: A #GDBusConnection. 1255s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1255s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1255s # * @object_path: An object path. 1255s # * @cancellable: (nullable): A #GCancellable or %NULL. 1255s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1255s # * @user_data: User data to pass to @callback. 1255s # * 1255s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1255s # * 1255s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1255s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1255s # * 1255s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1255s # */ 1255s # void 1255s # good_types_proxy_new ( 1255s # GDBusConnection *connection, 1255s # GDBusProxyFlags flags, 1255s # const gchar *name, 1255s # const gchar *object_path, 1255s # GCancellable *cancellable, 1255s # GAsyncReadyCallback callback, 1255s # gpointer user_data) 1255s # { 1255s # 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); 1255s # } 1255s # 1255s # /** 1255s # * good_types_proxy_new_finish: 1255s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1255s # * @error: Return location for error or %NULL 1255s # * 1255s # * Finishes an operation started with good_types_proxy_new(). 1255s # * 1255s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1255s # */ 1255s # GoodTypes * 1255s # good_types_proxy_new_finish ( 1255s # GAsyncResult *res, 1255s # GError **error) 1255s # { 1255s # GObject *ret; 1255s # GObject *source_object; 1255s # source_object = g_async_result_get_source_object (res); 1255s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1255s # g_object_unref (source_object); 1255s # if (ret != NULL) 1255s # return GOOD_TYPES (ret); 1255s # else 1255s # return NULL; 1255s # } 1255s # 1255s # /** 1255s # * good_types_proxy_new_sync: 1255s # * @connection: A #GDBusConnection. 1255s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1255s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1255s # * @object_path: An object path. 1255s # * @cancellable: (nullable): A #GCancellable or %NULL. 1255s # * @error: Return location for error or %NULL 1255s # * 1255s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1255s # * 1255s # * The calling thread is blocked until a reply is received. 1255s # * 1255s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1255s # * 1255s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1255s # */ 1255s # GoodTypes * 1255s # good_types_proxy_new_sync ( 1255s # GDBusConnection *connection, 1255s # GDBusProxyFlags flags, 1255s # const gchar *name, 1255s # const gchar *object_path, 1255s # GCancellable *cancellable, 1255s # GError **error) 1255s # { 1255s # GInitable *ret; 1255s # 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); 1255s # if (ret != NULL) 1255s # return GOOD_TYPES (ret); 1255s # else 1255s # return NULL; 1255s # } 1255s # 1255s # 1255s # /** 1255s # * good_types_proxy_new_for_bus: 1255s # * @bus_type: A #GBusType. 1255s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1255s # * @name: A bus name (well-known or unique). 1255s # * @object_path: An object path. 1255s # * @cancellable: (nullable): A #GCancellable or %NULL. 1255s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1255s # * @user_data: User data to pass to @callback. 1255s # * 1255s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1255s # * 1255s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1255s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1255s # * 1255s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1255s # */ 1255s # void 1255s # good_types_proxy_new_for_bus ( 1255s # GBusType bus_type, 1255s # GDBusProxyFlags flags, 1255s # const gchar *name, 1255s # const gchar *object_path, 1255s # GCancellable *cancellable, 1255s # GAsyncReadyCallback callback, 1255s # gpointer user_data) 1255s # { 1255s # 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); 1255s # } 1255s # 1255s # /** 1255s # * good_types_proxy_new_for_bus_finish: 1255s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1255s # * @error: Return location for error or %NULL 1255s # * 1255s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1255s # * 1255s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1255s # */ 1255s # GoodTypes * 1255s # good_types_proxy_new_for_bus_finish ( 1255s # GAsyncResult *res, 1255s # GError **error) 1255s # { 1255s # GObject *ret; 1255s # GObject *source_object; 1255s # source_object = g_async_result_get_source_object (res); 1255s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1255s # g_object_unref (source_object); 1255s # if (ret != NULL) 1255s # return GOOD_TYPES (ret); 1255s # else 1255s # return NULL; 1255s # } 1255s # 1255s # /** 1255s # * good_types_proxy_new_for_bus_sync: 1255s # * @bus_type: A #GBusType. 1255s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1255s # * @name: A bus name (well-known or unique). 1255s # * @object_path: An object path. 1255s # * @cancellable: (nullable): A #GCancellable or %NULL. 1255s # * @error: Return location for error or %NULL 1255s # * 1255s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1255s # * 1255s # * The calling thread is blocked until a reply is received. 1255s # * 1255s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1255s # * 1255s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1255s # */ 1255s # GoodTypes * 1255s # good_types_proxy_new_for_bus_sync ( 1255s # GBusType bus_type, 1255s # GDBusProxyFlags flags, 1255s # const gchar *name, 1255s # const gchar *object_path, 1255s # GCancellable *cancellable, 1255s # GError **error) 1255s # { 1255s # GInitable *ret; 1255s # 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); 1255s # if (ret != NULL) 1255s # return GOOD_TYPES (ret); 1255s # else 1255s # return NULL; 1255s # } 1255s # 1255s # 1255s # /* ------------------------------------------------------------------------ */ 1255s # 1255s # /** 1255s # * GoodTypesSkeleton: 1255s # * 1255s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1255s # */ 1255s # 1255s # /** 1255s # * GoodTypesSkeletonClass: 1255s # * @parent_class: The parent class. 1255s # * 1255s # * Class structure for GoodTypesSkeleton. 1255s # */ 1255s # 1255s # struct _GoodTypesSkeletonPrivate 1255s # { 1255s # GValue *properties; 1255s # GList *changed_properties; 1255s # GSource *changed_properties_idle_source; 1255s # GMainContext *context; 1255s # GMutex lock; 1255s # }; 1255s # 1255s # static void 1255s # _good_types_skeleton_handle_method_call ( 1255s # GDBusConnection *connection G_GNUC_UNUSED, 1255s # const gchar *sender G_GNUC_UNUSED, 1255s # const gchar *object_path G_GNUC_UNUSED, 1255s # const gchar *interface_name, 1255s # const gchar *method_name, 1255s # GVariant *parameters, 1255s # GDBusMethodInvocation *invocation, 1255s # gpointer user_data) 1255s # { 1255s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1255s # _ExtendedGDBusMethodInfo *info; 1255s # GVariantIter iter; 1255s # GVariant *child; 1255s # GValue *paramv; 1255s # gsize num_params; 1255s # guint num_extra; 1255s # gsize n; 1255s # guint signal_id; 1255s # GValue return_value = G_VALUE_INIT; 1255s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1255s # g_assert (info != NULL); 1255s # num_params = g_variant_n_children (parameters); 1255s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1255s # n = 0; 1255s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1255s # g_value_set_object (¶mv[n++], skeleton); 1255s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1255s # g_value_set_object (¶mv[n++], invocation); 1255s # if (info->pass_fdlist) 1255s # { 1255s # #ifdef G_OS_UNIX 1255s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1255s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1255s # #else 1255s # g_assert_not_reached (); 1255s # #endif 1255s # } 1255s # g_variant_iter_init (&iter, parameters); 1255s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1255s # { 1255s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1255s # if (arg_info->use_gvariant) 1255s # { 1255s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1255s # g_value_set_variant (¶mv[n], child); 1255s # n++; 1255s # } 1255s # else 1255s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1255s # g_variant_unref (child); 1255s # } 1255s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1255s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1255s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1255s # if (!g_value_get_boolean (&return_value)) 1255s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1255s # g_value_unset (&return_value); 1255s # for (n = 0; n < num_params + num_extra; n++) 1255s # g_value_unset (¶mv[n]); 1255s # g_free (paramv); 1255s # } 1255s # 1255s # static GVariant * 1255s # _good_types_skeleton_handle_get_property ( 1255s # GDBusConnection *connection G_GNUC_UNUSED, 1255s # const gchar *sender G_GNUC_UNUSED, 1255s # const gchar *object_path G_GNUC_UNUSED, 1255s # const gchar *interface_name G_GNUC_UNUSED, 1255s # const gchar *property_name, 1255s # GError **error, 1255s # gpointer user_data) 1255s # { 1255s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1255s # GValue value = G_VALUE_INIT; 1255s # GParamSpec *pspec; 1255s # _ExtendedGDBusPropertyInfo *info; 1255s # GVariant *ret; 1255s # ret = NULL; 1255s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1255s # g_assert (info != NULL); 1255s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1255s # if (pspec == NULL) 1255s # { 1255s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1255s # } 1255s # else 1255s # { 1255s # g_value_init (&value, pspec->value_type); 1255s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1255s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1255s # g_value_unset (&value); 1255s # } 1255s # return ret; 1255s # } 1255s # 1255s # static gboolean 1255s # _good_types_skeleton_handle_set_property ( 1255s # GDBusConnection *connection G_GNUC_UNUSED, 1255s # const gchar *sender G_GNUC_UNUSED, 1255s # const gchar *object_path G_GNUC_UNUSED, 1255s # const gchar *interface_name G_GNUC_UNUSED, 1255s # const gchar *property_name, 1255s # GVariant *variant, 1255s # GError **error, 1255s # gpointer user_data) 1255s # { 1255s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1255s # GValue value = G_VALUE_INIT; 1255s # GParamSpec *pspec; 1255s # _ExtendedGDBusPropertyInfo *info; 1255s # gboolean ret; 1255s # ret = FALSE; 1255s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1255s # g_assert (info != NULL); 1255s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1255s # if (pspec == NULL) 1255s # { 1255s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1255s # } 1255s # else 1255s # { 1255s # if (info->use_gvariant) 1255s # g_value_set_variant (&value, variant); 1255s # else 1255s # g_dbus_gvariant_to_gvalue (variant, &value); 1255s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1255s # g_value_unset (&value); 1255s # ret = TRUE; 1255s # } 1255s # return ret; 1255s # } 1255s # 1255s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1255s # { 1255s # _good_types_skeleton_handle_method_call, 1255s # _good_types_skeleton_handle_get_property, 1255s # _good_types_skeleton_handle_set_property, 1255s # {NULL} 1255s # }; 1255s # 1255s # static GDBusInterfaceInfo * 1255s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1255s # { 1255s # return good_types_interface_info (); 1255s # } 1255s # 1255s # static GDBusInterfaceVTable * 1255s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1255s # { 1255s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1255s # } 1255s # 1255s # static GVariant * 1255s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1255s # { 1255s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1255s # 1255s # GVariantBuilder builder; 1255s # guint n; 1255s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1255s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1255s # #else 1255s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1255s # #endif 1255s # if (_good_types_interface_info.parent_struct.properties == NULL) 1255s # goto out; 1255s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1255s # { 1255s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1255s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1255s # { 1255s # GVariant *value; 1255s # 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); 1255s # if (value != NULL) 1255s # { 1255s # g_variant_take_ref (value); 1255s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1255s # g_variant_unref (value); 1255s # } 1255s # } 1255s # } 1255s # out: 1255s # return g_variant_builder_end (&builder); 1255s # } 1255s # 1255s # static gboolean _good_types_emit_changed (gpointer user_data); 1255s # 1255s # static void 1255s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1255s # { 1255s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1255s # gboolean emit_changed = FALSE; 1255s # 1255s # g_mutex_lock (&skeleton->priv->lock); 1255s # if (skeleton->priv->changed_properties_idle_source != NULL) 1255s # { 1255s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1255s # skeleton->priv->changed_properties_idle_source = NULL; 1255s # emit_changed = TRUE; 1255s # } 1255s # g_mutex_unlock (&skeleton->priv->lock); 1255s # 1255s # if (emit_changed) 1255s # _good_types_emit_changed (skeleton); 1255s # } 1255s # 1255s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1255s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1255s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1255s # G_ADD_PRIVATE (GoodTypesSkeleton) 1255s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1255s # 1255s # #else 1255s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1255s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1255s # 1255s # #endif 1255s # static void 1255s # good_types_skeleton_finalize (GObject *object) 1255s # { 1255s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1255s # guint n; 1255s # for (n = 0; n < 1; n++) 1255s # g_value_unset (&skeleton->priv->properties[n]); 1255s # g_free (skeleton->priv->properties); 1255s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1255s # if (skeleton->priv->changed_properties_idle_source != NULL) 1255s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1255s # g_main_context_unref (skeleton->priv->context); 1255s # g_mutex_clear (&skeleton->priv->lock); 1255s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1255s # } 1255s # 1255s # static void 1255s # good_types_skeleton_get_property (GObject *object, 1255s # guint prop_id, 1255s # GValue *value, 1255s # GParamSpec *pspec G_GNUC_UNUSED) 1255s # { 1255s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1255s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1255s # g_mutex_lock (&skeleton->priv->lock); 1255s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1255s # g_mutex_unlock (&skeleton->priv->lock); 1255s # } 1255s # 1255s # static gboolean 1255s # _good_types_emit_changed (gpointer user_data) 1255s # { 1255s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1255s # GList *l; 1255s # GVariantBuilder builder; 1255s # GVariantBuilder invalidated_builder; 1255s # guint num_changes; 1255s # 1255s # g_mutex_lock (&skeleton->priv->lock); 1255s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1255s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1255s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1255s # #else 1255s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1255s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1255s # #endif 1255s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1255s # { 1255s # ChangedProperty *cp = l->data; 1255s # GVariant *variant; 1255s # const GValue *cur_value; 1255s # 1255s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1255s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1255s # { 1255s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1255s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1255s # g_variant_unref (variant); 1255s # num_changes++; 1255s # } 1255s # } 1255s # if (num_changes > 0) 1255s # { 1255s # GList *connections, *ll; 1255s # GVariant *signal_variant; 1255s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1255s # &builder, &invalidated_builder)); 1255s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1255s # for (ll = connections; ll != NULL; ll = ll->next) 1255s # { 1255s # GDBusConnection *connection = ll->data; 1255s # 1255s # g_dbus_connection_emit_signal (connection, 1255s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1255s # "org.freedesktop.DBus.Properties", 1255s # "PropertiesChanged", 1255s # signal_variant, 1255s # NULL); 1255s # } 1255s # g_variant_unref (signal_variant); 1255s # g_list_free_full (connections, g_object_unref); 1255s # } 1255s # else 1255s # { 1255s # g_variant_builder_clear (&builder); 1255s # g_variant_builder_clear (&invalidated_builder); 1255s # } 1255s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1255s # skeleton->priv->changed_properties = NULL; 1255s # skeleton->priv->changed_properties_idle_source = NULL; 1255s # g_mutex_unlock (&skeleton->priv->lock); 1255s # return FALSE; 1255s # } 1255s # 1255s # static void 1255s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1255s # { 1255s # ChangedProperty *cp; 1255s # GList *l; 1255s # cp = NULL; 1255s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1255s # { 1255s # ChangedProperty *i_cp = l->data; 1255s # if (i_cp->info == info) 1255s # { 1255s # cp = i_cp; 1255s # break; 1255s # } 1255s # } 1255s # if (cp == NULL) 1255s # { 1255s # cp = g_new0 (ChangedProperty, 1); 1255s # cp->prop_id = prop_id; 1255s # cp->info = info; 1255s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1255s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1255s # g_value_copy (orig_value, &cp->orig_value); 1255s # } 1255s # } 1255s # 1255s # static void 1255s # good_types_skeleton_notify (GObject *object, 1255s # GParamSpec *pspec G_GNUC_UNUSED) 1255s # { 1255s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1255s # g_mutex_lock (&skeleton->priv->lock); 1255s # if (skeleton->priv->changed_properties != NULL && 1255s # skeleton->priv->changed_properties_idle_source == NULL) 1255s # { 1255s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1255s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1255s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1255s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1255s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1255s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1255s # } 1255s # g_mutex_unlock (&skeleton->priv->lock); 1255s # } 1255s # 1255s # static void 1255s # good_types_skeleton_set_property (GObject *object, 1255s # guint prop_id, 1255s # const GValue *value, 1255s # GParamSpec *pspec) 1255s # { 1255s # const _ExtendedGDBusPropertyInfo *info; 1255s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1255s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1255s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1255s # g_mutex_lock (&skeleton->priv->lock); 1255s # g_object_freeze_notify (object); 1255s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1255s # { 1255s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1255s # info->emits_changed_signal) 1255s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1255s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1255s # g_object_notify_by_pspec (object, pspec); 1255s # } 1255s # g_mutex_unlock (&skeleton->priv->lock); 1255s # g_object_thaw_notify (object); 1255s # } 1255s # 1255s # static void 1255s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1255s # { 1255s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1255s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1255s # #else 1255s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1255s # #endif 1255s # 1255s # g_mutex_init (&skeleton->priv->lock); 1255s # skeleton->priv->context = g_main_context_ref_thread_default (); 1255s # skeleton->priv->properties = g_new0 (GValue, 1); 1255s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1255s # } 1255s # 1255s # static GVariant * 1255s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1255s # { 1255s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1255s # GVariant *value; 1255s # g_mutex_lock (&skeleton->priv->lock); 1255s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1255s # g_mutex_unlock (&skeleton->priv->lock); 1255s # return value; 1255s # } 1255s # 1255s # static void 1255s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1255s # { 1255s # GObjectClass *gobject_class; 1255s # GDBusInterfaceSkeletonClass *skeleton_class; 1255s # 1255s # gobject_class = G_OBJECT_CLASS (klass); 1255s # gobject_class->finalize = good_types_skeleton_finalize; 1255s # gobject_class->get_property = good_types_skeleton_get_property; 1255s # gobject_class->set_property = good_types_skeleton_set_property; 1255s # gobject_class->notify = good_types_skeleton_notify; 1255s # 1255s # 1255s # good_types_override_properties (gobject_class, 1); 1255s # 1255s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1255s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1255s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1255s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1255s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1255s # 1255s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1255s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1255s # #endif 1255s # } 1255s # 1255s # static void 1255s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1255s # { 1255s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1255s # } 1255s # 1255s # /** 1255s # * good_types_skeleton_new: 1255s # * 1255s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1255s # * 1255s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1255s # */ 1255s # GoodTypes * 1255s # good_types_skeleton_new (void) 1255s # { 1255s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1255s # } 1255s # Error: 1255s # 1255s # /tmp/tmpyj5b0tcb/tmpu2h5ga_4.xml: 1255s # 1255s # 1255s # 1255s # 1255s # 1255s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyj5b0tcb/tmpu2h5ga_4.xml', '--output', '-', '--body'] 1255s # Return code: 0 1255s # Output: 1255s # /* 1255s # * This file is generated by gdbus-codegen, do not modify it. 1255s # * 1255s # * The license of this code is the same as for the D-Bus interface description 1255s # * it was derived from. Note that it links to GLib, so must comply with the 1255s # * LGPL linking clauses. 1255s # */ 1255s # 1255s # #ifdef HAVE_CONFIG_H 1255s # # include "config.h" 1255s # #endif 1255s # 1255s # #include 1255s # #ifdef G_OS_UNIX 1255s # # include 1255s # #endif 1255s # 1255s # #ifdef G_ENABLE_DEBUG 1255s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1255s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1255s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1255s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1255s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1255s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1255s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1255s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1255s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1255s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1255s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1255s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1255s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1255s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1255s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1255s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1255s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1255s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1255s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1255s # #else /* !G_ENABLE_DEBUG */ 1255s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1255s # * Do not access GValues directly in your code. Instead, use the 1255s # * g_value_get_*() functions 1255s # */ 1255s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1255s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1255s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1255s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1255s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1255s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1255s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1255s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1255s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1255s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1255s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1255s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1255s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1255s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1255s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1255s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1255s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1255s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1255s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1255s # #endif /* !G_ENABLE_DEBUG */ 1255s # 1255s # typedef struct 1255s # { 1255s # GDBusArgInfo parent_struct; 1255s # gboolean use_gvariant; 1255s # } _ExtendedGDBusArgInfo; 1255s # 1255s # typedef struct 1255s # { 1255s # GDBusMethodInfo parent_struct; 1255s # const gchar *signal_name; 1255s # gboolean pass_fdlist; 1255s # } _ExtendedGDBusMethodInfo; 1255s # 1255s # typedef struct 1255s # { 1255s # GDBusSignalInfo parent_struct; 1255s # const gchar *signal_name; 1255s # } _ExtendedGDBusSignalInfo; 1255s # 1255s # typedef struct 1255s # { 1255s # GDBusPropertyInfo parent_struct; 1255s # const gchar *hyphen_name; 1255s # guint use_gvariant : 1; 1255s # guint emits_changed_signal : 1; 1255s # } _ExtendedGDBusPropertyInfo; 1255s # 1255s # typedef struct 1255s # { 1255s # GDBusInterfaceInfo parent_struct; 1255s # const gchar *hyphen_name; 1255s # } _ExtendedGDBusInterfaceInfo; 1255s # 1255s # typedef struct 1255s # { 1255s # const _ExtendedGDBusPropertyInfo *info; 1255s # guint prop_id; 1255s # GValue orig_value; /* the value before the change */ 1255s # } ChangedProperty; 1255s # 1255s # static void 1255s # _changed_property_free (ChangedProperty *data) 1255s # { 1255s # g_value_unset (&data->orig_value); 1255s # g_free (data); 1255s # } 1255s # 1255s # static gboolean 1255s # _g_strv_equal0 (gchar **a, gchar **b) 1255s # { 1255s # gboolean ret = FALSE; 1255s # guint n; 1255s # if (a == NULL && b == NULL) 1255s # { 1255s # ret = TRUE; 1255s # goto out; 1255s # } 1255s # if (a == NULL || b == NULL) 1255s # goto out; 1255s # if (g_strv_length (a) != g_strv_length (b)) 1255s # goto out; 1255s # for (n = 0; a[n] != NULL; n++) 1255s # if (g_strcmp0 (a[n], b[n]) != 0) 1255s # goto out; 1255s # ret = TRUE; 1255s # out: 1255s # return ret; 1255s # } 1255s # 1255s # static gboolean 1255s # _g_variant_equal0 (GVariant *a, GVariant *b) 1255s # { 1255s # gboolean ret = FALSE; 1255s # if (a == NULL && b == NULL) 1255s # { 1255s # ret = TRUE; 1255s # goto out; 1255s # } 1255s # if (a == NULL || b == NULL) 1255s # goto out; 1255s # ret = g_variant_equal (a, b); 1255s # out: 1255s # return ret; 1255s # } 1255s # 1255s # G_GNUC_UNUSED static gboolean 1255s # _g_value_equal (const GValue *a, const GValue *b) 1255s # { 1255s # gboolean ret = FALSE; 1255s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1255s # switch (G_VALUE_TYPE (a)) 1255s # { 1255s # case G_TYPE_BOOLEAN: 1255s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1255s # break; 1255s # case G_TYPE_UCHAR: 1255s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1255s # break; 1255s # case G_TYPE_INT: 1255s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1255s # break; 1255s # case G_TYPE_UINT: 1255s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1255s # break; 1255s # case G_TYPE_INT64: 1255s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1255s # break; 1255s # case G_TYPE_UINT64: 1255s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1255s # break; 1255s # case G_TYPE_DOUBLE: 1255s # { 1255s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1255s # gdouble da = g_value_get_double (a); 1255s # gdouble db = g_value_get_double (b); 1255s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1255s # } 1255s # break; 1255s # case G_TYPE_STRING: 1255s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1255s # break; 1255s # case G_TYPE_VARIANT: 1255s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1255s # break; 1255s # default: 1255s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1255s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1255s # else 1255s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1255s # break; 1255s # } 1255s # return ret; 1255s # } 1255s # 1255s # /* ------------------------------------------------------------------------ 1255s # * Code for interface GoodTypes 1255s # * ------------------------------------------------------------------------ 1255s # */ 1255s # 1255s # /** 1255s # * SECTION:GoodTypes 1255s # * @title: GoodTypes 1255s # * @short_description: Generated C code for the GoodTypes D-Bus interface 1255s # * 1255s # * This section contains code for working with the GoodTypes D-Bus interface in C. 1255s # */ 1255s # 1255s # /* ---- Introspection data for GoodTypes ---- */ 1255s # 1255s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 1255s # { 1255s # { 1255s # -1, 1255s # (gchar *) "GoodPropertyType", 1255s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 1255s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1255s # NULL 1255s # }, 1255s # "good-property-type", 1255s # FALSE, 1255s # TRUE 1255s # }; 1255s # 1255s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 1255s # { 1255s # &_good_types_property_info_good_property_type.parent_struct, 1255s # NULL 1255s # }; 1255s # 1255s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 1255s # { 1255s # { 1255s # -1, 1255s # (gchar *) "GoodTypes", 1255s # NULL, 1255s # NULL, 1255s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 1255s # NULL 1255s # }, 1255s # "good-types", 1255s # }; 1255s # 1255s # 1255s # /** 1255s # * good_types_interface_info: 1255s # * 1255s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 1255s # * 1255s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1255s # */ 1255s # GDBusInterfaceInfo * 1255s # good_types_interface_info (void) 1255s # { 1255s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 1255s # } 1255s # 1255s # /** 1255s # * good_types_override_properties: 1255s # * @klass: The class structure for a #GObject derived class. 1255s # * @property_id_begin: The property id to assign to the first overridden property. 1255s # * 1255s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 1255s # * The properties are overridden in the order they are defined. 1255s # * 1255s # * Returns: The last property id. 1255s # */ 1255s # guint 1255s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 1255s # { 1255s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 1255s # return property_id_begin - 1; 1255s # } 1255s # 1255s # 1255s # 1255s # /** 1255s # * GoodTypes: 1255s # * 1255s # * Abstract interface type for the D-Bus interface GoodTypes. 1255s # */ 1255s # 1255s # /** 1255s # * GoodTypesIface: 1255s # * @parent_iface: The parent interface. 1255s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 1255s # * 1255s # * Virtual table for the D-Bus interface GoodTypes. 1255s # */ 1255s # 1255s # typedef GoodTypesIface GoodTypesInterface; 1255s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 1255s # 1255s # static void 1255s # good_types_default_init (GoodTypesIface *iface) 1255s # { 1255s # /* GObject properties for D-Bus properties: */ 1255s # /** 1255s # * GoodTypes:good-property-type: 1255s # * 1255s # * Represents the D-Bus property "GoodPropertyType". 1255s # * 1255s # * 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. 1255s # */ 1255s # g_object_interface_install_property (iface, 1255s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1255s # } 1255s # 1255s # /** 1255s # * good_types_get_good_property_type: (skip) 1255s # * @object: A GoodTypes. 1255s # * 1255s # * Gets the value of the "GoodPropertyType" D-Bus property. 1255s # * 1255s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1255s # * 1255s # * 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. 1255s # * 1255s # * 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. 1255s # */ 1255s # GVariant * 1255s # good_types_get_good_property_type (GoodTypes *object) 1255s # { 1255s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 1255s # 1255s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 1255s # } 1255s # 1255s # /** 1255s # * good_types_dup_good_property_type: (skip) 1255s # * @object: A GoodTypes. 1255s # * 1255s # * Gets a copy of the "GoodPropertyType" D-Bus property. 1255s # * 1255s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1255s # * 1255s # * 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(). 1255s # */ 1255s # GVariant * 1255s # good_types_dup_good_property_type (GoodTypes *object) 1255s # { 1255s # GVariant *value; 1255s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 1255s # return value; 1255s # } 1255s # 1255s # /** 1255s # * good_types_set_good_property_type: (skip) 1255s # * @object: A GoodTypes. 1255s # * @value: The value to set. 1255s # * 1255s # * Sets the "GoodPropertyType" D-Bus property to @value. 1255s # * 1255s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1255s # */ 1255s # void 1255s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 1255s # { 1255s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 1255s # } 1255s # 1255s # /* ------------------------------------------------------------------------ */ 1255s # 1255s # /** 1255s # * GoodTypesProxy: 1255s # * 1255s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 1255s # */ 1255s # 1255s # /** 1255s # * GoodTypesProxyClass: 1255s # * @parent_class: The parent class. 1255s # * 1255s # * Class structure for GoodTypesProxy. 1255s # */ 1255s # 1255s # struct _GoodTypesProxyPrivate 1255s # { 1255s # GData *qdata; 1255s # }; 1255s # 1255s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 1255s # 1255s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1255s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1255s # G_ADD_PRIVATE (GoodTypesProxy) 1255s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1255s # 1255s # #else 1255s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 1255s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 1255s # 1255s # #endif 1255s # static void 1255s # good_types_proxy_finalize (GObject *object) 1255s # { 1255s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1255s # g_datalist_clear (&proxy->priv->qdata); 1255s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 1255s # } 1255s # 1255s # static void 1255s # good_types_proxy_get_property (GObject *object, 1255s # guint prop_id, 1255s # GValue *value, 1255s # GParamSpec *pspec G_GNUC_UNUSED) 1255s # { 1255s # const _ExtendedGDBusPropertyInfo *info; 1255s # GVariant *variant; 1255s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1255s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1255s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1255s # if (info->use_gvariant) 1255s # { 1255s # g_value_set_variant (value, variant); 1255s # } 1255s # else 1255s # { 1255s # if (variant != NULL) 1255s # g_dbus_gvariant_to_gvalue (variant, value); 1255s # } 1255s # if (variant != NULL) 1255s # g_variant_unref (variant); 1255s # } 1255s # 1255s # static void 1255s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 1255s # GAsyncResult *res, 1255s # gpointer user_data) 1255s # { 1255s # const _ExtendedGDBusPropertyInfo *info = user_data; 1255s # GError *error; 1255s # GVariant *_ret; 1255s # error = NULL; 1255s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1255s # if (!_ret) 1255s # { 1255s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 1255s # info->parent_struct.name, 1255s # error->message, g_quark_to_string (error->domain), error->code); 1255s # g_error_free (error); 1255s # } 1255s # else 1255s # { 1255s # g_variant_unref (_ret); 1255s # } 1255s # } 1255s # 1255s # static void 1255s # good_types_proxy_set_property (GObject *object, 1255s # guint prop_id, 1255s # const GValue *value, 1255s # GParamSpec *pspec G_GNUC_UNUSED) 1255s # { 1255s # const _ExtendedGDBusPropertyInfo *info; 1255s # GVariant *variant; 1255s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1255s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1255s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1255s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1255s # "org.freedesktop.DBus.Properties.Set", 1255s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 1255s # G_DBUS_CALL_FLAGS_NONE, 1255s # -1, 1255s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1255s # g_variant_unref (variant); 1255s # } 1255s # 1255s # static void 1255s # good_types_proxy_g_signal (GDBusProxy *proxy, 1255s # const gchar *sender_name G_GNUC_UNUSED, 1255s # const gchar *signal_name, 1255s # GVariant *parameters) 1255s # { 1255s # _ExtendedGDBusSignalInfo *info; 1255s # GVariantIter iter; 1255s # GVariant *child; 1255s # GValue *paramv; 1255s # gsize num_params; 1255s # gsize n; 1255s # guint signal_id; 1255s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 1255s # if (info == NULL) 1255s # return; 1255s # num_params = g_variant_n_children (parameters); 1255s # paramv = g_new0 (GValue, num_params + 1); 1255s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 1255s # g_value_set_object (¶mv[0], proxy); 1255s # g_variant_iter_init (&iter, parameters); 1255s # n = 1; 1255s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1255s # { 1255s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1255s # if (arg_info->use_gvariant) 1255s # { 1255s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1255s # g_value_set_variant (¶mv[n], child); 1255s # n++; 1255s # } 1255s # else 1255s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1255s # g_variant_unref (child); 1255s # } 1255s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1255s # g_signal_emitv (paramv, signal_id, 0, NULL); 1255s # for (n = 0; n < num_params + 1; n++) 1255s # g_value_unset (¶mv[n]); 1255s # g_free (paramv); 1255s # } 1255s # 1255s # static void 1255s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 1255s # GVariant *changed_properties, 1255s # const gchar *const *invalidated_properties) 1255s # { 1255s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 1255s # guint n; 1255s # const gchar *key; 1255s # GVariantIter *iter; 1255s # _ExtendedGDBusPropertyInfo *info; 1255s # g_variant_get (changed_properties, "a{sv}", &iter); 1255s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1255s # { 1255s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 1255s # g_datalist_remove_data (&proxy->priv->qdata, key); 1255s # if (info != NULL) 1255s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1255s # } 1255s # g_variant_iter_free (iter); 1255s # for (n = 0; invalidated_properties[n] != NULL; n++) 1255s # { 1255s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 1255s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1255s # if (info != NULL) 1255s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1255s # } 1255s # } 1255s # 1255s # static GVariant * 1255s # good_types_proxy_get_good_property_type (GoodTypes *object) 1255s # { 1255s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 1255s # GVariant *variant; 1255s # GVariant *value = NULL; 1255s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 1255s # value = variant; 1255s # if (variant != NULL) 1255s # g_variant_unref (variant); 1255s # return value; 1255s # } 1255s # 1255s # static void 1255s # good_types_proxy_init (GoodTypesProxy *proxy) 1255s # { 1255s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1255s # proxy->priv = good_types_proxy_get_instance_private (proxy); 1255s # #else 1255s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 1255s # #endif 1255s # 1255s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 1255s # } 1255s # 1255s # static void 1255s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 1255s # { 1255s # GObjectClass *gobject_class; 1255s # GDBusProxyClass *proxy_class; 1255s # 1255s # gobject_class = G_OBJECT_CLASS (klass); 1255s # gobject_class->finalize = good_types_proxy_finalize; 1255s # gobject_class->get_property = good_types_proxy_get_property; 1255s # gobject_class->set_property = good_types_proxy_set_property; 1255s # 1255s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1255s # proxy_class->g_signal = good_types_proxy_g_signal; 1255s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 1255s # 1255s # good_types_override_properties (gobject_class, 1); 1255s # 1255s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1255s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 1255s # #endif 1255s # } 1255s # 1255s # static void 1255s # good_types_proxy_iface_init (GoodTypesIface *iface) 1255s # { 1255s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 1255s # } 1255s # 1255s # /** 1255s # * good_types_proxy_new: 1255s # * @connection: A #GDBusConnection. 1255s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1255s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1255s # * @object_path: An object path. 1255s # * @cancellable: (nullable): A #GCancellable or %NULL. 1255s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1255s # * @user_data: User data to pass to @callback. 1255s # * 1255s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 1255s # * 1255s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1255s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 1255s # * 1255s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 1255s # */ 1255s # void 1255s # good_types_proxy_new ( 1255s # GDBusConnection *connection, 1255s # GDBusProxyFlags flags, 1255s # const gchar *name, 1255s # const gchar *object_path, 1255s # GCancellable *cancellable, 1255s # GAsyncReadyCallback callback, 1255s # gpointer user_data) 1255s # { 1255s # 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); 1255s # } 1255s # 1255s # /** 1255s # * good_types_proxy_new_finish: 1255s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 1255s # * @error: Return location for error or %NULL 1255s # * 1255s # * Finishes an operation started with good_types_proxy_new(). 1255s # * 1255s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1255s # */ 1255s # GoodTypes * 1255s # good_types_proxy_new_finish ( 1255s # GAsyncResult *res, 1255s # GError **error) 1255s # { 1255s # GObject *ret; 1255s # GObject *source_object; 1255s # source_object = g_async_result_get_source_object (res); 1255s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1255s # g_object_unref (source_object); 1255s # if (ret != NULL) 1255s # return GOOD_TYPES (ret); 1255s # else 1255s # return NULL; 1255s # } 1255s # 1255s # /** 1255s # * good_types_proxy_new_sync: 1255s # * @connection: A #GDBusConnection. 1255s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1255s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1255s # * @object_path: An object path. 1255s # * @cancellable: (nullable): A #GCancellable or %NULL. 1255s # * @error: Return location for error or %NULL 1255s # * 1255s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 1255s # * 1255s # * The calling thread is blocked until a reply is received. 1255s # * 1255s # * See good_types_proxy_new() for the asynchronous version of this constructor. 1255s # * 1255s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1255s # */ 1255s # GoodTypes * 1255s # good_types_proxy_new_sync ( 1255s # GDBusConnection *connection, 1255s # GDBusProxyFlags flags, 1255s # const gchar *name, 1255s # const gchar *object_path, 1255s # GCancellable *cancellable, 1255s # GError **error) 1255s # { 1255s # GInitable *ret; 1255s # 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); 1255s # if (ret != NULL) 1255s # return GOOD_TYPES (ret); 1255s # else 1255s # return NULL; 1255s # } 1255s # 1255s # 1255s # /** 1255s # * good_types_proxy_new_for_bus: 1255s # * @bus_type: A #GBusType. 1255s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1255s # * @name: A bus name (well-known or unique). 1255s # * @object_path: An object path. 1255s # * @cancellable: (nullable): A #GCancellable or %NULL. 1255s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1255s # * @user_data: User data to pass to @callback. 1255s # * 1255s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1255s # * 1255s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1255s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 1255s # * 1255s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1255s # */ 1255s # void 1255s # good_types_proxy_new_for_bus ( 1255s # GBusType bus_type, 1255s # GDBusProxyFlags flags, 1255s # const gchar *name, 1255s # const gchar *object_path, 1255s # GCancellable *cancellable, 1255s # GAsyncReadyCallback callback, 1255s # gpointer user_data) 1255s # { 1255s # 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); 1255s # } 1255s # 1255s # /** 1255s # * good_types_proxy_new_for_bus_finish: 1255s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 1255s # * @error: Return location for error or %NULL 1255s # * 1255s # * Finishes an operation started with good_types_proxy_new_for_bus(). 1255s # * 1255s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1255s # */ 1255s # GoodTypes * 1255s # good_types_proxy_new_for_bus_finish ( 1255s # GAsyncResult *res, 1255s # GError **error) 1255s # { 1255s # GObject *ret; 1255s # GObject *source_object; 1255s # source_object = g_async_result_get_source_object (res); 1255s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1255s # g_object_unref (source_object); 1255s # if (ret != NULL) 1255s # return GOOD_TYPES (ret); 1255s # else 1255s # return NULL; 1255s # } 1255s # 1255s # /** 1255s # * good_types_proxy_new_for_bus_sync: 1255s # * @bus_type: A #GBusType. 1255s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1255s # * @name: A bus name (well-known or unique). 1255s # * @object_path: An object path. 1255s # * @cancellable: (nullable): A #GCancellable or %NULL. 1255s # * @error: Return location for error or %NULL 1255s # * 1255s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1255s # * 1255s # * The calling thread is blocked until a reply is received. 1255s # * 1255s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 1255s # * 1255s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 1255s # */ 1255s # GoodTypes * 1255s # good_types_proxy_new_for_bus_sync ( 1255s # GBusType bus_type, 1255s # GDBusProxyFlags flags, 1255s # const gchar *name, 1255s # const gchar *object_path, 1255s # GCancellable *cancellable, 1255s # GError **error) 1255s # { 1255s # GInitable *ret; 1255s # 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); 1255s # if (ret != NULL) 1255s # return GOOD_TYPES (ret); 1255s # else 1255s # return NULL; 1255s # } 1255s # 1255s # 1255s # /* ------------------------------------------------------------------------ */ 1255s # 1255s # /** 1255s # * GoodTypesSkeleton: 1255s # * 1255s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 1255s # */ 1255s # 1255s # /** 1255s # * GoodTypesSkeletonClass: 1255s # * @parent_class: The parent class. 1255s # * 1255s # * Class structure for GoodTypesSkeleton. 1255s # */ 1255s # 1255s # struct _GoodTypesSkeletonPrivate 1255s # { 1255s # GValue *properties; 1255s # GList *changed_properties; 1255s # GSource *changed_properties_idle_source; 1255s # GMainContext *context; 1255s # GMutex lock; 1255s # }; 1255s # 1255s # static void 1255s # _good_types_skeleton_handle_method_call ( 1255s # GDBusConnection *connection G_GNUC_UNUSED, 1255s # const gchar *sender G_GNUC_UNUSED, 1255s # const gchar *object_path G_GNUC_UNUSED, 1255s # const gchar *interface_name, 1255s # const gchar *method_name, 1255s # GVariant *parameters, 1255s # GDBusMethodInvocation *invocation, 1255s # gpointer user_data) 1255s # { 1255s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1255s # _ExtendedGDBusMethodInfo *info; 1255s # GVariantIter iter; 1255s # GVariant *child; 1255s # GValue *paramv; 1255s # gsize num_params; 1255s # guint num_extra; 1255s # gsize n; 1255s # guint signal_id; 1255s # GValue return_value = G_VALUE_INIT; 1255s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1255s # g_assert (info != NULL); 1255s # num_params = g_variant_n_children (parameters); 1255s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1255s # n = 0; 1255s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 1255s # g_value_set_object (¶mv[n++], skeleton); 1255s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1255s # g_value_set_object (¶mv[n++], invocation); 1255s # if (info->pass_fdlist) 1255s # { 1255s # #ifdef G_OS_UNIX 1255s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1255s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1255s # #else 1255s # g_assert_not_reached (); 1255s # #endif 1255s # } 1255s # g_variant_iter_init (&iter, parameters); 1255s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1255s # { 1255s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1255s # if (arg_info->use_gvariant) 1255s # { 1255s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1255s # g_value_set_variant (¶mv[n], child); 1255s # n++; 1255s # } 1255s # else 1255s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1255s # g_variant_unref (child); 1255s # } 1255s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 1255s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1255s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1255s # if (!g_value_get_boolean (&return_value)) 1255s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1255s # g_value_unset (&return_value); 1255s # for (n = 0; n < num_params + num_extra; n++) 1255s # g_value_unset (¶mv[n]); 1255s # g_free (paramv); 1255s # } 1255s # 1255s # static GVariant * 1255s # _good_types_skeleton_handle_get_property ( 1255s # GDBusConnection *connection G_GNUC_UNUSED, 1255s # const gchar *sender G_GNUC_UNUSED, 1255s # const gchar *object_path G_GNUC_UNUSED, 1255s # const gchar *interface_name G_GNUC_UNUSED, 1255s # const gchar *property_name, 1255s # GError **error, 1255s # gpointer user_data) 1255s # { 1255s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1255s # GValue value = G_VALUE_INIT; 1255s # GParamSpec *pspec; 1255s # _ExtendedGDBusPropertyInfo *info; 1255s # GVariant *ret; 1255s # ret = NULL; 1255s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1255s # g_assert (info != NULL); 1255s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1255s # if (pspec == NULL) 1255s # { 1255s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1255s # } 1255s # else 1255s # { 1255s # g_value_init (&value, pspec->value_type); 1255s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1255s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1255s # g_value_unset (&value); 1255s # } 1255s # return ret; 1255s # } 1255s # 1255s # static gboolean 1255s # _good_types_skeleton_handle_set_property ( 1255s # GDBusConnection *connection G_GNUC_UNUSED, 1255s # const gchar *sender G_GNUC_UNUSED, 1255s # const gchar *object_path G_GNUC_UNUSED, 1255s # const gchar *interface_name G_GNUC_UNUSED, 1255s # const gchar *property_name, 1255s # GVariant *variant, 1255s # GError **error, 1255s # gpointer user_data) 1255s # { 1255s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1255s # GValue value = G_VALUE_INIT; 1255s # GParamSpec *pspec; 1255s # _ExtendedGDBusPropertyInfo *info; 1255s # gboolean ret; 1255s # ret = FALSE; 1255s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 1255s # g_assert (info != NULL); 1255s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1255s # if (pspec == NULL) 1255s # { 1255s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1255s # } 1255s # else 1255s # { 1255s # if (info->use_gvariant) 1255s # g_value_set_variant (&value, variant); 1255s # else 1255s # g_dbus_gvariant_to_gvalue (variant, &value); 1255s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1255s # g_value_unset (&value); 1255s # ret = TRUE; 1255s # } 1255s # return ret; 1255s # } 1255s # 1255s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 1255s # { 1255s # _good_types_skeleton_handle_method_call, 1255s # _good_types_skeleton_handle_get_property, 1255s # _good_types_skeleton_handle_set_property, 1255s # {NULL} 1255s # }; 1255s # 1255s # static GDBusInterfaceInfo * 1255s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1255s # { 1255s # return good_types_interface_info (); 1255s # } 1255s # 1255s # static GDBusInterfaceVTable * 1255s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1255s # { 1255s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 1255s # } 1255s # 1255s # static GVariant * 1255s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1255s # { 1255s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1255s # 1255s # GVariantBuilder builder; 1255s # guint n; 1255s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1255s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1255s # #else 1255s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1255s # #endif 1255s # if (_good_types_interface_info.parent_struct.properties == NULL) 1255s # goto out; 1255s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 1255s # { 1255s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 1255s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1255s # { 1255s # GVariant *value; 1255s # 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); 1255s # if (value != NULL) 1255s # { 1255s # g_variant_take_ref (value); 1255s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1255s # g_variant_unref (value); 1255s # } 1255s # } 1255s # } 1255s # out: 1255s # return g_variant_builder_end (&builder); 1255s # } 1255s # 1255s # static gboolean _good_types_emit_changed (gpointer user_data); 1255s # 1255s # static void 1255s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1255s # { 1255s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 1255s # gboolean emit_changed = FALSE; 1255s # 1255s # g_mutex_lock (&skeleton->priv->lock); 1255s # if (skeleton->priv->changed_properties_idle_source != NULL) 1255s # { 1255s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1255s # skeleton->priv->changed_properties_idle_source = NULL; 1255s # emit_changed = TRUE; 1255s # } 1255s # g_mutex_unlock (&skeleton->priv->lock); 1255s # 1255s # if (emit_changed) 1255s # _good_types_emit_changed (skeleton); 1255s # } 1255s # 1255s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 1255s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1255s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1255s # G_ADD_PRIVATE (GoodTypesSkeleton) 1255s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1255s # 1255s # #else 1255s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1255s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 1255s # 1255s # #endif 1255s # static void 1255s # good_types_skeleton_finalize (GObject *object) 1255s # { 1255s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1255s # guint n; 1255s # for (n = 0; n < 1; n++) 1255s # g_value_unset (&skeleton->priv->properties[n]); 1255s # g_free (skeleton->priv->properties); 1255s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1255s # if (skeleton->priv->changed_properties_idle_source != NULL) 1255s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1255s # g_main_context_unref (skeleton->priv->context); 1255s # g_mutex_clear (&skeleton->priv->lock); 1255s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 1255s # } 1255s # 1255s # static void 1255s # good_types_skeleton_get_property (GObject *object, 1255s # guint prop_id, 1255s # GValue *value, 1255s # GParamSpec *pspec G_GNUC_UNUSED) 1255s # { 1255s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1255s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1255s # g_mutex_lock (&skeleton->priv->lock); 1255s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1255s # g_mutex_unlock (&skeleton->priv->lock); 1255s # } 1255s # 1255s # static gboolean 1255s # _good_types_emit_changed (gpointer user_data) 1255s # { 1255s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 1255s # GList *l; 1255s # GVariantBuilder builder; 1255s # GVariantBuilder invalidated_builder; 1255s # guint num_changes; 1255s # 1255s # g_mutex_lock (&skeleton->priv->lock); 1255s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1255s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1255s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1255s # #else 1255s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1255s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1255s # #endif 1255s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1255s # { 1255s # ChangedProperty *cp = l->data; 1255s # GVariant *variant; 1255s # const GValue *cur_value; 1255s # 1255s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1255s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1255s # { 1255s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1255s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1255s # g_variant_unref (variant); 1255s # num_changes++; 1255s # } 1255s # } 1255s # if (num_changes > 0) 1255s # { 1255s # GList *connections, *ll; 1255s # GVariant *signal_variant; 1255s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 1255s # &builder, &invalidated_builder)); 1255s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1255s # for (ll = connections; ll != NULL; ll = ll->next) 1255s # { 1255s # GDBusConnection *connection = ll->data; 1255s # 1255s # g_dbus_connection_emit_signal (connection, 1255s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1255s # "org.freedesktop.DBus.Properties", 1255s # "PropertiesChanged", 1255s # signal_variant, 1255s # NULL); 1255s # } 1255s # g_variant_unref (signal_variant); 1255s # g_list_free_full (connections, g_object_unref); 1255s # } 1255s # else 1255s # { 1255s # g_variant_builder_clear (&builder); 1255s # g_variant_builder_clear (&invalidated_builder); 1255s # } 1255s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1255s # skeleton->priv->changed_properties = NULL; 1255s # skeleton->priv->changed_properties_idle_source = NULL; 1255s # g_mutex_unlock (&skeleton->priv->lock); 1255s # return FALSE; 1255s # } 1255s # 1255s # static void 1255s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1255s # { 1255s # ChangedProperty *cp; 1255s # GList *l; 1255s # cp = NULL; 1255s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1255s # { 1255s # ChangedProperty *i_cp = l->data; 1255s # if (i_cp->info == info) 1255s # { 1255s # cp = i_cp; 1255s # break; 1255s # } 1255s # } 1255s # if (cp == NULL) 1255s # { 1255s # cp = g_new0 (ChangedProperty, 1); 1255s # cp->prop_id = prop_id; 1255s # cp->info = info; 1255s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1255s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1255s # g_value_copy (orig_value, &cp->orig_value); 1255s # } 1255s # } 1255s # 1255s # static void 1255s # good_types_skeleton_notify (GObject *object, 1255s # GParamSpec *pspec G_GNUC_UNUSED) 1255s # { 1255s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1255s # g_mutex_lock (&skeleton->priv->lock); 1255s # if (skeleton->priv->changed_properties != NULL && 1255s # skeleton->priv->changed_properties_idle_source == NULL) 1255s # { 1255s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1255s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1255s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1255s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 1255s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1255s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1255s # } 1255s # g_mutex_unlock (&skeleton->priv->lock); 1255s # } 1255s # 1255s # static void 1255s # good_types_skeleton_set_property (GObject *object, 1255s # guint prop_id, 1255s # const GValue *value, 1255s # GParamSpec *pspec) 1255s # { 1255s # const _ExtendedGDBusPropertyInfo *info; 1255s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1255s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1255s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 1255s # g_mutex_lock (&skeleton->priv->lock); 1255s # g_object_freeze_notify (object); 1255s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1255s # { 1255s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1255s # info->emits_changed_signal) 1255s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1255s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1255s # g_object_notify_by_pspec (object, pspec); 1255s # } 1255s # g_mutex_unlock (&skeleton->priv->lock); 1255s # g_object_thaw_notify (object); 1255s # } 1255s # 1255s # static void 1255s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 1255s # { 1255s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1255s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 1255s # #else 1255s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 1255s # #endif 1255s # 1255s # g_mutex_init (&skeleton->priv->lock); 1255s # skeleton->priv->context = g_main_context_ref_thread_default (); 1255s # skeleton->priv->properties = g_new0 (GValue, 1); 1255s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 1255s # } 1255s # 1255s # static GVariant * 1255s # good_types_skeleton_get_good_property_type (GoodTypes *object) 1255s # { 1255s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 1255s # GVariant *value; 1255s # g_mutex_lock (&skeleton->priv->lock); 1255s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 1255s # g_mutex_unlock (&skeleton->priv->lock); 1255s # return value; 1255s # } 1255s # 1255s # static void 1255s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 1255s # { 1255s # GObjectClass *gobject_class; 1255s # GDBusInterfaceSkeletonClass *skeleton_class; 1255s # 1255s # gobject_class = G_OBJECT_CLASS (klass); 1255s # gobject_class->finalize = good_types_skeleton_finalize; 1255s # gobject_class->get_property = good_types_skeleton_get_property; 1255s # gobject_class->set_property = good_types_skeleton_set_property; 1255s # gobject_class->notify = good_types_skeleton_notify; 1255s # 1255s # 1255s # good_types_override_properties (gobject_class, 1); 1255s # 1255s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1255s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 1255s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 1255s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 1255s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 1255s # 1255s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1255s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 1255s # #endif 1255s # } 1255s # 1255s # static void 1255s # good_types_skeleton_iface_init (GoodTypesIface *iface) 1255s # { 1255s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 1255s # } 1255s # 1255s # /** 1255s # * good_types_skeleton_new: 1255s # * 1255s # * Creates a skeleton object for the D-Bus interface GoodTypes. 1255s # * 1255s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 1255s # */ 1255s # GoodTypes * 1255s # good_types_skeleton_new (void) 1255s # { 1255s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 1255s # } 1255s # Error: 1255s ok 3 __main__.TestCodegen.test_empty_interface_body 1255s # gdbus-codegen: /usr/bin/gdbus-codegen 1255s # tmpdir: /tmp/tmpb89tf8ho 1255s # /tmp/tmpb89tf8ho/tmpa274ekyt.xml: 1255s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb89tf8ho/tmpa274ekyt.xml', '--output', '-', '--body'] 1255s # Return code: 0 1255s # Output: 1255s # /* 1255s # * This file is generated by gdbus-codegen, do not modify it. 1255s # * 1255s # * The license of this code is the same as for the D-Bus interface description 1255s # * it was derived from. Note that it links to GLib, so must comply with the 1255s # * LGPL linking clauses. 1255s # */ 1255s # 1255s # #ifdef HAVE_CONFIG_H 1255s # # include "config.h" 1255s # #endif 1255s # 1255s # #include 1255s # #ifdef G_OS_UNIX 1255s # # include 1255s # #endif 1255s # 1255s # #ifdef G_ENABLE_DEBUG 1255s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1255s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1255s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1255s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1255s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1255s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1255s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1255s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1255s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1255s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1255s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1255s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1255s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1255s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1255s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1255s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1255s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1255s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1255s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1255s # #else /* !G_ENABLE_DEBUG */ 1255s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1255s # * Do not access GValues directly in your code. Instead, use the 1255s # * g_value_get_*() functions 1255s # */ 1255s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1255s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1255s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1255s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1255s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1255s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1255s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1255s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1255s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1255s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1255s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1255s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1255s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1255s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1255s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1255s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1255s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1255s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1255s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1255s # #endif /* !G_ENABLE_DEBUG */ 1255s # 1255s # typedef struct 1255s # { 1255s # GDBusArgInfo parent_struct; 1255s # gboolean use_gvariant; 1255s # } _ExtendedGDBusArgInfo; 1255s # 1255s # typedef struct 1255s # { 1255s # GDBusMethodInfo parent_struct; 1255s # const gchar *signal_name; 1255s # gboolean pass_fdlist; 1255s # } _ExtendedGDBusMethodInfo; 1255s # 1255s # typedef struct 1255s # { 1255s # GDBusSignalInfo parent_struct; 1255s # const gchar *signal_name; 1255s # } _ExtendedGDBusSignalInfo; 1255s # 1255s # typedef struct 1255s # { 1255s # GDBusPropertyInfo parent_struct; 1255s # const gchar *hyphen_name; 1255s # guint use_gvariant : 1; 1255s # guint emits_changed_signal : 1; 1255s # } _ExtendedGDBusPropertyInfo; 1255s # 1255s # typedef struct 1255s # { 1255s # GDBusInterfaceInfo parent_struct; 1255s # const gchar *hyphen_name; 1255s # } _ExtendedGDBusInterfaceInfo; 1255s # 1255s # typedef struct 1255s # { 1255s # const _ExtendedGDBusPropertyInfo *info; 1255s # guint prop_id; 1255s # GValue orig_value; /* the value before the change */ 1255s # } ChangedProperty; 1255s # 1255s # static void 1255s # _changed_property_free (ChangedProperty *data) 1255s # { 1255s # g_value_unset (&data->orig_value); 1255s # g_free (data); 1255s # } 1255s # 1255s # static gboolean 1255s # _g_strv_equal0 (gchar **a, gchar **b) 1255s # { 1255s # gboolean ret = FALSE; 1255s # guint n; 1255s # if (a == NULL && b == NULL) 1255s # { 1255s # ret = TRUE; 1255s # goto out; 1255s # } 1255s # if (a == NULL || b == NULL) 1255s # goto out; 1255s # if (g_strv_length (a) != g_strv_length (b)) 1255s # goto out; 1255s # for (n = 0; a[n] != NULL; n++) 1255s # if (g_strcmp0 (a[n], b[n]) != 0) 1255s # goto out; 1255s # ret = TRUE; 1255s # out: 1255s # return ret; 1255s # } 1255s # 1255s # static gboolean 1255s # _g_variant_equal0 (GVariant *a, GVariant *b) 1255s # { 1255s # gboolean ret = FALSE; 1255s # if (a == NULL && b == NULL) 1255s # { 1255s # ret = TRUE; 1255s # goto out; 1255s # } 1255s # if (a == NULL || b == NULL) 1255s # goto out; 1255s # ret = g_variant_equal (a, b); 1255s # out: 1255s # return ret; 1255s # } 1255s # 1255s # G_GNUC_UNUSED static gboolean 1255s # _g_value_equal (const GValue *a, const GValue *b) 1255s # { 1255s # gboolean ret = FALSE; 1255s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1255s # switch (G_VALUE_TYPE (a)) 1255s # { 1255s # case G_TYPE_BOOLEAN: 1255s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1255s # break; 1255s # case G_TYPE_UCHAR: 1255s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1255s # break; 1255s # case G_TYPE_INT: 1255s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1255s # break; 1255s # case G_TYPE_UINT: 1255s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1255s # break; 1255s # case G_TYPE_INT64: 1255s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1255s # break; 1255s # case G_TYPE_UINT64: 1255s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1255s # break; 1255s # case G_TYPE_DOUBLE: 1255s # { 1255s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1255s # gdouble da = g_value_get_double (a); 1255s # gdouble db = g_value_get_double (b); 1255s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1255s # } 1255s # break; 1255s # case G_TYPE_STRING: 1255s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1255s # break; 1255s # case G_TYPE_VARIANT: 1255s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1255s # break; 1255s # default: 1255s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1255s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1255s # else 1255s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1255s # break; 1255s # } 1255s # return ret; 1255s # } 1255s # Error: 1255s ok 4 __main__.TestCodegen.test_empty_interface_header 1255s # gdbus-codegen: /usr/bin/gdbus-codegen 1255s # tmpdir: /tmp/tmpvpdb8yik 1255s # /tmp/tmpvpdb8yik/tmp0c2vrivo.xml: 1255s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvpdb8yik/tmp0c2vrivo.xml', '--output', '-', '--header'] 1255s # Return code: 0 1255s # Output: 1255s # /* 1255s # * This file is generated by gdbus-codegen, do not modify it. 1255s # * 1255s # * The license of this code is the same as for the D-Bus interface description 1255s # * it was derived from. Note that it links to GLib, so must comply with the 1255s # * LGPL linking clauses. 1255s # */ 1255s # 1255s # #ifndef __STDOUT__ 1255s # #define __STDOUT__ 1255s # 1255s # #include 1255s # 1255s # G_BEGIN_DECLS 1255s # 1255s # 1255s # G_END_DECLS 1255s # 1255s # #endif /* __STDOUT__ */ 1255s # Error: 1255s ok 5 __main__.TestCodegen.test_empty_interface_info_body 1255s # gdbus-codegen: /usr/bin/gdbus-codegen 1255s # tmpdir: /tmp/tmpql_1chnn 1255s # /tmp/tmpql_1chnn/tmpf57t8oi8.xml: 1255s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpql_1chnn/tmpf57t8oi8.xml', '--output', '-', '--interface-info-body'] 1255s # Return code: 0 1255s # Output: 1255s # /* 1255s # * This file is generated by gdbus-codegen, do not modify it. 1255s # * 1255s # * The license of this code is the same as for the D-Bus interface description 1255s # * it was derived from. Note that it links to GLib, so must comply with the 1255s # * LGPL linking clauses. 1255s # */ 1255s # 1255s # #ifdef HAVE_CONFIG_H 1255s # # include "config.h" 1255s # #endif 1255s # 1255s # #include 1255s # Error: 1255s ok 6 __main__.TestCodegen.test_empty_interface_info_header 1255s # gdbus-codegen: /usr/bin/gdbus-codegen 1255s # tmpdir: /tmp/tmp4szg4czf 1255s # /tmp/tmp4szg4czf/tmpyu2esjfz.xml: 1255s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4szg4czf/tmpyu2esjfz.xml', '--output', '-', '--interface-info-header'] 1255s # Return code: 0 1255s # Output: 1255s # /* 1255s # * This file is generated by gdbus-codegen, do not modify it. 1255s # * 1255s # * The license of this code is the same as for the D-Bus interface description 1255s # * it was derived from. Note that it links to GLib, so must comply with the 1255s # * LGPL linking clauses. 1255s # */ 1255s # 1255s # #ifndef __STDOUT__ 1255s # #define __STDOUT__ 1255s # 1255s # #include 1255s # 1255s # G_BEGIN_DECLS 1255s # 1255s # 1255s # G_END_DECLS 1255s # 1255s # #endif /* __STDOUT__ */ 1255s # Error: 1255s ok 7 __main__.TestCodegen.test_generate_docbook 1255s # gdbus-codegen: /usr/bin/gdbus-codegen 1255s # tmpdir: /tmp/tmpaml7qbpp 1255s # /tmp/tmpaml7qbpp/tmp_ndpkr01.xml: 1255s # 1255s # 1255s # 1255s # 1255s # 1255s # 1255s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpaml7qbpp/tmp_ndpkr01.xml', '--generate-docbook', 'test'] 1255s # Return code: 0 1255s # Output: 1255s # 1255s # Error: 1255s ok 8 __main__.TestCodegen.test_generate_md 1255s # gdbus-codegen: /usr/bin/gdbus-codegen 1255s # tmpdir: /tmp/tmpzt_2aqbx 1255s # /tmp/tmpzt_2aqbx/tmp6yo1rk3p.xml: 1255s # 1255s # 1255s # 1255s # 1255s # 1255s # 1255s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzt_2aqbx/tmp6yo1rk3p.xml', '--generate-md', 'test'] 1255s # Return code: 0 1255s # Output: 1255s # 1255s # Error: 1255s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 1255s # gdbus-codegen: /usr/bin/gdbus-codegen 1255s # tmpdir: /tmp/tmpdbbp3d_a 1255s # /tmp/tmpdbbp3d_a/tmprcc6d3on.xml: 1255s # 1255s # 1255s # 1255s # 1255s # 1255s # 1255s # 1255s # 1255s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdbbp3d_a/tmprcc6d3on.xml', '--output', '-', '--body'] 1255s # Return code: 0 1255s # Output: 1255s # /* 1255s # * This file is generated by gdbus-codegen, do not modify it. 1255s # * 1255s # * The license of this code is the same as for the D-Bus interface description 1255s # * it was derived from. Note that it links to GLib, so must comply with the 1255s # * LGPL linking clauses. 1255s # */ 1255s # 1255s # #ifdef HAVE_CONFIG_H 1255s # # include "config.h" 1255s # #endif 1255s # 1255s # #include 1255s # #ifdef G_OS_UNIX 1255s # # include 1255s # #endif 1255s # 1255s # #ifdef G_ENABLE_DEBUG 1255s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1255s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1255s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1255s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1255s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1255s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1255s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1255s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1255s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1255s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1255s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1255s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1255s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1255s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1255s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1255s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1255s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1255s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1255s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1255s # #else /* !G_ENABLE_DEBUG */ 1255s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1255s # * Do not access GValues directly in your code. Instead, use the 1255s # * g_value_get_*() functions 1255s # */ 1255s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1255s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1255s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1255s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1255s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1255s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1255s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1255s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1255s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1255s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1255s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1255s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1255s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1255s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1255s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1255s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1255s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1255s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1255s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1255s # #endif /* !G_ENABLE_DEBUG */ 1255s # 1255s # typedef struct 1255s # { 1255s # GDBusArgInfo parent_struct; 1255s # gboolean use_gvariant; 1255s # } _ExtendedGDBusArgInfo; 1255s # 1255s # typedef struct 1255s # { 1255s # GDBusMethodInfo parent_struct; 1255s # const gchar *signal_name; 1255s # gboolean pass_fdlist; 1255s # } _ExtendedGDBusMethodInfo; 1255s # 1255s # typedef struct 1255s # { 1255s # GDBusSignalInfo parent_struct; 1255s # const gchar *signal_name; 1255s # } _ExtendedGDBusSignalInfo; 1255s # 1255s # typedef struct 1255s # { 1255s # GDBusPropertyInfo parent_struct; 1255s # const gchar *hyphen_name; 1255s # guint use_gvariant : 1; 1255s # guint emits_changed_signal : 1; 1255s # } _ExtendedGDBusPropertyInfo; 1255s # 1255s # typedef struct 1255s # { 1255s # GDBusInterfaceInfo parent_struct; 1255s # const gchar *hyphen_name; 1255s # } _ExtendedGDBusInterfaceInfo; 1255s # 1255s # typedef struct 1255s # { 1255s # const _ExtendedGDBusPropertyInfo *info; 1255s # guint prop_id; 1255s # GValue orig_value; /* the value before the change */ 1255s # } ChangedProperty; 1255s # 1255s # static void 1255s # _changed_property_free (ChangedProperty *data) 1255s # { 1255s # g_value_unset (&data->orig_value); 1255s # g_free (data); 1255s # } 1255s # 1255s # static gboolean 1255s # _g_strv_equal0 (gchar **a, gchar **b) 1255s # { 1255s # gboolean ret = FALSE; 1255s # guint n; 1255s # if (a == NULL && b == NULL) 1255s # { 1255s # ret = TRUE; 1255s # goto out; 1255s # } 1255s # if (a == NULL || b == NULL) 1255s # goto out; 1255s # if (g_strv_length (a) != g_strv_length (b)) 1255s # goto out; 1255s # for (n = 0; a[n] != NULL; n++) 1255s # if (g_strcmp0 (a[n], b[n]) != 0) 1255s # goto out; 1255s # ret = TRUE; 1255s # out: 1255s # return ret; 1255s # } 1255s # 1255s # static gboolean 1255s # _g_variant_equal0 (GVariant *a, GVariant *b) 1255s # { 1255s # gboolean ret = FALSE; 1255s # if (a == NULL && b == NULL) 1255s # { 1255s # ret = TRUE; 1255s # goto out; 1255s # } 1255s # if (a == NULL || b == NULL) 1255s # goto out; 1255s # ret = g_variant_equal (a, b); 1255s # out: 1255s # return ret; 1255s # } 1255s # 1255s # G_GNUC_UNUSED static gboolean 1255s # _g_value_equal (const GValue *a, const GValue *b) 1255s # { 1255s # gboolean ret = FALSE; 1255s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1255s # switch (G_VALUE_TYPE (a)) 1255s # { 1255s # case G_TYPE_BOOLEAN: 1255s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1255s # break; 1255s # case G_TYPE_UCHAR: 1255s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1255s # break; 1255s # case G_TYPE_INT: 1255s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1255s # break; 1255s # case G_TYPE_UINT: 1255s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1255s # break; 1255s # case G_TYPE_INT64: 1255s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1255s # break; 1255s # case G_TYPE_UINT64: 1255s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1255s # break; 1255s # case G_TYPE_DOUBLE: 1255s # { 1255s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1255s # gdouble da = g_value_get_double (a); 1255s # gdouble db = g_value_get_double (b); 1255s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1255s # } 1255s # break; 1255s # case G_TYPE_STRING: 1255s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1255s # break; 1255s # case G_TYPE_VARIANT: 1255s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1255s # break; 1255s # default: 1255s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1255s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1255s # else 1255s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1255s # break; 1255s # } 1255s # return ret; 1255s # } 1255s # 1255s # static void 1255s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1255s # GClosure *closure, 1255s # GValue *return_value, 1255s # unsigned int n_param_values, 1255s # const GValue *param_values, 1255s # void *invocation_hint G_GNUC_UNUSED, 1255s # void *marshal_data) 1255s # { 1255s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1255s # (void *data1, 1255s # GDBusMethodInvocation *arg_method_invocation, 1255s # void *data2); 1255s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1255s # GCClosure *cc = (GCClosure*) closure; 1255s # void *data1, *data2; 1255s # gboolean v_return; 1255s # 1255s # g_return_if_fail (return_value != NULL); 1255s # g_return_if_fail (n_param_values == 2); 1255s # 1255s # if (G_CCLOSURE_SWAP_DATA (closure)) 1255s # { 1255s # data1 = closure->data; 1255s # data2 = g_value_peek_pointer (param_values + 0); 1255s # } 1255s # else 1255s # { 1255s # data1 = g_value_peek_pointer (param_values + 0); 1255s # data2 = closure->data; 1255s # } 1255s # 1255s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1255s # (marshal_data ? marshal_data : cc->callback); 1255s # 1255s # v_return = 1255s # callback (data1, 1255s # g_marshal_value_peek_object (param_values + 1), 1255s # data2); 1255s # 1255s # g_value_set_boolean (return_value, v_return); 1255s # } 1255s # 1255s # /* ------------------------------------------------------------------------ 1255s # * Code for interface org.project.CallableIface 1255s # * ------------------------------------------------------------------------ 1255s # */ 1255s # 1255s # /** 1255s # * SECTION:OrgProjectCallableIface 1255s # * @title: OrgProjectCallableIface 1255s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1255s # * 1255s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1255s # */ 1255s # 1255s # /* ---- Introspection data for org.project.CallableIface ---- */ 1255s # 1255s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 1255s # { 1255s # { 1255s # -1, 1255s # (gchar *) "SimpleMethod", 1255s # NULL, 1255s # NULL, 1255s # NULL 1255s # }, 1255s # "handle-simple-method", 1255s # FALSE 1255s # }; 1255s # 1255s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1255s # { 1255s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 1255s # NULL 1255s # }; 1255s # 1255s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1255s # { 1255s # { 1255s # -1, 1255s # (gchar *) "org.project.CallableIface", 1255s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1255s # NULL, 1255s # NULL, 1255s # NULL 1255s # }, 1255s # "org-project-callable-iface", 1255s # }; 1255s # 1255s # 1255s # /** 1255s # * org_project_callable_iface_interface_info: 1255s # * 1255s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1255s # * 1255s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1255s # */ 1255s # GDBusInterfaceInfo * 1255s # org_project_callable_iface_interface_info (void) 1255s # { 1255s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1255s # } 1255s # 1255s # /** 1255s # * org_project_callable_iface_override_properties: 1255s # * @klass: The class structure for a #GObject derived class. 1255s # * @property_id_begin: The property id to assign to the first overridden property. 1255s # * 1255s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1255s # * The properties are overridden in the order they are defined. 1255s # * 1255s # * Returns: The last property id. 1255s # */ 1255s # guint 1255s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1255s # { 1255s # return property_id_begin - 1; 1255s # } 1255s # 1255s # 1255s # inline static void 1255s # org_project_callable_iface_method_marshal_simple_method ( 1255s # GClosure *closure, 1255s # GValue *return_value, 1255s # unsigned int n_param_values, 1255s # const GValue *param_values, 1255s # void *invocation_hint, 1255s # void *marshal_data) 1255s # { 1255s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1255s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1255s # } 1255s # 1255s # 1255s # /** 1255s # * OrgProjectCallableIface: 1255s # * 1255s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1255s # */ 1255s # 1255s # /** 1255s # * OrgProjectCallableIfaceIface: 1255s # * @parent_iface: The parent interface. 1255s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 1255s # * 1255s # * Virtual table for the D-Bus interface org.project.CallableIface. 1255s # */ 1255s # 1255s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1255s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1255s # 1255s # static void 1255s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1255s # { 1255s # /* GObject signals for incoming D-Bus method calls: */ 1255s # /** 1255s # * OrgProjectCallableIface::handle-simple-method: 1255s # * @object: A #OrgProjectCallableIface. 1255s # * @invocation: A #GDBusMethodInvocation. 1255s # * 1255s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1255s # * 1255s # * 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. 1255s # * 1255s # * 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. 1255s # */ 1255s # g_signal_new ("handle-simple-method", 1255s # G_TYPE_FROM_INTERFACE (iface), 1255s # G_SIGNAL_RUN_LAST, 1255s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 1255s # g_signal_accumulator_true_handled, 1255s # NULL, 1255s # org_project_callable_iface_method_marshal_simple_method, 1255s # G_TYPE_BOOLEAN, 1255s # 1, 1255s # G_TYPE_DBUS_METHOD_INVOCATION); 1255s # 1255s # } 1255s # 1255s # /** 1255s # * org_project_callable_iface_call_simple_method: 1255s # * @proxy: A #OrgProjectCallableIfaceProxy. 1255s # * @cancellable: (nullable): A #GCancellable or %NULL. 1255s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1255s # * @user_data: User data to pass to @callback. 1255s # * 1255s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1255s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1255s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 1255s # * 1255s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1255s # */ 1255s # void 1255s # org_project_callable_iface_call_simple_method ( 1255s # OrgProjectCallableIface *proxy, 1255s # GCancellable *cancellable, 1255s # GAsyncReadyCallback callback, 1255s # gpointer user_data) 1255s # { 1255s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1255s # "SimpleMethod", 1255s # g_variant_new ("()"), 1255s # G_DBUS_CALL_FLAGS_NONE, 1255s # -1, 1255s # cancellable, 1255s # callback, 1255s # user_data); 1255s # } 1255s # 1255s # /** 1255s # * org_project_callable_iface_call_simple_method_finish: 1255s # * @proxy: A #OrgProjectCallableIfaceProxy. 1255s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 1255s # * @error: Return location for error or %NULL. 1255s # * 1255s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 1255s # * 1255s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1255s # */ 1255s # gboolean 1255s # org_project_callable_iface_call_simple_method_finish ( 1255s # OrgProjectCallableIface *proxy, 1255s # GAsyncResult *res, 1255s # GError **error) 1255s # { 1255s # GVariant *_ret; 1255s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1255s # if (_ret == NULL) 1255s # goto _out; 1255s # g_variant_get (_ret, 1255s # "()"); 1255s # g_variant_unref (_ret); 1255s # _out: 1255s # return _ret != NULL; 1255s # } 1255s # 1255s # /** 1255s # * org_project_callable_iface_call_simple_method_sync: 1255s # * @proxy: A #OrgProjectCallableIfaceProxy. 1255s # * @cancellable: (nullable): A #GCancellable or %NULL. 1255s # * @error: Return location for error or %NULL. 1255s # * 1255s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1255s # * 1255s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 1255s # * 1255s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1255s # */ 1255s # gboolean 1255s # org_project_callable_iface_call_simple_method_sync ( 1255s # OrgProjectCallableIface *proxy, 1255s # GCancellable *cancellable, 1255s # GError **error) 1255s # { 1255s # GVariant *_ret; 1255s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1255s # "SimpleMethod", 1255s # g_variant_new ("()"), 1255s # G_DBUS_CALL_FLAGS_NONE, 1255s # -1, 1255s # cancellable, 1255s # error); 1255s # if (_ret == NULL) 1255s # goto _out; 1255s # g_variant_get (_ret, 1255s # "()"); 1255s # g_variant_unref (_ret); 1255s # _out: 1255s # return _ret != NULL; 1255s # } 1255s # 1255s # /** 1255s # * org_project_callable_iface_complete_simple_method: 1255s # * @object: A #OrgProjectCallableIface. 1255s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1255s # * 1255s # * 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. 1255s # * 1255s # * This method will free @invocation, you cannot use it afterwards. 1255s # */ 1255s # void 1255s # org_project_callable_iface_complete_simple_method ( 1255s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1255s # GDBusMethodInvocation *invocation) 1255s # { 1255s # g_dbus_method_invocation_return_value (invocation, 1255s # g_variant_new ("()")); 1255s # } 1255s # 1255s # /* ------------------------------------------------------------------------ */ 1255s # 1255s # /** 1255s # * OrgProjectCallableIfaceProxy: 1255s # * 1255s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1255s # */ 1255s # 1255s # /** 1255s # * OrgProjectCallableIfaceProxyClass: 1255s # * @parent_class: The parent class. 1255s # * 1255s # * Class structure for #OrgProjectCallableIfaceProxy. 1255s # */ 1255s # 1255s # struct _OrgProjectCallableIfaceProxyPrivate 1255s # { 1255s # GData *qdata; 1255s # }; 1255s # 1255s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1255s # 1255s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1255s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1255s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1255s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1255s # 1255s # #else 1255s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1255s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1255s # 1255s # #endif 1255s # static void 1255s # org_project_callable_iface_proxy_finalize (GObject *object) 1255s # { 1255s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1255s # g_datalist_clear (&proxy->priv->qdata); 1255s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1255s # } 1255s # 1255s # static void 1255s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1255s # guint prop_id G_GNUC_UNUSED, 1255s # GValue *value G_GNUC_UNUSED, 1255s # GParamSpec *pspec G_GNUC_UNUSED) 1255s # { 1255s # } 1255s # 1255s # static void 1255s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1255s # guint prop_id G_GNUC_UNUSED, 1255s # const GValue *value G_GNUC_UNUSED, 1255s # GParamSpec *pspec G_GNUC_UNUSED) 1255s # { 1255s # } 1255s # 1255s # static void 1255s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1255s # const gchar *sender_name G_GNUC_UNUSED, 1255s # const gchar *signal_name, 1255s # GVariant *parameters) 1255s # { 1255s # _ExtendedGDBusSignalInfo *info; 1255s # GVariantIter iter; 1255s # GVariant *child; 1255s # GValue *paramv; 1255s # gsize num_params; 1255s # gsize n; 1255s # guint signal_id; 1255s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1255s # if (info == NULL) 1255s # return; 1255s # num_params = g_variant_n_children (parameters); 1255s # paramv = g_new0 (GValue, num_params + 1); 1255s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1255s # g_value_set_object (¶mv[0], proxy); 1255s # g_variant_iter_init (&iter, parameters); 1255s # n = 1; 1255s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1255s # { 1255s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1255s # if (arg_info->use_gvariant) 1255s # { 1255s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1255s # g_value_set_variant (¶mv[n], child); 1255s # n++; 1255s # } 1255s # else 1255s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1255s # g_variant_unref (child); 1255s # } 1255s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1255s # g_signal_emitv (paramv, signal_id, 0, NULL); 1255s # for (n = 0; n < num_params + 1; n++) 1255s # g_value_unset (¶mv[n]); 1255s # g_free (paramv); 1255s # } 1255s # 1255s # static void 1255s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1255s # GVariant *changed_properties, 1255s # const gchar *const *invalidated_properties) 1255s # { 1255s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1255s # guint n; 1255s # const gchar *key; 1255s # GVariantIter *iter; 1255s # _ExtendedGDBusPropertyInfo *info; 1255s # g_variant_get (changed_properties, "a{sv}", &iter); 1255s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1255s # { 1255s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1255s # g_datalist_remove_data (&proxy->priv->qdata, key); 1255s # if (info != NULL) 1255s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1255s # } 1255s # g_variant_iter_free (iter); 1255s # for (n = 0; invalidated_properties[n] != NULL; n++) 1255s # { 1255s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1255s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1255s # if (info != NULL) 1255s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1255s # } 1255s # } 1255s # 1255s # static void 1255s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1255s # { 1255s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1255s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1255s # #else 1255s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1255s # #endif 1255s # 1255s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1255s # } 1255s # 1255s # static void 1255s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1255s # { 1255s # GObjectClass *gobject_class; 1255s # GDBusProxyClass *proxy_class; 1255s # 1255s # gobject_class = G_OBJECT_CLASS (klass); 1255s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1255s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1255s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1255s # 1255s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1255s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1255s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1255s # 1255s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1255s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1255s # #endif 1255s # } 1255s # 1255s # static void 1255s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1255s # { 1255s # } 1255s # 1255s # /** 1255s # * org_project_callable_iface_proxy_new: 1255s # * @connection: A #GDBusConnection. 1255s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1255s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1255s # * @object_path: An object path. 1255s # * @cancellable: (nullable): A #GCancellable or %NULL. 1255s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1255s # * @user_data: User data to pass to @callback. 1255s # * 1255s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1255s # * 1255s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1255s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1255s # * 1255s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1255s # */ 1255s # void 1255s # org_project_callable_iface_proxy_new ( 1255s # GDBusConnection *connection, 1255s # GDBusProxyFlags flags, 1255s # const gchar *name, 1255s # const gchar *object_path, 1255s # GCancellable *cancellable, 1255s # GAsyncReadyCallback callback, 1255s # gpointer user_data) 1255s # { 1255s # 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); 1255s # } 1255s # 1255s # /** 1255s # * org_project_callable_iface_proxy_new_finish: 1255s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1255s # * @error: Return location for error or %NULL 1255s # * 1255s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1255s # * 1255s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1255s # */ 1255s # OrgProjectCallableIface * 1255s # org_project_callable_iface_proxy_new_finish ( 1255s # GAsyncResult *res, 1255s # GError **error) 1255s # { 1255s # GObject *ret; 1255s # GObject *source_object; 1255s # source_object = g_async_result_get_source_object (res); 1255s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1255s # g_object_unref (source_object); 1255s # if (ret != NULL) 1255s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1255s # else 1255s # return NULL; 1255s # } 1255s # 1255s # /** 1255s # * org_project_callable_iface_proxy_new_sync: 1255s # * @connection: A #GDBusConnection. 1255s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1255s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1255s # * @object_path: An object path. 1255s # * @cancellable: (nullable): A #GCancellable or %NULL. 1255s # * @error: Return location for error or %NULL 1255s # * 1255s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1255s # * 1255s # * The calling thread is blocked until a reply is received. 1255s # * 1255s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1255s # * 1255s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1255s # */ 1255s # OrgProjectCallableIface * 1255s # org_project_callable_iface_proxy_new_sync ( 1255s # GDBusConnection *connection, 1255s # GDBusProxyFlags flags, 1255s # const gchar *name, 1255s # const gchar *object_path, 1255s # GCancellable *cancellable, 1255s # GError **error) 1255s # { 1255s # GInitable *ret; 1255s # 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); 1255s # if (ret != NULL) 1255s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1255s # else 1255s # return NULL; 1255s # } 1255s # 1255s # 1255s # /** 1255s # * org_project_callable_iface_proxy_new_for_bus: 1255s # * @bus_type: A #GBusType. 1255s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1255s # * @name: A bus name (well-known or unique). 1255s # * @object_path: An object path. 1255s # * @cancellable: (nullable): A #GCancellable or %NULL. 1255s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1255s # * @user_data: User data to pass to @callback. 1255s # * 1255s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1255s # * 1255s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1255s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1255s # * 1255s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1255s # */ 1255s # void 1255s # org_project_callable_iface_proxy_new_for_bus ( 1255s # GBusType bus_type, 1255s # GDBusProxyFlags flags, 1255s # const gchar *name, 1255s # const gchar *object_path, 1255s # GCancellable *cancellable, 1255s # GAsyncReadyCallback callback, 1255s # gpointer user_data) 1255s # { 1255s # 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); 1255s # } 1255s # 1255s # /** 1255s # * org_project_callable_iface_proxy_new_for_bus_finish: 1255s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1255s # * @error: Return location for error or %NULL 1255s # * 1255s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1255s # * 1255s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1255s # */ 1255s # OrgProjectCallableIface * 1255s # org_project_callable_iface_proxy_new_for_bus_finish ( 1255s # GAsyncResult *res, 1255s # GError **error) 1255s # { 1255s # GObject *ret; 1255s # GObject *source_object; 1255s # source_object = g_async_result_get_source_object (res); 1255s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1255s # g_object_unref (source_object); 1255s # if (ret != NULL) 1255s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1255s # else 1255s # return NULL; 1255s # } 1255s # 1255s # /** 1255s # * org_project_callable_iface_proxy_new_for_bus_sync: 1255s # * @bus_type: A #GBusType. 1255s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1255s # * @name: A bus name (well-known or unique). 1255s # * @object_path: An object path. 1255s # * @cancellable: (nullable): A #GCancellable or %NULL. 1255s # * @error: Return location for error or %NULL 1255s # * 1255s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1255s # * 1255s # * The calling thread is blocked until a reply is received. 1255s # * 1255s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1255s # * 1255s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1255s # */ 1255s # OrgProjectCallableIface * 1255s # org_project_callable_iface_proxy_new_for_bus_sync ( 1255s # GBusType bus_type, 1255s # GDBusProxyFlags flags, 1255s # const gchar *name, 1255s # const gchar *object_path, 1255s # GCancellable *cancellable, 1255s # GError **error) 1255s # { 1255s # GInitable *ret; 1255s # 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); 1255s # if (ret != NULL) 1255s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1255s # else 1255s # return NULL; 1255s # } 1255s # 1255s # 1255s # /* ------------------------------------------------------------------------ */ 1255s # 1255s # /** 1255s # * OrgProjectCallableIfaceSkeleton: 1255s # * 1255s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1255s # */ 1255s # 1255s # /** 1255s # * OrgProjectCallableIfaceSkeletonClass: 1255s # * @parent_class: The parent class. 1255s # * 1255s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1255s # */ 1255s # 1255s # struct _OrgProjectCallableIfaceSkeletonPrivate 1255s # { 1255s # GValue *properties; 1255s # GList *changed_properties; 1255s # GSource *changed_properties_idle_source; 1255s # GMainContext *context; 1255s # GMutex lock; 1255s # }; 1255s # 1255s # static void 1255s # _org_project_callable_iface_skeleton_handle_method_call ( 1255s # GDBusConnection *connection G_GNUC_UNUSED, 1255s # const gchar *sender G_GNUC_UNUSED, 1255s # const gchar *object_path G_GNUC_UNUSED, 1255s # const gchar *interface_name, 1255s # const gchar *method_name, 1255s # GVariant *parameters, 1255s # GDBusMethodInvocation *invocation, 1255s # gpointer user_data) 1255s # { 1255s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1255s # _ExtendedGDBusMethodInfo *info; 1255s # GVariantIter iter; 1255s # GVariant *child; 1255s # GValue *paramv; 1255s # gsize num_params; 1255s # guint num_extra; 1255s # gsize n; 1255s # guint signal_id; 1255s # GValue return_value = G_VALUE_INIT; 1255s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1255s # g_assert (info != NULL); 1255s # num_params = g_variant_n_children (parameters); 1255s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1255s # n = 0; 1255s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1255s # g_value_set_object (¶mv[n++], skeleton); 1255s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1255s # g_value_set_object (¶mv[n++], invocation); 1255s # if (info->pass_fdlist) 1255s # { 1255s # #ifdef G_OS_UNIX 1255s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1255s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1255s # #else 1255s # g_assert_not_reached (); 1255s # #endif 1255s # } 1255s # g_variant_iter_init (&iter, parameters); 1255s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1255s # { 1255s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1255s # if (arg_info->use_gvariant) 1255s # { 1255s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1255s # g_value_set_variant (¶mv[n], child); 1255s # n++; 1255s # } 1255s # else 1255s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1255s # g_variant_unref (child); 1255s # } 1255s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1255s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1255s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1255s # if (!g_value_get_boolean (&return_value)) 1255s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1255s # g_value_unset (&return_value); 1255s # for (n = 0; n < num_params + num_extra; n++) 1255s # g_value_unset (¶mv[n]); 1255s # g_free (paramv); 1255s # } 1255s # 1255s # static GVariant * 1255s # _org_project_callable_iface_skeleton_handle_get_property ( 1255s # GDBusConnection *connection G_GNUC_UNUSED, 1255s # const gchar *sender G_GNUC_UNUSED, 1255s # const gchar *object_path G_GNUC_UNUSED, 1255s # const gchar *interface_name G_GNUC_UNUSED, 1255s # const gchar *property_name, 1255s # GError **error, 1255s # gpointer user_data) 1255s # { 1255s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1255s # GValue value = G_VALUE_INIT; 1255s # GParamSpec *pspec; 1255s # _ExtendedGDBusPropertyInfo *info; 1255s # GVariant *ret; 1255s # ret = NULL; 1255s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1255s # g_assert (info != NULL); 1255s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1255s # if (pspec == NULL) 1255s # { 1255s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1255s # } 1255s # else 1255s # { 1255s # g_value_init (&value, pspec->value_type); 1255s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1255s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1255s # g_value_unset (&value); 1255s # } 1255s # return ret; 1255s # } 1255s # 1255s # static gboolean 1255s # _org_project_callable_iface_skeleton_handle_set_property ( 1255s # GDBusConnection *connection G_GNUC_UNUSED, 1255s # const gchar *sender G_GNUC_UNUSED, 1255s # const gchar *object_path G_GNUC_UNUSED, 1255s # const gchar *interface_name G_GNUC_UNUSED, 1255s # const gchar *property_name, 1255s # GVariant *variant, 1255s # GError **error, 1255s # gpointer user_data) 1255s # { 1255s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1255s # GValue value = G_VALUE_INIT; 1255s # GParamSpec *pspec; 1255s # _ExtendedGDBusPropertyInfo *info; 1255s # gboolean ret; 1255s # ret = FALSE; 1255s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1255s # g_assert (info != NULL); 1255s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1255s # if (pspec == NULL) 1255s # { 1255s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1255s # } 1255s # else 1255s # { 1255s # if (info->use_gvariant) 1255s # g_value_set_variant (&value, variant); 1255s # else 1255s # g_dbus_gvariant_to_gvalue (variant, &value); 1255s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1255s # g_value_unset (&value); 1255s # ret = TRUE; 1255s # } 1255s # return ret; 1255s # } 1255s # 1255s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1255s # { 1255s # _org_project_callable_iface_skeleton_handle_method_call, 1255s # _org_project_callable_iface_skeleton_handle_get_property, 1255s # _org_project_callable_iface_skeleton_handle_set_property, 1255s # {NULL} 1255s # }; 1255s # 1255s # static GDBusInterfaceInfo * 1255s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1255s # { 1255s # return org_project_callable_iface_interface_info (); 1255s # } 1255s # 1255s # static GDBusInterfaceVTable * 1255s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1255s # { 1255s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1255s # } 1255s # 1255s # static GVariant * 1255s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1255s # { 1255s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1255s # 1255s # GVariantBuilder builder; 1255s # guint n; 1255s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1255s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1255s # #else 1255s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1255s # #endif 1255s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1255s # goto out; 1255s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1255s # { 1255s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1255s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1255s # { 1255s # GVariant *value; 1255s # 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); 1255s # if (value != NULL) 1255s # { 1255s # g_variant_take_ref (value); 1255s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1255s # g_variant_unref (value); 1255s # } 1255s # } 1255s # } 1255s # out: 1255s # return g_variant_builder_end (&builder); 1255s # } 1255s # 1255s # static void 1255s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1255s # { 1255s # } 1255s # 1255s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1255s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1255s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1255s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1255s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1255s # 1255s # #else 1255s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1255s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1255s # 1255s # #endif 1255s # static void 1255s # org_project_callable_iface_skeleton_finalize (GObject *object) 1255s # { 1255s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1255s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1255s # if (skeleton->priv->changed_properties_idle_source != NULL) 1255s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1255s # g_main_context_unref (skeleton->priv->context); 1255s # g_mutex_clear (&skeleton->priv->lock); 1255s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1255s # } 1255s # 1255s # static void 1255s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1255s # { 1255s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1255s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1255s # #else 1255s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1255s # #endif 1255s # 1255s # g_mutex_init (&skeleton->priv->lock); 1255s # skeleton->priv->context = g_main_context_ref_thread_default (); 1255s # } 1255s # 1255s # static void 1255s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1255s # { 1255s # GObjectClass *gobject_class; 1255s # GDBusInterfaceSkeletonClass *skeleton_class; 1255s # 1255s # gobject_class = G_OBJECT_CLASS (klass); 1255s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1255s # 1255s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1255s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1255s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1255s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1255s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1255s # 1255s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1255s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1255s # #endif 1255s # } 1255s # 1255s # static void 1255s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1255s # { 1255s # } 1255s # 1255s # /** 1255s # * org_project_callable_iface_skeleton_new: 1255s # * 1255s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1255s # * 1255s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1255s # */ 1255s # OrgProjectCallableIface * 1255s # org_project_callable_iface_skeleton_new (void) 1255s # { 1255s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1255s # } 1255s # 1255s # /* ------------------------------------------------------------------------ 1255s # * Code for interface org.project.OtherCallableIface 1255s # * ------------------------------------------------------------------------ 1255s # */ 1255s # 1255s # /** 1255s # * SECTION:OrgProjectOtherCallableIface 1255s # * @title: OrgProjectOtherCallableIface 1255s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1255s # * 1255s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1255s # */ 1255s # 1255s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1255s # 1255s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 1255s # { 1255s # { 1255s # -1, 1255s # (gchar *) "SimpleMethod", 1255s # NULL, 1255s # NULL, 1255s # NULL 1255s # }, 1255s # "handle-simple-method", 1255s # FALSE 1255s # }; 1255s # 1255s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1255s # { 1255s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 1255s # NULL 1255s # }; 1255s # 1255s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1255s # { 1255s # { 1255s # -1, 1255s # (gchar *) "org.project.OtherCallableIface", 1255s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1255s # NULL, 1255s # NULL, 1255s # NULL 1255s # }, 1255s # "org-project-other-callable-iface", 1255s # }; 1255s # 1255s # 1255s # /** 1255s # * org_project_other_callable_iface_interface_info: 1255s # * 1255s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1255s # * 1255s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1255s # */ 1255s # GDBusInterfaceInfo * 1255s # org_project_other_callable_iface_interface_info (void) 1255s # { 1255s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1255s # } 1255s # 1255s # /** 1255s # * org_project_other_callable_iface_override_properties: 1255s # * @klass: The class structure for a #GObject derived class. 1255s # * @property_id_begin: The property id to assign to the first overridden property. 1255s # * 1255s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1255s # * The properties are overridden in the order they are defined. 1255s # * 1255s # * Returns: The last property id. 1255s # */ 1255s # guint 1255s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1255s # { 1255s # return property_id_begin - 1; 1255s # } 1255s # 1255s # 1255s # inline static void 1255s # org_project_other_callable_iface_method_marshal_simple_method ( 1255s # GClosure *closure, 1255s # GValue *return_value, 1255s # unsigned int n_param_values, 1255s # const GValue *param_values, 1255s # void *invocation_hint, 1255s # void *marshal_data) 1255s # { 1255s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1255s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1255s # } 1255s # 1255s # 1255s # /** 1255s # * OrgProjectOtherCallableIface: 1255s # * 1255s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1255s # */ 1255s # 1255s # /** 1255s # * OrgProjectOtherCallableIfaceIface: 1255s # * @parent_iface: The parent interface. 1255s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 1255s # * 1255s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1255s # */ 1255s # 1255s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1255s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1255s # 1255s # static void 1255s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1255s # { 1255s # /* GObject signals for incoming D-Bus method calls: */ 1255s # /** 1255s # * OrgProjectOtherCallableIface::handle-simple-method: 1255s # * @object: A #OrgProjectOtherCallableIface. 1255s # * @invocation: A #GDBusMethodInvocation. 1255s # * 1255s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 1255s # * 1255s # * 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. 1255s # * 1255s # * 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. 1255s # */ 1255s # g_signal_new ("handle-simple-method", 1255s # G_TYPE_FROM_INTERFACE (iface), 1255s # G_SIGNAL_RUN_LAST, 1255s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 1255s # g_signal_accumulator_true_handled, 1255s # NULL, 1255s # org_project_other_callable_iface_method_marshal_simple_method, 1255s # G_TYPE_BOOLEAN, 1255s # 1, 1255s # G_TYPE_DBUS_METHOD_INVOCATION); 1255s # 1255s # } 1255s # 1255s # /** 1255s # * org_project_other_callable_iface_call_simple_method: 1255s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1255s # * @cancellable: (nullable): A #GCancellable or %NULL. 1255s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1255s # * @user_data: User data to pass to @callback. 1255s # * 1255s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 1255s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1255s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 1255s # * 1255s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 1255s # */ 1255s # void 1255s # org_project_other_callable_iface_call_simple_method ( 1255s # OrgProjectOtherCallableIface *proxy, 1255s # GCancellable *cancellable, 1255s # GAsyncReadyCallback callback, 1255s # gpointer user_data) 1255s # { 1255s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1255s # "SimpleMethod", 1255s # g_variant_new ("()"), 1255s # G_DBUS_CALL_FLAGS_NONE, 1255s # -1, 1255s # cancellable, 1255s # callback, 1255s # user_data); 1255s # } 1255s # 1255s # /** 1255s # * org_project_other_callable_iface_call_simple_method_finish: 1255s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1255s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 1255s # * @error: Return location for error or %NULL. 1255s # * 1255s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 1255s # * 1255s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1255s # */ 1255s # gboolean 1255s # org_project_other_callable_iface_call_simple_method_finish ( 1255s # OrgProjectOtherCallableIface *proxy, 1255s # GAsyncResult *res, 1255s # GError **error) 1255s # { 1255s # GVariant *_ret; 1255s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1255s # if (_ret == NULL) 1255s # goto _out; 1255s # g_variant_get (_ret, 1255s # "()"); 1255s # g_variant_unref (_ret); 1255s # _out: 1255s # return _ret != NULL; 1255s # } 1255s # 1255s # /** 1255s # * org_project_other_callable_iface_call_simple_method_sync: 1255s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1255s # * @cancellable: (nullable): A #GCancellable or %NULL. 1255s # * @error: Return location for error or %NULL. 1255s # * 1255s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1255s # * 1255s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 1255s # * 1255s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1255s # */ 1255s # gboolean 1255s # org_project_other_callable_iface_call_simple_method_sync ( 1255s # OrgProjectOtherCallableIface *proxy, 1255s # GCancellable *cancellable, 1255s # GError **error) 1255s # { 1255s # GVariant *_ret; 1255s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1255s # "SimpleMethod", 1255s # g_variant_new ("()"), 1255s # G_DBUS_CALL_FLAGS_NONE, 1255s # -1, 1255s # cancellable, 1255s # error); 1255s # if (_ret == NULL) 1255s # goto _out; 1255s # g_variant_get (_ret, 1255s # "()"); 1255s # g_variant_unref (_ret); 1255s # _out: 1255s # return _ret != NULL; 1255s # } 1255s # 1255s # /** 1255s # * org_project_other_callable_iface_complete_simple_method: 1255s # * @object: A #OrgProjectOtherCallableIface. 1255s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1255s # * 1255s # * 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. 1255s # * 1255s # * This method will free @invocation, you cannot use it afterwards. 1255s # */ 1255s # void 1255s # org_project_other_callable_iface_complete_simple_method ( 1255s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1255s # GDBusMethodInvocation *invocation) 1255s # { 1255s # g_dbus_method_invocation_return_value (invocation, 1255s # g_variant_new ("()")); 1255s # } 1255s # 1255s # /* ------------------------------------------------------------------------ */ 1255s # 1255s # /** 1255s # * OrgProjectOtherCallableIfaceProxy: 1255s # * 1255s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1255s # */ 1255s # 1255s # /** 1255s # * OrgProjectOtherCallableIfaceProxyClass: 1255s # * @parent_class: The parent class. 1255s # * 1255s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1255s # */ 1255s # 1255s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1255s # { 1255s # GData *qdata; 1255s # }; 1255s # 1255s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1255s # 1255s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1255s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1255s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1255s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1255s # 1255s # #else 1255s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1255s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1255s # 1255s # #endif 1255s # static void 1255s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1255s # { 1255s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1255s # g_datalist_clear (&proxy->priv->qdata); 1255s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1255s # } 1255s # 1255s # static void 1255s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1255s # guint prop_id G_GNUC_UNUSED, 1255s # GValue *value G_GNUC_UNUSED, 1255s # GParamSpec *pspec G_GNUC_UNUSED) 1255s # { 1255s # } 1255s # 1255s # static void 1255s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1255s # guint prop_id G_GNUC_UNUSED, 1255s # const GValue *value G_GNUC_UNUSED, 1255s # GParamSpec *pspec G_GNUC_UNUSED) 1255s # { 1255s # } 1255s # 1255s # static void 1255s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1255s # const gchar *sender_name G_GNUC_UNUSED, 1255s # const gchar *signal_name, 1255s # GVariant *parameters) 1255s # { 1255s # _ExtendedGDBusSignalInfo *info; 1255s # GVariantIter iter; 1255s # GVariant *child; 1255s # GValue *paramv; 1255s # gsize num_params; 1255s # gsize n; 1255s # guint signal_id; 1255s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1255s # if (info == NULL) 1255s # return; 1255s # num_params = g_variant_n_children (parameters); 1255s # paramv = g_new0 (GValue, num_params + 1); 1255s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1255s # g_value_set_object (¶mv[0], proxy); 1255s # g_variant_iter_init (&iter, parameters); 1255s # n = 1; 1255s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1255s # { 1255s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1255s # if (arg_info->use_gvariant) 1255s # { 1255s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1255s # g_value_set_variant (¶mv[n], child); 1255s # n++; 1255s # } 1255s # else 1255s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1255s # g_variant_unref (child); 1255s # } 1255s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1255s # g_signal_emitv (paramv, signal_id, 0, NULL); 1255s # for (n = 0; n < num_params + 1; n++) 1255s # g_value_unset (¶mv[n]); 1255s # g_free (paramv); 1255s # } 1255s # 1255s # static void 1255s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1255s # GVariant *changed_properties, 1255s # const gchar *const *invalidated_properties) 1255s # { 1255s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1255s # guint n; 1255s # const gchar *key; 1255s # GVariantIter *iter; 1255s # _ExtendedGDBusPropertyInfo *info; 1255s # g_variant_get (changed_properties, "a{sv}", &iter); 1255s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1255s # { 1255s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1255s # g_datalist_remove_data (&proxy->priv->qdata, key); 1255s # if (info != NULL) 1255s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1255s # } 1255s # g_variant_iter_free (iter); 1255s # for (n = 0; invalidated_properties[n] != NULL; n++) 1255s # { 1255s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1255s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1255s # if (info != NULL) 1255s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1255s # } 1255s # } 1255s # 1255s # static void 1255s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1255s # { 1255s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1255s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1255s # #else 1255s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1255s # #endif 1255s # 1255s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1255s # } 1255s # 1255s # static void 1255s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1255s # { 1255s # GObjectClass *gobject_class; 1255s # GDBusProxyClass *proxy_class; 1255s # 1255s # gobject_class = G_OBJECT_CLASS (klass); 1255s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1255s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1255s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1255s # 1255s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1255s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1255s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1255s # 1255s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1255s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1255s # #endif 1255s # } 1255s # 1255s # static void 1255s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1255s # { 1255s # } 1255s # 1255s # /** 1255s # * org_project_other_callable_iface_proxy_new: 1255s # * @connection: A #GDBusConnection. 1255s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1255s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1255s # * @object_path: An object path. 1255s # * @cancellable: (nullable): A #GCancellable or %NULL. 1255s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1255s # * @user_data: User data to pass to @callback. 1255s # * 1255s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1255s # * 1255s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1255s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1255s # * 1255s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1255s # */ 1255s # void 1255s # org_project_other_callable_iface_proxy_new ( 1255s # GDBusConnection *connection, 1255s # GDBusProxyFlags flags, 1255s # const gchar *name, 1255s # const gchar *object_path, 1255s # GCancellable *cancellable, 1255s # GAsyncReadyCallback callback, 1255s # gpointer user_data) 1255s # { 1255s # 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); 1255s # } 1255s # 1255s # /** 1255s # * org_project_other_callable_iface_proxy_new_finish: 1255s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1255s # * @error: Return location for error or %NULL 1255s # * 1255s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1255s # * 1255s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1255s # */ 1255s # OrgProjectOtherCallableIface * 1255s # org_project_other_callable_iface_proxy_new_finish ( 1255s # GAsyncResult *res, 1255s # GError **error) 1255s # { 1255s # GObject *ret; 1255s # GObject *source_object; 1255s # source_object = g_async_result_get_source_object (res); 1255s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1255s # g_object_unref (source_object); 1255s # if (ret != NULL) 1255s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1255s # else 1255s # return NULL; 1255s # } 1255s # 1255s # /** 1255s # * org_project_other_callable_iface_proxy_new_sync: 1255s # * @connection: A #GDBusConnection. 1255s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1255s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1255s # * @object_path: An object path. 1255s # * @cancellable: (nullable): A #GCancellable or %NULL. 1255s # * @error: Return location for error or %NULL 1255s # * 1255s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1255s # * 1255s # * The calling thread is blocked until a reply is received. 1255s # * 1255s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1255s # * 1255s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1255s # */ 1255s # OrgProjectOtherCallableIface * 1255s # org_project_other_callable_iface_proxy_new_sync ( 1255s # GDBusConnection *connection, 1255s # GDBusProxyFlags flags, 1255s # const gchar *name, 1255s # const gchar *object_path, 1255s # GCancellable *cancellable, 1255s # GError **error) 1255s # { 1255s # GInitable *ret; 1255s # 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); 1255s # if (ret != NULL) 1255s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1255s # else 1255s # return NULL; 1255s # } 1255s # 1255s # 1255s # /** 1255s # * org_project_other_callable_iface_proxy_new_for_bus: 1255s # * @bus_type: A #GBusType. 1255s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1255s # * @name: A bus name (well-known or unique). 1255s # * @object_path: An object path. 1255s # * @cancellable: (nullable): A #GCancellable or %NULL. 1255s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1255s # * @user_data: User data to pass to @callback. 1255s # * 1255s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1255s # * 1255s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1255s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1255s # * 1255s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1255s # */ 1255s # void 1255s # org_project_other_callable_iface_proxy_new_for_bus ( 1255s # GBusType bus_type, 1255s # GDBusProxyFlags flags, 1255s # const gchar *name, 1255s # const gchar *object_path, 1255s # GCancellable *cancellable, 1255s # GAsyncReadyCallback callback, 1255s # gpointer user_data) 1255s # { 1255s # 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); 1255s # } 1255s # 1255s # /** 1255s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1255s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1255s # * @error: Return location for error or %NULL 1255s # * 1255s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1255s # * 1255s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1255s # */ 1255s # OrgProjectOtherCallableIface * 1255s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1255s # GAsyncResult *res, 1255s # GError **error) 1255s # { 1255s # GObject *ret; 1255s # GObject *source_object; 1255s # source_object = g_async_result_get_source_object (res); 1255s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1255s # g_object_unref (source_object); 1255s # if (ret != NULL) 1255s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1255s # else 1255s # return NULL; 1255s # } 1255s # 1255s # /** 1255s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1255s # * @bus_type: A #GBusType. 1255s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1255s # * @name: A bus name (well-known or unique). 1255s # * @object_path: An object path. 1255s # * @cancellable: (nullable): A #GCancellable or %NULL. 1255s # * @error: Return location for error or %NULL 1255s # * 1255s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1255s # * 1255s # * The calling thread is blocked until a reply is received. 1255s # * 1255s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1255s # * 1255s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1255s # */ 1255s # OrgProjectOtherCallableIface * 1255s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1255s # GBusType bus_type, 1255s # GDBusProxyFlags flags, 1255s # const gchar *name, 1255s # const gchar *object_path, 1255s # GCancellable *cancellable, 1255s # GError **error) 1255s # { 1255s # GInitable *ret; 1255s # 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); 1255s # if (ret != NULL) 1255s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1255s # else 1255s # return NULL; 1255s # } 1255s # 1255s # 1255s # /* ------------------------------------------------------------------------ */ 1255s # 1255s # /** 1255s # * OrgProjectOtherCallableIfaceSkeleton: 1255s # * 1255s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1255s # */ 1255s # 1255s # /** 1255s # * OrgProjectOtherCallableIfaceSkeletonClass: 1255s # * @parent_class: The parent class. 1255s # * 1255s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1255s # */ 1255s # 1255s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1255s # { 1255s # GValue *properties; 1255s # GList *changed_properties; 1255s # GSource *changed_properties_idle_source; 1255s # GMainContext *context; 1255s # GMutex lock; 1255s # }; 1255s # 1255s # static void 1255s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1255s # GDBusConnection *connection G_GNUC_UNUSED, 1255s # const gchar *sender G_GNUC_UNUSED, 1255s # const gchar *object_path G_GNUC_UNUSED, 1255s # const gchar *interface_name, 1255s # const gchar *method_name, 1255s # GVariant *parameters, 1255s # GDBusMethodInvocation *invocation, 1255s # gpointer user_data) 1255s # { 1255s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1255s # _ExtendedGDBusMethodInfo *info; 1255s # GVariantIter iter; 1255s # GVariant *child; 1255s # GValue *paramv; 1255s # gsize num_params; 1255s # guint num_extra; 1255s # gsize n; 1255s # guint signal_id; 1255s # GValue return_value = G_VALUE_INIT; 1255s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1255s # g_assert (info != NULL); 1255s # num_params = g_variant_n_children (parameters); 1255s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1255s # n = 0; 1255s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1255s # g_value_set_object (¶mv[n++], skeleton); 1255s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1255s # g_value_set_object (¶mv[n++], invocation); 1255s # if (info->pass_fdlist) 1255s # { 1255s # #ifdef G_OS_UNIX 1255s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1255s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1255s # #else 1255s # g_assert_not_reached (); 1255s # #endif 1255s # } 1255s # g_variant_iter_init (&iter, parameters); 1255s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1255s # { 1255s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1255s # if (arg_info->use_gvariant) 1255s # { 1255s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1255s # g_value_set_variant (¶mv[n], child); 1255s # n++; 1255s # } 1255s # else 1255s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1255s # g_variant_unref (child); 1255s # } 1255s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1255s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1255s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1255s # if (!g_value_get_boolean (&return_value)) 1255s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1255s # g_value_unset (&return_value); 1255s # for (n = 0; n < num_params + num_extra; n++) 1255s # g_value_unset (¶mv[n]); 1255s # g_free (paramv); 1255s # } 1255s # 1255s # static GVariant * 1255s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1255s # GDBusConnection *connection G_GNUC_UNUSED, 1255s # const gchar *sender G_GNUC_UNUSED, 1255s # const gchar *object_path G_GNUC_UNUSED, 1255s # const gchar *interface_name G_GNUC_UNUSED, 1255s # const gchar *property_name, 1255s # GError **error, 1255s # gpointer user_data) 1255s # { 1255s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1255s # GValue value = G_VALUE_INIT; 1255s # GParamSpec *pspec; 1255s # _ExtendedGDBusPropertyInfo *info; 1255s # GVariant *ret; 1255s # ret = NULL; 1255s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1255s # g_assert (info != NULL); 1255s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1255s # if (pspec == NULL) 1255s # { 1255s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1255s # } 1255s # else 1255s # { 1255s # g_value_init (&value, pspec->value_type); 1255s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1255s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1255s # g_value_unset (&value); 1255s # } 1255s # return ret; 1255s # } 1255s # 1255s # static gboolean 1255s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1255s # GDBusConnection *connection G_GNUC_UNUSED, 1255s # const gchar *sender G_GNUC_UNUSED, 1255s # const gchar *object_path G_GNUC_UNUSED, 1255s # const gchar *interface_name G_GNUC_UNUSED, 1255s # const gchar *property_name, 1255s # GVariant *variant, 1255s # GError **error, 1255s # gpointer user_data) 1255s # { 1255s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1255s # GValue value = G_VALUE_INIT; 1255s # GParamSpec *pspec; 1255s # _ExtendedGDBusPropertyInfo *info; 1255s # gboolean ret; 1255s # ret = FALSE; 1255s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1255s # g_assert (info != NULL); 1255s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1255s # if (pspec == NULL) 1255s # { 1255s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1255s # } 1255s # else 1255s # { 1255s # if (info->use_gvariant) 1255s # g_value_set_variant (&value, variant); 1255s # else 1255s # g_dbus_gvariant_to_gvalue (variant, &value); 1255s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1255s # g_value_unset (&value); 1255s # ret = TRUE; 1255s # } 1255s # return ret; 1255s # } 1255s # 1255s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1255s # { 1255s # _org_project_other_callable_iface_skeleton_handle_method_call, 1255s # _org_project_other_callable_iface_skeleton_handle_get_property, 1255s # _org_project_other_callable_iface_skeleton_handle_set_property, 1255s # {NULL} 1255s # }; 1255s # 1255s # static GDBusInterfaceInfo * 1255s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1255s # { 1255s # return org_project_other_callable_iface_interface_info (); 1255s # } 1255s # 1255s # static GDBusInterfaceVTable * 1255s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1255s # { 1255s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1255s # } 1255s # 1255s # static GVariant * 1255s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1255s # { 1255s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1255s # 1255s # GVariantBuilder builder; 1255s # guint n; 1255s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1255s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1255s # #else 1255s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1255s # #endif 1255s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1255s # goto out; 1255s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1255s # { 1255s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1255s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1255s # { 1255s # GVariant *value; 1255s # 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); 1255s # if (value != NULL) 1255s # { 1255s # g_variant_take_ref (value); 1255s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1255s # g_variant_unref (value); 1255s # } 1255s # } 1255s # } 1255s # out: 1255s # return g_variant_builder_end (&builder); 1255s # } 1255s # 1255s # static void 1255s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1255s # { 1255s # } 1255s # 1255s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1255s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1255s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1255s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1255s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1255s # 1255s # #else 1255s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1255s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1255s # 1255s # #endif 1255s # static void 1255s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1255s # { 1255s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1255s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1255s # if (skeleton->priv->changed_properties_idle_source != NULL) 1255s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1255s # g_main_context_unref (skeleton->priv->context); 1255s # g_mutex_clear (&skeleton->priv->lock); 1255s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1255s # } 1255s # 1255s # static void 1255s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1255s # { 1255s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1255s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1255s # #else 1255s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1255s # #endif 1255s # 1255s # g_mutex_init (&skeleton->priv->lock); 1255s # skeleton->priv->context = g_main_context_ref_thread_default (); 1255s # } 1255s # 1255s # static void 1255s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1255s # { 1255s # GObjectClass *gobject_class; 1255s # GDBusInterfaceSkeletonClass *skeleton_class; 1255s # 1255s # gobject_class = G_OBJECT_CLASS (klass); 1255s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1255s # 1255s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1255s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1255s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1255s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1255s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1255s # 1255s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1255s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1255s # #endif 1255s # } 1255s # 1255s # static void 1255s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1255s # { 1255s # } 1255s # 1255s # /** 1255s # * org_project_other_callable_iface_skeleton_new: 1255s # * 1255s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1255s # * 1255s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1255s # */ 1255s # OrgProjectOtherCallableIface * 1255s # org_project_other_callable_iface_skeleton_new (void) 1255s # { 1255s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1255s # } 1255s # Error: 1256s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 1256s # gdbus-codegen: /usr/bin/gdbus-codegen 1256s # tmpdir: /tmp/tmpodm2yxho 1256s # /tmp/tmpodm2yxho/tmpfrrbsgl4.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpodm2yxho/tmpfrrbsgl4.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # gboolean arg_arg_b, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 3); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # g_marshal_value_peek_boolean (param_values + 2), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_b", 1256s # (gchar *) "b", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodB", 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-b", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * @arg_arg_b: Argument passed by remote caller. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-b", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_b, 1256s # G_TYPE_BOOLEAN, 1256s # 2, 1256s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_b: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_b: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_b ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # gboolean arg_arg_b, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodB", 1256s # g_variant_new ("(b)", 1256s # arg_arg_b), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_b_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_b_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_b_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_b: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_b_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # gboolean arg_arg_b, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodB", 1256s # g_variant_new ("(b)", 1256s # arg_arg_b), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_b: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_b ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("()")); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s # 1256s # /tmp/tmpodm2yxho/tmpclw9vpbd.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpodm2yxho/tmpclw9vpbd.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # guchar arg_arg_y, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 3); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # g_marshal_value_peek_uchar (param_values + 2), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_y", 1256s # (gchar *) "y", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodY", 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-y", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * @arg_arg_y: Argument passed by remote caller. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-y", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_y, 1256s # G_TYPE_BOOLEAN, 1256s # 2, 1256s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_y: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_y: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_y ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # guchar arg_arg_y, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodY", 1256s # g_variant_new ("(y)", 1256s # arg_arg_y), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_y_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_y_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_y_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_y: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_y_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # guchar arg_arg_y, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodY", 1256s # g_variant_new ("(y)", 1256s # arg_arg_y), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_y: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_y ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("()")); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s # 1256s # /tmp/tmpodm2yxho/tmpn2hgifrg.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpodm2yxho/tmpn2hgifrg.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # gint16 arg_arg_n, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 3); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # g_marshal_value_peek_int (param_values + 2), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_n", 1256s # (gchar *) "n", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodN", 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-n", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * @arg_arg_n: Argument passed by remote caller. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-n", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_n, 1256s # G_TYPE_BOOLEAN, 1256s # 2, 1256s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_n: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_n: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_n ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # gint16 arg_arg_n, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodN", 1256s # g_variant_new ("(n)", 1256s # arg_arg_n), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_n_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_n_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_n_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_n: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_n_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # gint16 arg_arg_n, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodN", 1256s # g_variant_new ("(n)", 1256s # arg_arg_n), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_n: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_n ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("()")); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s # 1256s # /tmp/tmpodm2yxho/tmp9qonqyu2.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpodm2yxho/tmp9qonqyu2.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # guint16 arg_arg_q, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 3); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # g_marshal_value_peek_uint (param_values + 2), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_q", 1256s # (gchar *) "q", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodQ", 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-q", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * @arg_arg_q: Argument passed by remote caller. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-q", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_q, 1256s # G_TYPE_BOOLEAN, 1256s # 2, 1256s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_q: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_q: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_q ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # guint16 arg_arg_q, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodQ", 1256s # g_variant_new ("(q)", 1256s # arg_arg_q), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_q_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_q_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_q_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_q: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_q_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # guint16 arg_arg_q, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodQ", 1256s # g_variant_new ("(q)", 1256s # arg_arg_q), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_q: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_q ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("()")); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s # 1256s # /tmp/tmpodm2yxho/tmpkij8xjb4.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpodm2yxho/tmpkij8xjb4.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # gint arg_arg_i, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 3); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # g_marshal_value_peek_int (param_values + 2), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_i", 1256s # (gchar *) "i", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodI", 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-i", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * @arg_arg_i: Argument passed by remote caller. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-i", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_i, 1256s # G_TYPE_BOOLEAN, 1256s # 2, 1256s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_i: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_i: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_i ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # gint arg_arg_i, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodI", 1256s # g_variant_new ("(i)", 1256s # arg_arg_i), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_i_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_i_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_i_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_i: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_i_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # gint arg_arg_i, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodI", 1256s # g_variant_new ("(i)", 1256s # arg_arg_i), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_i: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_i ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("()")); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s # 1256s # /tmp/tmpodm2yxho/tmpw8bkww67.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpodm2yxho/tmpw8bkww67.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # guint arg_arg_u, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 3); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # g_marshal_value_peek_uint (param_values + 2), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_u", 1256s # (gchar *) "u", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodU", 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-u", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * @arg_arg_u: Argument passed by remote caller. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-u", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_u, 1256s # G_TYPE_BOOLEAN, 1256s # 2, 1256s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_u: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_u: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_u ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # guint arg_arg_u, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodU", 1256s # g_variant_new ("(u)", 1256s # arg_arg_u), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_u_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_u_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_u_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_u: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_u_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # guint arg_arg_u, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodU", 1256s # g_variant_new ("(u)", 1256s # arg_arg_u), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_u: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_u ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("()")); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s # 1256s # /tmp/tmpodm2yxho/tmpcz3omztx.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpodm2yxho/tmpcz3omztx.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # gint64 arg_arg_x, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 3); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # g_marshal_value_peek_int64 (param_values + 2), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_x", 1256s # (gchar *) "x", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodX", 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-x", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * @arg_arg_x: Argument passed by remote caller. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-x", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_x, 1256s # G_TYPE_BOOLEAN, 1256s # 2, 1256s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_x: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_x: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_x ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # gint64 arg_arg_x, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodX", 1256s # g_variant_new ("(x)", 1256s # arg_arg_x), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_x_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_x_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_x_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_x: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_x_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # gint64 arg_arg_x, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodX", 1256s # g_variant_new ("(x)", 1256s # arg_arg_x), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_x: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_x ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("()")); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s # 1256s # /tmp/tmpodm2yxho/tmp_h9easvl.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpodm2yxho/tmp_h9easvl.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # guint64 arg_arg_t, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 3); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # g_marshal_value_peek_uint64 (param_values + 2), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_t", 1256s # (gchar *) "t", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodT", 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-t", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * @arg_arg_t: Argument passed by remote caller. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-t", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_t, 1256s # G_TYPE_BOOLEAN, 1256s # 2, 1256s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_t: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_t: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_t ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # guint64 arg_arg_t, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodT", 1256s # g_variant_new ("(t)", 1256s # arg_arg_t), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_t_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_t_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_t_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_t: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_t_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # guint64 arg_arg_t, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodT", 1256s # g_variant_new ("(t)", 1256s # arg_arg_t), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_t: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_t ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("()")); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s # 1256s # /tmp/tmpodm2yxho/tmpwictaqdq.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpodm2yxho/tmpwictaqdq.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # gdouble arg_arg_d, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 3); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # g_marshal_value_peek_double (param_values + 2), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_d", 1256s # (gchar *) "d", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodD", 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-d", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * @arg_arg_d: Argument passed by remote caller. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-d", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_d, 1256s # G_TYPE_BOOLEAN, 1256s # 2, 1256s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_d: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_d: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_d ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # gdouble arg_arg_d, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodD", 1256s # g_variant_new ("(d)", 1256s # arg_arg_d), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_d_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_d_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_d_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_d: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_d_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # gdouble arg_arg_d, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodD", 1256s # g_variant_new ("(d)", 1256s # arg_arg_d), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_d: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_d ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("()")); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s # 1256s # /tmp/tmpodm2yxho/tmpfpzp12c7.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpodm2yxho/tmpfpzp12c7.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # const gchar *arg_arg_s, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 3); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # g_marshal_value_peek_string (param_values + 2), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_s", 1256s # (gchar *) "s", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodS", 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-s", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * @arg_arg_s: Argument passed by remote caller. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-s", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_s, 1256s # G_TYPE_BOOLEAN, 1256s # 2, 1256s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_s: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_s: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_s ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # const gchar *arg_arg_s, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodS", 1256s # g_variant_new ("(s)", 1256s # arg_arg_s), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_s_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_s_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_s_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_s: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_s_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # const gchar *arg_arg_s, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodS", 1256s # g_variant_new ("(s)", 1256s # arg_arg_s), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_s: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_s ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("()")); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s # 1256s # /tmp/tmpodm2yxho/tmpjgj0pmm9.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpodm2yxho/tmpjgj0pmm9.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # const gchar *arg_arg_o, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 3); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # g_marshal_value_peek_string (param_values + 2), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_o", 1256s # (gchar *) "o", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodO", 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-o", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * @arg_arg_o: Argument passed by remote caller. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-o", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_o, 1256s # G_TYPE_BOOLEAN, 1256s # 2, 1256s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_o: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_o: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_o ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # const gchar *arg_arg_o, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodO", 1256s # g_variant_new ("(o)", 1256s # arg_arg_o), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_o_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_o_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_o_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_o: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_o_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # const gchar *arg_arg_o, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodO", 1256s # g_variant_new ("(o)", 1256s # arg_arg_o), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_o: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_o ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("()")); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s # 1256s # /tmp/tmpodm2yxho/tmpq5jg7ewp.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpodm2yxho/tmpq5jg7ewp.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # const gchar *arg_arg_g, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 3); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # g_marshal_value_peek_string (param_values + 2), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_g", 1256s # (gchar *) "g", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodG", 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-g", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * @arg_arg_g: Argument passed by remote caller. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-g", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_g, 1256s # G_TYPE_BOOLEAN, 1256s # 2, 1256s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_g: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_g: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_g ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # const gchar *arg_arg_g, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodG", 1256s # g_variant_new ("(g)", 1256s # arg_arg_g), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_g_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_g_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_g_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_g: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_g_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # const gchar *arg_arg_g, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodG", 1256s # g_variant_new ("(g)", 1256s # arg_arg_g), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_g: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_g ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("()")); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s # 1256s # /tmp/tmpodm2yxho/tmpih5okuo3.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpodm2yxho/tmpih5okuo3.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # GVariant *arg_arg_h, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 3); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # g_marshal_value_peek_variant (param_values + 2), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_h", 1256s # (gchar *) "h", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodH", 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-h", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * @arg_arg_h: Argument passed by remote caller. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-h", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_h, 1256s # G_TYPE_BOOLEAN, 1256s # 2, 1256s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_h: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_h: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_h ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GVariant *arg_arg_h, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodH", 1256s # g_variant_new ("(@h)", 1256s # arg_arg_h), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_h_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_h_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_h_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_h: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_h_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GVariant *arg_arg_h, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodH", 1256s # g_variant_new ("(@h)", 1256s # arg_arg_h), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_h: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_h ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("()")); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s # 1256s # /tmp/tmpodm2yxho/tmpo91xefm6.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpodm2yxho/tmpo91xefm6.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # const gchar *arg_arg_ay, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 3); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # g_marshal_value_peek_string (param_values + 2), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_ay", 1256s # (gchar *) "ay", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodAy", 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-ay", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * @arg_arg_ay: Argument passed by remote caller. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-ay", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1256s # G_TYPE_BOOLEAN, 1256s # 2, 1256s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_ay: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_ay: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_ay ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # const gchar *arg_arg_ay, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodAy", 1256s # g_variant_new ("(^ay)", 1256s # arg_arg_ay), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_ay: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # const gchar *arg_arg_ay, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodAy", 1256s # g_variant_new ("(^ay)", 1256s # arg_arg_ay), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_ay: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_ay ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("()")); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s # 1256s # /tmp/tmpodm2yxho/tmpjwxxqo7w.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpodm2yxho/tmpjwxxqo7w.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # const gchar *const *arg_arg_as, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 3); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # g_marshal_value_peek_boxed (param_values + 2), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_as", 1256s # (gchar *) "as", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodAs", 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-as", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * @arg_arg_as: Argument passed by remote caller. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-as", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_as, 1256s # G_TYPE_BOOLEAN, 1256s # 2, 1256s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_as: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_as: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_as ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # const gchar *const *arg_arg_as, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodAs", 1256s # g_variant_new ("(^as)", 1256s # arg_arg_as), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_as_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_as_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_as_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_as: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_as_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # const gchar *const *arg_arg_as, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodAs", 1256s # g_variant_new ("(^as)", 1256s # arg_arg_as), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_as: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_as ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("()")); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s # 1256s # /tmp/tmpodm2yxho/tmp6l87m66e.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpodm2yxho/tmp6l87m66e.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # const gchar *const *arg_arg_ao, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 3); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # g_marshal_value_peek_boxed (param_values + 2), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_ao", 1256s # (gchar *) "ao", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodAo", 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-ao", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * @arg_arg_ao: Argument passed by remote caller. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-ao", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1256s # G_TYPE_BOOLEAN, 1256s # 2, 1256s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_ao: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_ao: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_ao ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # const gchar *const *arg_arg_ao, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodAo", 1256s # g_variant_new ("(^ao)", 1256s # arg_arg_ao), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_ao: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # const gchar *const *arg_arg_ao, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodAo", 1256s # g_variant_new ("(^ao)", 1256s # arg_arg_ao), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_ao: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_ao ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("()")); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s # 1256s # /tmp/tmpodm2yxho/tmp2u_cku8j.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpodm2yxho/tmp2u_cku8j.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # const gchar *const *arg_arg_aay, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 3); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # g_marshal_value_peek_boxed (param_values + 2), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_aay", 1256s # (gchar *) "aay", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodAay", 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-aay", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * @arg_arg_aay: Argument passed by remote caller. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-aay", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1256s # G_TYPE_BOOLEAN, 1256s # 2, 1256s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_aay: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_aay: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_aay ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # const gchar *const *arg_arg_aay, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodAay", 1256s # g_variant_new ("(^aay)", 1256s # arg_arg_aay), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_aay: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # const gchar *const *arg_arg_aay, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodAay", 1256s # g_variant_new ("(^aay)", 1256s # arg_arg_aay), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_aay: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_aay ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("()")); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s # 1256s # /tmp/tmpodm2yxho/tmpk3iz_e46.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpodm2yxho/tmpk3iz_e46.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # GVariant *arg_arg_asv, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 3); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # g_marshal_value_peek_variant (param_values + 2), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_asv", 1256s # (gchar *) "a{sv}", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodAsv", 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-asv", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * @arg_arg_asv: Argument passed by remote caller. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-asv", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1256s # G_TYPE_BOOLEAN, 1256s # 2, 1256s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_asv: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_asv: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_asv ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GVariant *arg_arg_asv, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodAsv", 1256s # g_variant_new ("(@a{sv})", 1256s # arg_arg_asv), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @arg_arg_asv: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GVariant *arg_arg_asv, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodAsv", 1256s # g_variant_new ("(@a{sv})", 1256s # arg_arg_asv), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_asv: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_asv ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("()")); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 1256s # gdbus-codegen: /usr/bin/gdbus-codegen 1256s # tmpdir: /tmp/tmpscwfqogh 1256s # /tmp/tmpscwfqogh/tmphv3s9tq7.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpscwfqogh/tmphv3s9tq7.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 2); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_b", 1256s # (gchar *) "b", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodB", 1256s # NULL, 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-b", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_b ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-b", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_b, 1256s # G_TYPE_BOOLEAN, 1256s # 1, 1256s # G_TYPE_DBUS_METHOD_INVOCATION); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_b: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_b ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodB", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_b_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_b_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # gboolean *out_arg_b, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(b)", 1256s # out_arg_b); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_b_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_b_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # gboolean *out_arg_b, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodB", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(b)", 1256s # out_arg_b); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_b: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * @arg_b: Parameter to return. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_b ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation, 1256s # gboolean arg_b) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("(b)", 1256s # arg_b)); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s # 1256s # /tmp/tmpscwfqogh/tmpoqcq1ro3.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpscwfqogh/tmpoqcq1ro3.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 2); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_y", 1256s # (gchar *) "y", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodY", 1256s # NULL, 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-y", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_y ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-y", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_y, 1256s # G_TYPE_BOOLEAN, 1256s # 1, 1256s # G_TYPE_DBUS_METHOD_INVOCATION); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_y: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_y ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodY", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_y_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_y_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # guchar *out_arg_y, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(y)", 1256s # out_arg_y); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_y_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_y_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # guchar *out_arg_y, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodY", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(y)", 1256s # out_arg_y); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_y: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * @arg_y: Parameter to return. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_y ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation, 1256s # guchar arg_y) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("(y)", 1256s # arg_y)); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s # 1256s # /tmp/tmpscwfqogh/tmpywvcr_ab.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpscwfqogh/tmpywvcr_ab.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 2); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_n", 1256s # (gchar *) "n", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodN", 1256s # NULL, 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-n", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_n ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-n", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_n, 1256s # G_TYPE_BOOLEAN, 1256s # 1, 1256s # G_TYPE_DBUS_METHOD_INVOCATION); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_n: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_n ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodN", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_n_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_n_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # gint16 *out_arg_n, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(n)", 1256s # out_arg_n); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_n_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_n_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # gint16 *out_arg_n, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodN", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(n)", 1256s # out_arg_n); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_n: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * @arg_n: Parameter to return. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_n ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation, 1256s # gint16 arg_n) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("(n)", 1256s # arg_n)); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s # 1256s # /tmp/tmpscwfqogh/tmpqdz82uxl.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpscwfqogh/tmpqdz82uxl.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 2); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_q", 1256s # (gchar *) "q", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodQ", 1256s # NULL, 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-q", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_q ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-q", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_q, 1256s # G_TYPE_BOOLEAN, 1256s # 1, 1256s # G_TYPE_DBUS_METHOD_INVOCATION); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_q: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_q ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodQ", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_q_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_q_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # guint16 *out_arg_q, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(q)", 1256s # out_arg_q); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_q_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_q_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # guint16 *out_arg_q, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodQ", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(q)", 1256s # out_arg_q); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_q: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * @arg_q: Parameter to return. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_q ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation, 1256s # guint16 arg_q) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("(q)", 1256s # arg_q)); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s # 1256s # /tmp/tmpscwfqogh/tmpjs3x2g92.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpscwfqogh/tmpjs3x2g92.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 2); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_i", 1256s # (gchar *) "i", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodI", 1256s # NULL, 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-i", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_i ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-i", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_i, 1256s # G_TYPE_BOOLEAN, 1256s # 1, 1256s # G_TYPE_DBUS_METHOD_INVOCATION); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_i: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_i ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodI", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_i_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_i_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # gint *out_arg_i, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(i)", 1256s # out_arg_i); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_i_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_i_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # gint *out_arg_i, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodI", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(i)", 1256s # out_arg_i); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_i: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * @arg_i: Parameter to return. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_i ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation, 1256s # gint arg_i) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("(i)", 1256s # arg_i)); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s # 1256s # /tmp/tmpscwfqogh/tmprfb2bf09.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpscwfqogh/tmprfb2bf09.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 2); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_u", 1256s # (gchar *) "u", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodU", 1256s # NULL, 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-u", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_u ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-u", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_u, 1256s # G_TYPE_BOOLEAN, 1256s # 1, 1256s # G_TYPE_DBUS_METHOD_INVOCATION); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_u: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_u ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodU", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_u_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_u_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # guint *out_arg_u, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(u)", 1256s # out_arg_u); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_u_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_u_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # guint *out_arg_u, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodU", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(u)", 1256s # out_arg_u); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_u: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * @arg_u: Parameter to return. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_u ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation, 1256s # guint arg_u) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("(u)", 1256s # arg_u)); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s # 1256s # /tmp/tmpscwfqogh/tmph4hh2mrw.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpscwfqogh/tmph4hh2mrw.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 2); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_x", 1256s # (gchar *) "x", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodX", 1256s # NULL, 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-x", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_x ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-x", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_x, 1256s # G_TYPE_BOOLEAN, 1256s # 1, 1256s # G_TYPE_DBUS_METHOD_INVOCATION); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_x: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_x ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodX", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_x_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_x_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # gint64 *out_arg_x, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(x)", 1256s # out_arg_x); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_x_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_x_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # gint64 *out_arg_x, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodX", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(x)", 1256s # out_arg_x); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_x: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * @arg_x: Parameter to return. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_x ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation, 1256s # gint64 arg_x) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("(x)", 1256s # arg_x)); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s # 1256s # /tmp/tmpscwfqogh/tmpvdfllvcf.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpscwfqogh/tmpvdfllvcf.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 2); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_t", 1256s # (gchar *) "t", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodT", 1256s # NULL, 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-t", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_t ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-t", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_t, 1256s # G_TYPE_BOOLEAN, 1256s # 1, 1256s # G_TYPE_DBUS_METHOD_INVOCATION); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_t: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_t ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodT", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_t_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_t_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # guint64 *out_arg_t, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(t)", 1256s # out_arg_t); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_t_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_t_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # guint64 *out_arg_t, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodT", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(t)", 1256s # out_arg_t); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_t: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * @arg_t: Parameter to return. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_t ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation, 1256s # guint64 arg_t) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("(t)", 1256s # arg_t)); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s # 1256s # /tmp/tmpscwfqogh/tmpg557tjfq.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpscwfqogh/tmpg557tjfq.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 2); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_d", 1256s # (gchar *) "d", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodD", 1256s # NULL, 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-d", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_d ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-d", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_d, 1256s # G_TYPE_BOOLEAN, 1256s # 1, 1256s # G_TYPE_DBUS_METHOD_INVOCATION); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_d: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_d ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodD", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_d_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_d_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # gdouble *out_arg_d, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(d)", 1256s # out_arg_d); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_d_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_d_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # gdouble *out_arg_d, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodD", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(d)", 1256s # out_arg_d); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_d: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * @arg_d: Parameter to return. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_d ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation, 1256s # gdouble arg_d) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("(d)", 1256s # arg_d)); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s # 1256s # /tmp/tmpscwfqogh/tmpalsjc91u.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpscwfqogh/tmpalsjc91u.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 2); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_s", 1256s # (gchar *) "s", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodS", 1256s # NULL, 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-s", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_s ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-s", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_s, 1256s # G_TYPE_BOOLEAN, 1256s # 1, 1256s # G_TYPE_DBUS_METHOD_INVOCATION); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_s: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_s ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodS", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_s_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_s_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # gchar **out_arg_s, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(s)", 1256s # out_arg_s); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_s_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_s_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # gchar **out_arg_s, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodS", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(s)", 1256s # out_arg_s); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_s: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * @arg_s: Parameter to return. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_s ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation, 1256s # const gchar *arg_s) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("(s)", 1256s # arg_s)); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s # 1256s # /tmp/tmpscwfqogh/tmp5m_q0cfn.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpscwfqogh/tmp5m_q0cfn.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 2); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_o", 1256s # (gchar *) "o", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodO", 1256s # NULL, 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-o", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_o ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-o", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_o, 1256s # G_TYPE_BOOLEAN, 1256s # 1, 1256s # G_TYPE_DBUS_METHOD_INVOCATION); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_o: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_o ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodO", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_o_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_o_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # gchar **out_arg_o, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(o)", 1256s # out_arg_o); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_o_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_o_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # gchar **out_arg_o, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodO", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(o)", 1256s # out_arg_o); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_o: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * @arg_o: Parameter to return. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_o ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation, 1256s # const gchar *arg_o) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("(o)", 1256s # arg_o)); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s # 1256s # /tmp/tmpscwfqogh/tmp6h0u83hr.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpscwfqogh/tmp6h0u83hr.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 2); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_g", 1256s # (gchar *) "g", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodG", 1256s # NULL, 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-g", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_g ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-g", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_g, 1256s # G_TYPE_BOOLEAN, 1256s # 1, 1256s # G_TYPE_DBUS_METHOD_INVOCATION); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_g: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_g ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodG", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_g_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_g_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # gchar **out_arg_g, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(g)", 1256s # out_arg_g); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_g_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_g_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # gchar **out_arg_g, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodG", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(g)", 1256s # out_arg_g); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_g: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * @arg_g: Parameter to return. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_g ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation, 1256s # const gchar *arg_g) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("(g)", 1256s # arg_g)); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s # 1256s # /tmp/tmpscwfqogh/tmpo24iu2u_.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpscwfqogh/tmpo24iu2u_.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 2); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_h", 1256s # (gchar *) "h", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodH", 1256s # NULL, 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-h", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_h ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-h", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_h, 1256s # G_TYPE_BOOLEAN, 1256s # 1, 1256s # G_TYPE_DBUS_METHOD_INVOCATION); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_h: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_h ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodH", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_h_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_h_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GVariant **out_arg_h, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(@h)", 1256s # out_arg_h); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_h_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_h_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GVariant **out_arg_h, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodH", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(@h)", 1256s # out_arg_h); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_h: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * @arg_h: Parameter to return. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_h ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation, 1256s # GVariant *arg_h) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("(@h)", 1256s # arg_h)); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s # 1256s # /tmp/tmpscwfqogh/tmpv2qycku8.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpscwfqogh/tmpv2qycku8.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 2); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_ay", 1256s # (gchar *) "ay", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodAy", 1256s # NULL, 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-ay", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-ay", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_ay, 1256s # G_TYPE_BOOLEAN, 1256s # 1, 1256s # G_TYPE_DBUS_METHOD_INVOCATION); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_ay: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_ay ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodAy", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_ay_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_ay_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # gchar **out_arg_ay, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(^ay)", 1256s # out_arg_ay); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_ay_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_ay_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # gchar **out_arg_ay, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodAy", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(^ay)", 1256s # out_arg_ay); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_ay: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * @arg_ay: Parameter to return. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_ay ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation, 1256s # const gchar *arg_ay) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("(^ay)", 1256s # arg_ay)); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s # 1256s # /tmp/tmpscwfqogh/tmp56uu8u7f.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpscwfqogh/tmp56uu8u7f.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 2); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_as", 1256s # (gchar *) "as", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodAs", 1256s # NULL, 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-as", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_as ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-as", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_as, 1256s # G_TYPE_BOOLEAN, 1256s # 1, 1256s # G_TYPE_DBUS_METHOD_INVOCATION); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_as: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_as ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodAs", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_as_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_as_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # gchar ***out_arg_as, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(^as)", 1256s # out_arg_as); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_as_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_as_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # gchar ***out_arg_as, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodAs", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(^as)", 1256s # out_arg_as); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_as: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * @arg_as: Parameter to return. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_as ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation, 1256s # const gchar *const *arg_as) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("(^as)", 1256s # arg_as)); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s # 1256s # /tmp/tmpscwfqogh/tmp1edxawmk.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpscwfqogh/tmp1edxawmk.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 2); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_ao", 1256s # (gchar *) "ao", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodAo", 1256s # NULL, 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-ao", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-ao", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_ao, 1256s # G_TYPE_BOOLEAN, 1256s # 1, 1256s # G_TYPE_DBUS_METHOD_INVOCATION); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_ao: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_ao ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodAo", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_ao_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_ao_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # gchar ***out_arg_ao, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(^ao)", 1256s # out_arg_ao); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_ao_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_ao_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # gchar ***out_arg_ao, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodAo", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(^ao)", 1256s # out_arg_ao); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_ao: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * @arg_ao: Parameter to return. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_ao ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation, 1256s # const gchar *const *arg_ao) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("(^ao)", 1256s # arg_ao)); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s # 1256s # /tmp/tmpscwfqogh/tmpo2kmpfpd.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpscwfqogh/tmpo2kmpfpd.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 2); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_aay", 1256s # (gchar *) "aay", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodAay", 1256s # NULL, 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-aay", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-aay", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_aay, 1256s # G_TYPE_BOOLEAN, 1256s # 1, 1256s # G_TYPE_DBUS_METHOD_INVOCATION); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_aay: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_aay ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodAay", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_aay_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_aay_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # gchar ***out_arg_aay, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(^aay)", 1256s # out_arg_aay); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_aay_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_aay_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # gchar ***out_arg_aay, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodAay", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(^aay)", 1256s # out_arg_aay); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_aay: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * @arg_aay: Parameter to return. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_aay ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation, 1256s # const gchar *const *arg_aay) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("(^aay)", 1256s # arg_aay)); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s # 1256s # /tmp/tmpscwfqogh/tmpmmpk6fyi.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpscwfqogh/tmpmmpk6fyi.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 2); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.UsefulInterface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectUsefulInterface 1256s # * @title: OrgProjectUsefulInterface 1256s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "arg_asv", 1256s # (gchar *) "a{sv}", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgMethodAsv", 1256s # NULL, 1256s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 1256s # NULL 1256s # }, 1256s # "handle-single-arg-method-asv", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 1256s # { 1256s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.UsefulInterface", 1256s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-useful-interface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_useful_interface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1256s # */ 1256s # 1256s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-single-arg-method-asv", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_useful_interface_method_marshal_single_arg_method_asv, 1256s # G_TYPE_BOOLEAN, 1256s # 1, 1256s # G_TYPE_DBUS_METHOD_INVOCATION); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_asv: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_useful_interface_call_single_arg_method_asv ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodAsv", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_asv_finish: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_asv_finish ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GVariant **out_arg_asv, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(@a{sv})", 1256s # out_arg_asv); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_call_single_arg_method_asv_sync: 1256s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 1256s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_useful_interface_call_single_arg_method_asv_sync ( 1256s # OrgProjectUsefulInterface *proxy, 1256s # GVariant **out_arg_asv, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SingleArgMethodAsv", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(@a{sv})", 1256s # out_arg_asv); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_complete_single_arg_method_asv: 1256s # * @object: A #OrgProjectUsefulInterface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * @arg_asv: Parameter to return. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_useful_interface_complete_single_arg_method_asv ( 1256s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation, 1256s # GVariant *arg_asv) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("(@a{sv})", 1256s # arg_asv)); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxy: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1256s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1256s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_useful_interface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeleton: 1256s # * 1256s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectUsefulInterfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_useful_interface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_useful_interface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_useful_interface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1256s # { 1256s # _org_project_useful_interface_skeleton_handle_method_call, 1256s # _org_project_useful_interface_skeleton_handle_get_property, 1256s # _org_project_useful_interface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_useful_interface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_useful_interface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_useful_interface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectUsefulInterface * 1256s # org_project_useful_interface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 1256s # gdbus-codegen: /usr/bin/gdbus-codegen 1256s # tmpdir: /tmp/tmph4z18yfj 1256s # /tmp/tmph4z18yfj/tmphe7xvbyg.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph4z18yfj/tmphe7xvbyg.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # gboolean arg_an_b, 1256s # guchar arg_an_y, 1256s # gint16 arg_an_n, 1256s # guint16 arg_an_q, 1256s # gint arg_an_i, 1256s # guint arg_an_u, 1256s # gint64 arg_an_x, 1256s # guint64 arg_an_t, 1256s # gdouble arg_an_d, 1256s # const gchar *arg_an_s, 1256s # const gchar *arg_an_o, 1256s # const gchar *arg_an_g, 1256s # GVariant *arg_an_h, 1256s # const gchar *arg_an_ay, 1256s # const gchar *const *arg_an_as, 1256s # const gchar *const *arg_an_ao, 1256s # const gchar *const *arg_an_aay, 1256s # GVariant *arg_an_asv, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 20); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # g_marshal_value_peek_boolean (param_values + 2), 1256s # g_marshal_value_peek_uchar (param_values + 3), 1256s # g_marshal_value_peek_int (param_values + 4), 1256s # g_marshal_value_peek_uint (param_values + 5), 1256s # g_marshal_value_peek_int (param_values + 6), 1256s # g_marshal_value_peek_uint (param_values + 7), 1256s # g_marshal_value_peek_int64 (param_values + 8), 1256s # g_marshal_value_peek_uint64 (param_values + 9), 1256s # g_marshal_value_peek_double (param_values + 10), 1256s # g_marshal_value_peek_string (param_values + 11), 1256s # g_marshal_value_peek_string (param_values + 12), 1256s # g_marshal_value_peek_string (param_values + 13), 1256s # g_marshal_value_peek_variant (param_values + 14), 1256s # g_marshal_value_peek_string (param_values + 15), 1256s # g_marshal_value_peek_boxed (param_values + 16), 1256s # g_marshal_value_peek_boxed (param_values + 17), 1256s # g_marshal_value_peek_boxed (param_values + 18), 1256s # g_marshal_value_peek_variant (param_values + 19), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.CallableIface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectCallableIface 1256s # * @title: OrgProjectCallableIface 1256s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.CallableIface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_b", 1256s # (gchar *) "b", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_y", 1256s # (gchar *) "y", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_n", 1256s # (gchar *) "n", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_q", 1256s # (gchar *) "q", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_i", 1256s # (gchar *) "i", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_u", 1256s # (gchar *) "u", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_x", 1256s # (gchar *) "x", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_t", 1256s # (gchar *) "t", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_d", 1256s # (gchar *) "d", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_s", 1256s # (gchar *) "s", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_o", 1256s # (gchar *) "o", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_g", 1256s # (gchar *) "g", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_h", 1256s # (gchar *) "h", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_ay", 1256s # (gchar *) "ay", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_as", 1256s # (gchar *) "as", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_ao", 1256s # (gchar *) "ao", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_aay", 1256s # (gchar *) "aay", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_asv", 1256s # (gchar *) "a{sv}", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1256s # { 1256s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1256s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1256s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1256s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1256s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1256s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1256s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1256s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1256s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1256s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1256s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1256s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1256s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1256s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1256s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1256s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1256s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1256s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "MethodWithManyArgs", 1256s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "handle-method-with-many-args", 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_b", 1256s # (gchar *) "b", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_y", 1256s # (gchar *) "y", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_n", 1256s # (gchar *) "n", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_q", 1256s # (gchar *) "q", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_i", 1256s # (gchar *) "i", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_u", 1256s # (gchar *) "u", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_x", 1256s # (gchar *) "x", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_t", 1256s # (gchar *) "t", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_d", 1256s # (gchar *) "d", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_s", 1256s # (gchar *) "s", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_o", 1256s # (gchar *) "o", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_g", 1256s # (gchar *) "g", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_h", 1256s # (gchar *) "h", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_ay", 1256s # (gchar *) "ay", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_as", 1256s # (gchar *) "as", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_ao", 1256s # (gchar *) "ao", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_aay", 1256s # (gchar *) "aay", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_asv", 1256s # (gchar *) "a{sv}", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 1256s # { 1256s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 1256s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 1256s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 1256s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 1256s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 1256s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 1256s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 1256s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 1256s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 1256s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 1256s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 1256s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 1256s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 1256s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 1256s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 1256s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 1256s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 1256s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SameMethodWithManyArgs", 1256s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "handle-same-method-with-many-args", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1256s # { 1256s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1256s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.CallableIface", 1256s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-callable-iface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_callable_iface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_callable_iface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_callable_iface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_callable_iface_method_marshal_method_with_many_args ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _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, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # inline static void 1256s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _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, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectCallableIface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectCallableIfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1256s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.CallableIface. 1256s # */ 1256s # 1256s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectCallableIface::handle-method-with-many-args: 1256s # * @object: A #OrgProjectCallableIface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * @arg_an_b: Argument passed by remote caller. 1256s # * @arg_an_y: Argument passed by remote caller. 1256s # * @arg_an_n: Argument passed by remote caller. 1256s # * @arg_an_q: Argument passed by remote caller. 1256s # * @arg_an_i: Argument passed by remote caller. 1256s # * @arg_an_u: Argument passed by remote caller. 1256s # * @arg_an_x: Argument passed by remote caller. 1256s # * @arg_an_t: Argument passed by remote caller. 1256s # * @arg_an_d: Argument passed by remote caller. 1256s # * @arg_an_s: Argument passed by remote caller. 1256s # * @arg_an_o: Argument passed by remote caller. 1256s # * @arg_an_g: Argument passed by remote caller. 1256s # * @arg_an_h: Argument passed by remote caller. 1256s # * @arg_an_ay: Argument passed by remote caller. 1256s # * @arg_an_as: Argument passed by remote caller. 1256s # * @arg_an_ao: Argument passed by remote caller. 1256s # * @arg_an_aay: Argument passed by remote caller. 1256s # * @arg_an_asv: Argument passed by remote caller. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-method-with-many-args", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_callable_iface_method_marshal_method_with_many_args, 1256s # G_TYPE_BOOLEAN, 1256s # 19, 1256s # 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); 1256s # 1256s # /** 1256s # * OrgProjectCallableIface::handle-same-method-with-many-args: 1256s # * @object: A #OrgProjectCallableIface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * @arg_an_b: Argument passed by remote caller. 1256s # * @arg_an_y: Argument passed by remote caller. 1256s # * @arg_an_n: Argument passed by remote caller. 1256s # * @arg_an_q: Argument passed by remote caller. 1256s # * @arg_an_i: Argument passed by remote caller. 1256s # * @arg_an_u: Argument passed by remote caller. 1256s # * @arg_an_x: Argument passed by remote caller. 1256s # * @arg_an_t: Argument passed by remote caller. 1256s # * @arg_an_d: Argument passed by remote caller. 1256s # * @arg_an_s: Argument passed by remote caller. 1256s # * @arg_an_o: Argument passed by remote caller. 1256s # * @arg_an_g: Argument passed by remote caller. 1256s # * @arg_an_h: Argument passed by remote caller. 1256s # * @arg_an_ay: Argument passed by remote caller. 1256s # * @arg_an_as: Argument passed by remote caller. 1256s # * @arg_an_ao: Argument passed by remote caller. 1256s # * @arg_an_aay: Argument passed by remote caller. 1256s # * @arg_an_asv: Argument passed by remote caller. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-same-method-with-many-args", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_callable_iface_method_marshal_same_method_with_many_args, 1256s # G_TYPE_BOOLEAN, 1256s # 19, 1256s # 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); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_callable_iface_call_method_with_many_args: 1256s # * @proxy: A #OrgProjectCallableIfaceProxy. 1256s # * @arg_an_b: Argument to pass with the method invocation. 1256s # * @arg_an_y: Argument to pass with the method invocation. 1256s # * @arg_an_n: Argument to pass with the method invocation. 1256s # * @arg_an_q: Argument to pass with the method invocation. 1256s # * @arg_an_i: Argument to pass with the method invocation. 1256s # * @arg_an_u: Argument to pass with the method invocation. 1256s # * @arg_an_x: Argument to pass with the method invocation. 1256s # * @arg_an_t: Argument to pass with the method invocation. 1256s # * @arg_an_d: Argument to pass with the method invocation. 1256s # * @arg_an_s: Argument to pass with the method invocation. 1256s # * @arg_an_o: Argument to pass with the method invocation. 1256s # * @arg_an_g: Argument to pass with the method invocation. 1256s # * @arg_an_h: Argument to pass with the method invocation. 1256s # * @arg_an_ay: Argument to pass with the method invocation. 1256s # * @arg_an_as: Argument to pass with the method invocation. 1256s # * @arg_an_ao: Argument to pass with the method invocation. 1256s # * @arg_an_aay: Argument to pass with the method invocation. 1256s # * @arg_an_asv: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_callable_iface_call_method_with_many_args ( 1256s # OrgProjectCallableIface *proxy, 1256s # gboolean arg_an_b, 1256s # guchar arg_an_y, 1256s # gint16 arg_an_n, 1256s # guint16 arg_an_q, 1256s # gint arg_an_i, 1256s # guint arg_an_u, 1256s # gint64 arg_an_x, 1256s # guint64 arg_an_t, 1256s # gdouble arg_an_d, 1256s # const gchar *arg_an_s, 1256s # const gchar *arg_an_o, 1256s # const gchar *arg_an_g, 1256s # GVariant *arg_an_h, 1256s # const gchar *arg_an_ay, 1256s # const gchar *const *arg_an_as, 1256s # const gchar *const *arg_an_ao, 1256s # const gchar *const *arg_an_aay, 1256s # GVariant *arg_an_asv, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "MethodWithManyArgs", 1256s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1256s # arg_an_b, 1256s # arg_an_y, 1256s # arg_an_n, 1256s # arg_an_q, 1256s # arg_an_i, 1256s # arg_an_u, 1256s # arg_an_x, 1256s # arg_an_t, 1256s # arg_an_d, 1256s # arg_an_s, 1256s # arg_an_o, 1256s # arg_an_g, 1256s # arg_an_h, 1256s # arg_an_ay, 1256s # arg_an_as, 1256s # arg_an_ao, 1256s # arg_an_aay, 1256s # arg_an_asv), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_callable_iface_call_method_with_many_args_finish: 1256s # * @proxy: A #OrgProjectCallableIfaceProxy. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_callable_iface_call_method_with_many_args_finish ( 1256s # OrgProjectCallableIface *proxy, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_callable_iface_call_method_with_many_args_sync: 1256s # * @proxy: A #OrgProjectCallableIfaceProxy. 1256s # * @arg_an_b: Argument to pass with the method invocation. 1256s # * @arg_an_y: Argument to pass with the method invocation. 1256s # * @arg_an_n: Argument to pass with the method invocation. 1256s # * @arg_an_q: Argument to pass with the method invocation. 1256s # * @arg_an_i: Argument to pass with the method invocation. 1256s # * @arg_an_u: Argument to pass with the method invocation. 1256s # * @arg_an_x: Argument to pass with the method invocation. 1256s # * @arg_an_t: Argument to pass with the method invocation. 1256s # * @arg_an_d: Argument to pass with the method invocation. 1256s # * @arg_an_s: Argument to pass with the method invocation. 1256s # * @arg_an_o: Argument to pass with the method invocation. 1256s # * @arg_an_g: Argument to pass with the method invocation. 1256s # * @arg_an_h: Argument to pass with the method invocation. 1256s # * @arg_an_ay: Argument to pass with the method invocation. 1256s # * @arg_an_as: Argument to pass with the method invocation. 1256s # * @arg_an_ao: Argument to pass with the method invocation. 1256s # * @arg_an_aay: Argument to pass with the method invocation. 1256s # * @arg_an_asv: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_callable_iface_call_method_with_many_args_sync ( 1256s # OrgProjectCallableIface *proxy, 1256s # gboolean arg_an_b, 1256s # guchar arg_an_y, 1256s # gint16 arg_an_n, 1256s # guint16 arg_an_q, 1256s # gint arg_an_i, 1256s # guint arg_an_u, 1256s # gint64 arg_an_x, 1256s # guint64 arg_an_t, 1256s # gdouble arg_an_d, 1256s # const gchar *arg_an_s, 1256s # const gchar *arg_an_o, 1256s # const gchar *arg_an_g, 1256s # GVariant *arg_an_h, 1256s # const gchar *arg_an_ay, 1256s # const gchar *const *arg_an_as, 1256s # const gchar *const *arg_an_ao, 1256s # const gchar *const *arg_an_aay, 1256s # GVariant *arg_an_asv, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "MethodWithManyArgs", 1256s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1256s # arg_an_b, 1256s # arg_an_y, 1256s # arg_an_n, 1256s # arg_an_q, 1256s # arg_an_i, 1256s # arg_an_u, 1256s # arg_an_x, 1256s # arg_an_t, 1256s # arg_an_d, 1256s # arg_an_s, 1256s # arg_an_o, 1256s # arg_an_g, 1256s # arg_an_h, 1256s # arg_an_ay, 1256s # arg_an_as, 1256s # arg_an_ao, 1256s # arg_an_aay, 1256s # arg_an_asv), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_callable_iface_call_same_method_with_many_args: 1256s # * @proxy: A #OrgProjectCallableIfaceProxy. 1256s # * @arg_an_b: Argument to pass with the method invocation. 1256s # * @arg_an_y: Argument to pass with the method invocation. 1256s # * @arg_an_n: Argument to pass with the method invocation. 1256s # * @arg_an_q: Argument to pass with the method invocation. 1256s # * @arg_an_i: Argument to pass with the method invocation. 1256s # * @arg_an_u: Argument to pass with the method invocation. 1256s # * @arg_an_x: Argument to pass with the method invocation. 1256s # * @arg_an_t: Argument to pass with the method invocation. 1256s # * @arg_an_d: Argument to pass with the method invocation. 1256s # * @arg_an_s: Argument to pass with the method invocation. 1256s # * @arg_an_o: Argument to pass with the method invocation. 1256s # * @arg_an_g: Argument to pass with the method invocation. 1256s # * @arg_an_h: Argument to pass with the method invocation. 1256s # * @arg_an_ay: Argument to pass with the method invocation. 1256s # * @arg_an_as: Argument to pass with the method invocation. 1256s # * @arg_an_ao: Argument to pass with the method invocation. 1256s # * @arg_an_aay: Argument to pass with the method invocation. 1256s # * @arg_an_asv: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_callable_iface_call_same_method_with_many_args ( 1256s # OrgProjectCallableIface *proxy, 1256s # gboolean arg_an_b, 1256s # guchar arg_an_y, 1256s # gint16 arg_an_n, 1256s # guint16 arg_an_q, 1256s # gint arg_an_i, 1256s # guint arg_an_u, 1256s # gint64 arg_an_x, 1256s # guint64 arg_an_t, 1256s # gdouble arg_an_d, 1256s # const gchar *arg_an_s, 1256s # const gchar *arg_an_o, 1256s # const gchar *arg_an_g, 1256s # GVariant *arg_an_h, 1256s # const gchar *arg_an_ay, 1256s # const gchar *const *arg_an_as, 1256s # const gchar *const *arg_an_ao, 1256s # const gchar *const *arg_an_aay, 1256s # GVariant *arg_an_asv, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "SameMethodWithManyArgs", 1256s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1256s # arg_an_b, 1256s # arg_an_y, 1256s # arg_an_n, 1256s # arg_an_q, 1256s # arg_an_i, 1256s # arg_an_u, 1256s # arg_an_x, 1256s # arg_an_t, 1256s # arg_an_d, 1256s # arg_an_s, 1256s # arg_an_o, 1256s # arg_an_g, 1256s # arg_an_h, 1256s # arg_an_ay, 1256s # arg_an_as, 1256s # arg_an_ao, 1256s # arg_an_aay, 1256s # arg_an_asv), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_callable_iface_call_same_method_with_many_args_finish: 1256s # * @proxy: A #OrgProjectCallableIfaceProxy. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_callable_iface_call_same_method_with_many_args_finish ( 1256s # OrgProjectCallableIface *proxy, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_callable_iface_call_same_method_with_many_args_sync: 1256s # * @proxy: A #OrgProjectCallableIfaceProxy. 1256s # * @arg_an_b: Argument to pass with the method invocation. 1256s # * @arg_an_y: Argument to pass with the method invocation. 1256s # * @arg_an_n: Argument to pass with the method invocation. 1256s # * @arg_an_q: Argument to pass with the method invocation. 1256s # * @arg_an_i: Argument to pass with the method invocation. 1256s # * @arg_an_u: Argument to pass with the method invocation. 1256s # * @arg_an_x: Argument to pass with the method invocation. 1256s # * @arg_an_t: Argument to pass with the method invocation. 1256s # * @arg_an_d: Argument to pass with the method invocation. 1256s # * @arg_an_s: Argument to pass with the method invocation. 1256s # * @arg_an_o: Argument to pass with the method invocation. 1256s # * @arg_an_g: Argument to pass with the method invocation. 1256s # * @arg_an_h: Argument to pass with the method invocation. 1256s # * @arg_an_ay: Argument to pass with the method invocation. 1256s # * @arg_an_as: Argument to pass with the method invocation. 1256s # * @arg_an_ao: Argument to pass with the method invocation. 1256s # * @arg_an_aay: Argument to pass with the method invocation. 1256s # * @arg_an_asv: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_callable_iface_call_same_method_with_many_args_sync ( 1256s # OrgProjectCallableIface *proxy, 1256s # gboolean arg_an_b, 1256s # guchar arg_an_y, 1256s # gint16 arg_an_n, 1256s # guint16 arg_an_q, 1256s # gint arg_an_i, 1256s # guint arg_an_u, 1256s # gint64 arg_an_x, 1256s # guint64 arg_an_t, 1256s # gdouble arg_an_d, 1256s # const gchar *arg_an_s, 1256s # const gchar *arg_an_o, 1256s # const gchar *arg_an_g, 1256s # GVariant *arg_an_h, 1256s # const gchar *arg_an_ay, 1256s # const gchar *const *arg_an_as, 1256s # const gchar *const *arg_an_ao, 1256s # const gchar *const *arg_an_aay, 1256s # GVariant *arg_an_asv, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "SameMethodWithManyArgs", 1256s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1256s # arg_an_b, 1256s # arg_an_y, 1256s # arg_an_n, 1256s # arg_an_q, 1256s # arg_an_i, 1256s # arg_an_u, 1256s # arg_an_x, 1256s # arg_an_t, 1256s # arg_an_d, 1256s # arg_an_s, 1256s # arg_an_o, 1256s # arg_an_g, 1256s # arg_an_h, 1256s # arg_an_ay, 1256s # arg_an_as, 1256s # arg_an_ao, 1256s # arg_an_aay, 1256s # arg_an_asv), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_callable_iface_complete_method_with_many_args: 1256s # * @object: A #OrgProjectCallableIface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_callable_iface_complete_method_with_many_args ( 1256s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("()")); 1256s # } 1256s # 1256s # /** 1256s # * org_project_callable_iface_complete_same_method_with_many_args: 1256s # * @object: A #OrgProjectCallableIface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_callable_iface_complete_same_method_with_many_args ( 1256s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("()")); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectCallableIfaceProxy: 1256s # * 1256s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectCallableIfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectCallableIfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectCallableIfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_callable_iface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1256s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1256s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_callable_iface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_callable_iface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # 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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_callable_iface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectCallableIface * 1256s # org_project_callable_iface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_callable_iface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectCallableIface * 1256s # org_project_callable_iface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_callable_iface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_callable_iface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # 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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_callable_iface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectCallableIface * 1256s # org_project_callable_iface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_callable_iface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectCallableIface * 1256s # org_project_callable_iface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectCallableIfaceSkeleton: 1256s # * 1256s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectCallableIfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectCallableIfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_callable_iface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_callable_iface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_callable_iface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1256s # { 1256s # _org_project_callable_iface_skeleton_handle_method_call, 1256s # _org_project_callable_iface_skeleton_handle_get_property, 1256s # _org_project_callable_iface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_callable_iface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_callable_iface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_callable_iface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectCallableIface * 1256s # org_project_callable_iface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.OtherCallableIface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectOtherCallableIface 1256s # * @title: OrgProjectOtherCallableIface 1256s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_b", 1256s # (gchar *) "b", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_y", 1256s # (gchar *) "y", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_n", 1256s # (gchar *) "n", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_q", 1256s # (gchar *) "q", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_i", 1256s # (gchar *) "i", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_u", 1256s # (gchar *) "u", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_x", 1256s # (gchar *) "x", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_t", 1256s # (gchar *) "t", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_d", 1256s # (gchar *) "d", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_s", 1256s # (gchar *) "s", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_o", 1256s # (gchar *) "o", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_g", 1256s # (gchar *) "g", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_h", 1256s # (gchar *) "h", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_ay", 1256s # (gchar *) "ay", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_as", 1256s # (gchar *) "as", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_ao", 1256s # (gchar *) "ao", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_aay", 1256s # (gchar *) "aay", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_asv", 1256s # (gchar *) "a{sv}", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 1256s # { 1256s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 1256s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 1256s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 1256s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 1256s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 1256s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 1256s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 1256s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 1256s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 1256s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 1256s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 1256s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 1256s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 1256s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 1256s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 1256s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 1256s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 1256s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "MethodWithManyArgs", 1256s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "handle-method-with-many-args", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 1256s # { 1256s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.OtherCallableIface", 1256s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-other-callable-iface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_other_callable_iface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_other_callable_iface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_other_callable_iface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _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, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectOtherCallableIface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectOtherCallableIfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 1256s # */ 1256s # 1256s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 1256s # * @object: A #OrgProjectOtherCallableIface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * @arg_an_b: Argument passed by remote caller. 1256s # * @arg_an_y: Argument passed by remote caller. 1256s # * @arg_an_n: Argument passed by remote caller. 1256s # * @arg_an_q: Argument passed by remote caller. 1256s # * @arg_an_i: Argument passed by remote caller. 1256s # * @arg_an_u: Argument passed by remote caller. 1256s # * @arg_an_x: Argument passed by remote caller. 1256s # * @arg_an_t: Argument passed by remote caller. 1256s # * @arg_an_d: Argument passed by remote caller. 1256s # * @arg_an_s: Argument passed by remote caller. 1256s # * @arg_an_o: Argument passed by remote caller. 1256s # * @arg_an_g: Argument passed by remote caller. 1256s # * @arg_an_h: Argument passed by remote caller. 1256s # * @arg_an_ay: Argument passed by remote caller. 1256s # * @arg_an_as: Argument passed by remote caller. 1256s # * @arg_an_ao: Argument passed by remote caller. 1256s # * @arg_an_aay: Argument passed by remote caller. 1256s # * @arg_an_asv: Argument passed by remote caller. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-method-with-many-args", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_other_callable_iface_method_marshal_method_with_many_args, 1256s # G_TYPE_BOOLEAN, 1256s # 19, 1256s # 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); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_other_callable_iface_call_method_with_many_args: 1256s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1256s # * @arg_an_b: Argument to pass with the method invocation. 1256s # * @arg_an_y: Argument to pass with the method invocation. 1256s # * @arg_an_n: Argument to pass with the method invocation. 1256s # * @arg_an_q: Argument to pass with the method invocation. 1256s # * @arg_an_i: Argument to pass with the method invocation. 1256s # * @arg_an_u: Argument to pass with the method invocation. 1256s # * @arg_an_x: Argument to pass with the method invocation. 1256s # * @arg_an_t: Argument to pass with the method invocation. 1256s # * @arg_an_d: Argument to pass with the method invocation. 1256s # * @arg_an_s: Argument to pass with the method invocation. 1256s # * @arg_an_o: Argument to pass with the method invocation. 1256s # * @arg_an_g: Argument to pass with the method invocation. 1256s # * @arg_an_h: Argument to pass with the method invocation. 1256s # * @arg_an_ay: Argument to pass with the method invocation. 1256s # * @arg_an_as: Argument to pass with the method invocation. 1256s # * @arg_an_ao: Argument to pass with the method invocation. 1256s # * @arg_an_aay: Argument to pass with the method invocation. 1256s # * @arg_an_asv: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_other_callable_iface_call_method_with_many_args ( 1256s # OrgProjectOtherCallableIface *proxy, 1256s # gboolean arg_an_b, 1256s # guchar arg_an_y, 1256s # gint16 arg_an_n, 1256s # guint16 arg_an_q, 1256s # gint arg_an_i, 1256s # guint arg_an_u, 1256s # gint64 arg_an_x, 1256s # guint64 arg_an_t, 1256s # gdouble arg_an_d, 1256s # const gchar *arg_an_s, 1256s # const gchar *arg_an_o, 1256s # const gchar *arg_an_g, 1256s # GVariant *arg_an_h, 1256s # const gchar *arg_an_ay, 1256s # const gchar *const *arg_an_as, 1256s # const gchar *const *arg_an_ao, 1256s # const gchar *const *arg_an_aay, 1256s # GVariant *arg_an_asv, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "MethodWithManyArgs", 1256s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1256s # arg_an_b, 1256s # arg_an_y, 1256s # arg_an_n, 1256s # arg_an_q, 1256s # arg_an_i, 1256s # arg_an_u, 1256s # arg_an_x, 1256s # arg_an_t, 1256s # arg_an_d, 1256s # arg_an_s, 1256s # arg_an_o, 1256s # arg_an_g, 1256s # arg_an_h, 1256s # arg_an_ay, 1256s # arg_an_as, 1256s # arg_an_ao, 1256s # arg_an_aay, 1256s # arg_an_asv), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_other_callable_iface_call_method_with_many_args_finish: 1256s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_other_callable_iface_call_method_with_many_args_finish ( 1256s # OrgProjectOtherCallableIface *proxy, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_other_callable_iface_call_method_with_many_args_sync: 1256s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 1256s # * @arg_an_b: Argument to pass with the method invocation. 1256s # * @arg_an_y: Argument to pass with the method invocation. 1256s # * @arg_an_n: Argument to pass with the method invocation. 1256s # * @arg_an_q: Argument to pass with the method invocation. 1256s # * @arg_an_i: Argument to pass with the method invocation. 1256s # * @arg_an_u: Argument to pass with the method invocation. 1256s # * @arg_an_x: Argument to pass with the method invocation. 1256s # * @arg_an_t: Argument to pass with the method invocation. 1256s # * @arg_an_d: Argument to pass with the method invocation. 1256s # * @arg_an_s: Argument to pass with the method invocation. 1256s # * @arg_an_o: Argument to pass with the method invocation. 1256s # * @arg_an_g: Argument to pass with the method invocation. 1256s # * @arg_an_h: Argument to pass with the method invocation. 1256s # * @arg_an_ay: Argument to pass with the method invocation. 1256s # * @arg_an_as: Argument to pass with the method invocation. 1256s # * @arg_an_ao: Argument to pass with the method invocation. 1256s # * @arg_an_aay: Argument to pass with the method invocation. 1256s # * @arg_an_asv: Argument to pass with the method invocation. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_other_callable_iface_call_method_with_many_args_sync ( 1256s # OrgProjectOtherCallableIface *proxy, 1256s # gboolean arg_an_b, 1256s # guchar arg_an_y, 1256s # gint16 arg_an_n, 1256s # guint16 arg_an_q, 1256s # gint arg_an_i, 1256s # guint arg_an_u, 1256s # gint64 arg_an_x, 1256s # guint64 arg_an_t, 1256s # gdouble arg_an_d, 1256s # const gchar *arg_an_s, 1256s # const gchar *arg_an_o, 1256s # const gchar *arg_an_g, 1256s # GVariant *arg_an_h, 1256s # const gchar *arg_an_ay, 1256s # const gchar *const *arg_an_as, 1256s # const gchar *const *arg_an_ao, 1256s # const gchar *const *arg_an_aay, 1256s # GVariant *arg_an_asv, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "MethodWithManyArgs", 1256s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1256s # arg_an_b, 1256s # arg_an_y, 1256s # arg_an_n, 1256s # arg_an_q, 1256s # arg_an_i, 1256s # arg_an_u, 1256s # arg_an_x, 1256s # arg_an_t, 1256s # arg_an_d, 1256s # arg_an_s, 1256s # arg_an_o, 1256s # arg_an_g, 1256s # arg_an_h, 1256s # arg_an_ay, 1256s # arg_an_as, 1256s # arg_an_ao, 1256s # arg_an_aay, 1256s # arg_an_asv), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "()"); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_other_callable_iface_complete_method_with_many_args: 1256s # * @object: A #OrgProjectOtherCallableIface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_other_callable_iface_complete_method_with_many_args ( 1256s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("()")); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectOtherCallableIfaceProxy: 1256s # * 1256s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectOtherCallableIfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectOtherCallableIfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_other_callable_iface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 1256s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 1256s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_other_callable_iface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_other_callable_iface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # 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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_other_callable_iface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectOtherCallableIface * 1256s # org_project_other_callable_iface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_other_callable_iface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectOtherCallableIface * 1256s # org_project_other_callable_iface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_other_callable_iface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_other_callable_iface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # 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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectOtherCallableIface * 1256s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectOtherCallableIface * 1256s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectOtherCallableIfaceSkeleton: 1256s # * 1256s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectOtherCallableIfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_other_callable_iface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_other_callable_iface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_other_callable_iface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 1256s # { 1256s # _org_project_other_callable_iface_skeleton_handle_method_call, 1256s # _org_project_other_callable_iface_skeleton_handle_get_property, 1256s # _org_project_other_callable_iface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_other_callable_iface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_other_callable_iface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectOtherCallableIface * 1256s # org_project_other_callable_iface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 1256s # gdbus-codegen: /usr/bin/gdbus-codegen 1256s # tmpdir: /tmp/tmp3qjlsfof 1256s # /tmp/tmp3qjlsfof/tmptx7myf8d.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3qjlsfof/tmptx7myf8d.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 2); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.CallableIface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectCallableIface 1256s # * @title: OrgProjectCallableIface 1256s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for org.project.CallableIface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_b", 1256s # (gchar *) "b", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_y", 1256s # (gchar *) "y", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_n", 1256s # (gchar *) "n", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_q", 1256s # (gchar *) "q", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_i", 1256s # (gchar *) "i", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_u", 1256s # (gchar *) "u", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_x", 1256s # (gchar *) "x", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_t", 1256s # (gchar *) "t", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_d", 1256s # (gchar *) "d", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_s", 1256s # (gchar *) "s", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_o", 1256s # (gchar *) "o", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_g", 1256s # (gchar *) "g", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_h", 1256s # (gchar *) "h", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_ay", 1256s # (gchar *) "ay", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_as", 1256s # (gchar *) "as", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_ao", 1256s # (gchar *) "ao", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_aay", 1256s # (gchar *) "aay", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_asv", 1256s # (gchar *) "a{sv}", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 1256s # { 1256s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 1256s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 1256s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 1256s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 1256s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 1256s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 1256s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 1256s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 1256s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 1256s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 1256s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 1256s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 1256s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 1256s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 1256s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 1256s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 1256s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 1256s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "MethodWithManyArgs", 1256s # NULL, 1256s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 1256s # NULL 1256s # }, 1256s # "handle-method-with-many-args", 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 1256s # { 1256s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.CallableIface", 1256s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-callable-iface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_callable_iface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_callable_iface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_callable_iface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_callable_iface_method_marshal_method_with_many_args ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectCallableIface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectCallableIfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.CallableIface. 1256s # */ 1256s # 1256s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * OrgProjectCallableIface::handle-method-with-many-args: 1256s # * @object: A #OrgProjectCallableIface. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-method-with-many-args", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # org_project_callable_iface_method_marshal_method_with_many_args, 1256s # G_TYPE_BOOLEAN, 1256s # 1, 1256s # G_TYPE_DBUS_METHOD_INVOCATION); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_callable_iface_call_method_with_many_args: 1256s # * @proxy: A #OrgProjectCallableIfaceProxy. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # org_project_callable_iface_call_method_with_many_args ( 1256s # OrgProjectCallableIface *proxy, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1256s # "MethodWithManyArgs", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * org_project_callable_iface_call_method_with_many_args_finish: 1256s # * @proxy: A #OrgProjectCallableIfaceProxy. 1256s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1256s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1256s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1256s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_callable_iface_call_method_with_many_args_finish ( 1256s # OrgProjectCallableIface *proxy, 1256s # gboolean *out_an_b, 1256s # guchar *out_an_y, 1256s # gint16 *out_an_n, 1256s # guint16 *out_an_q, 1256s # gint *out_an_i, 1256s # guint *out_an_u, 1256s # gint64 *out_an_x, 1256s # guint64 *out_an_t, 1256s # gdouble *out_an_d, 1256s # gchar **out_an_s, 1256s # gchar **out_an_o, 1256s # gchar **out_an_g, 1256s # GVariant **out_an_h, 1256s # gchar **out_an_ay, 1256s # gchar ***out_an_as, 1256s # gchar ***out_an_ao, 1256s # gchar ***out_an_aay, 1256s # GVariant **out_an_asv, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1256s # out_an_b, 1256s # out_an_y, 1256s # out_an_n, 1256s # out_an_q, 1256s # out_an_i, 1256s # out_an_u, 1256s # out_an_x, 1256s # out_an_t, 1256s # out_an_d, 1256s # out_an_s, 1256s # out_an_o, 1256s # out_an_g, 1256s # out_an_h, 1256s # out_an_ay, 1256s # out_an_as, 1256s # out_an_ao, 1256s # out_an_aay, 1256s # out_an_asv); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_callable_iface_call_method_with_many_args_sync: 1256s # * @proxy: A #OrgProjectCallableIfaceProxy. 1256s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1256s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1256s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 1256s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # org_project_callable_iface_call_method_with_many_args_sync ( 1256s # OrgProjectCallableIface *proxy, 1256s # gboolean *out_an_b, 1256s # guchar *out_an_y, 1256s # gint16 *out_an_n, 1256s # guint16 *out_an_q, 1256s # gint *out_an_i, 1256s # guint *out_an_u, 1256s # gint64 *out_an_x, 1256s # guint64 *out_an_t, 1256s # gdouble *out_an_d, 1256s # gchar **out_an_s, 1256s # gchar **out_an_o, 1256s # gchar **out_an_g, 1256s # GVariant **out_an_h, 1256s # gchar **out_an_ay, 1256s # gchar ***out_an_as, 1256s # gchar ***out_an_ao, 1256s # gchar ***out_an_aay, 1256s # GVariant **out_an_asv, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1256s # "MethodWithManyArgs", 1256s # g_variant_new ("()"), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1256s # out_an_b, 1256s # out_an_y, 1256s # out_an_n, 1256s # out_an_q, 1256s # out_an_i, 1256s # out_an_u, 1256s # out_an_x, 1256s # out_an_t, 1256s # out_an_d, 1256s # out_an_s, 1256s # out_an_o, 1256s # out_an_g, 1256s # out_an_h, 1256s # out_an_ay, 1256s # out_an_as, 1256s # out_an_ao, 1256s # out_an_aay, 1256s # out_an_asv); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_callable_iface_complete_method_with_many_args: 1256s # * @object: A #OrgProjectCallableIface. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * @an_b: Parameter to return. 1256s # * @an_y: Parameter to return. 1256s # * @an_n: Parameter to return. 1256s # * @an_q: Parameter to return. 1256s # * @an_i: Parameter to return. 1256s # * @an_u: Parameter to return. 1256s # * @an_x: Parameter to return. 1256s # * @an_t: Parameter to return. 1256s # * @an_d: Parameter to return. 1256s # * @an_s: Parameter to return. 1256s # * @an_o: Parameter to return. 1256s # * @an_g: Parameter to return. 1256s # * @an_h: Parameter to return. 1256s # * @an_ay: Parameter to return. 1256s # * @an_as: Parameter to return. 1256s # * @an_ao: Parameter to return. 1256s # * @an_aay: Parameter to return. 1256s # * @an_asv: Parameter to return. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # org_project_callable_iface_complete_method_with_many_args ( 1256s # OrgProjectCallableIface *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation, 1256s # gboolean an_b, 1256s # guchar an_y, 1256s # gint16 an_n, 1256s # guint16 an_q, 1256s # gint an_i, 1256s # guint an_u, 1256s # gint64 an_x, 1256s # guint64 an_t, 1256s # gdouble an_d, 1256s # const gchar *an_s, 1256s # const gchar *an_o, 1256s # const gchar *an_g, 1256s # GVariant *an_h, 1256s # const gchar *an_ay, 1256s # const gchar *const *an_as, 1256s # const gchar *const *an_ao, 1256s # const gchar *const *an_aay, 1256s # GVariant *an_asv) 1256s # { 1256s # g_dbus_method_invocation_return_value (invocation, 1256s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1256s # an_b, 1256s # an_y, 1256s # an_n, 1256s # an_q, 1256s # an_i, 1256s # an_u, 1256s # an_x, 1256s # an_t, 1256s # an_d, 1256s # an_s, 1256s # an_o, 1256s # an_g, 1256s # an_h, 1256s # an_ay, 1256s # an_as, 1256s # an_ao, 1256s # an_aay, 1256s # an_asv)); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectCallableIfaceProxy: 1256s # * 1256s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectCallableIfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectCallableIfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectCallableIfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_callable_iface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 1256s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 1256s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_callable_iface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_callable_iface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # 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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_callable_iface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectCallableIface * 1256s # org_project_callable_iface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_callable_iface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectCallableIface * 1256s # org_project_callable_iface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_callable_iface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_callable_iface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # 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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_callable_iface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectCallableIface * 1256s # org_project_callable_iface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_callable_iface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectCallableIface * 1256s # org_project_callable_iface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_CALLABLE_IFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectCallableIfaceSkeleton: 1256s # * 1256s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectCallableIfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectCallableIfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectCallableIfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_callable_iface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_callable_iface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_callable_iface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 1256s # { 1256s # _org_project_callable_iface_skeleton_handle_method_call, 1256s # _org_project_callable_iface_skeleton_handle_get_property, 1256s # _org_project_callable_iface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_callable_iface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_callable_iface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_callable_iface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectCallableIface * 1256s # org_project_callable_iface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 1256s # gdbus-codegen: /usr/bin/gdbus-codegen 1256s # tmpdir: /tmp/tmp587cpqxu 1256s # /tmp/tmp587cpqxu/tmp0y1r8m2t.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp587cpqxu/tmp0y1r8m2t.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1256s # (void *data1, 1256s # GDBusMethodInvocation *arg_method_invocation, 1256s # GUnixFDList *arg_fd_list, 1256s # const gchar *arg_greeting, 1256s # void *data2); 1256s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # gboolean v_return; 1256s # 1256s # g_return_if_fail (return_value != NULL); 1256s # g_return_if_fail (n_param_values == 4); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # v_return = 1256s # callback (data1, 1256s # g_marshal_value_peek_object (param_values + 1), 1256s # g_marshal_value_peek_object (param_values + 2), 1256s # g_marshal_value_peek_string (param_values + 3), 1256s # data2); 1256s # 1256s # g_value_set_boolean (return_value, v_return); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface test.FDPassing 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:TestFDPassing 1256s # * @title: TestFDPassing 1256s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 1256s # * 1256s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 1256s # */ 1256s # 1256s # /* ---- Introspection data for test.FDPassing ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "greeting", 1256s # (gchar *) "s", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 1256s # { 1256s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "response", 1256s # (gchar *) "s", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 1256s # { 1256s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "HelloFD", 1256s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 1256s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 1256s # NULL 1256s # }, 1256s # "handle-hello-fd", 1256s # TRUE 1256s # }; 1256s # 1256s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 1256s # { 1256s # &_test_fdpassing_method_info_hello_fd.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "test.FDPassing", 1256s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 1256s # NULL, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "test-fdpassing", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * test_fdpassing_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # test_fdpassing_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * test_fdpassing_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # test_fdpassing_method_marshal_hello_fd ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * TestFDPassing: 1256s # * 1256s # * Abstract interface type for the D-Bus interface test.FDPassing. 1256s # */ 1256s # 1256s # /** 1256s # * TestFDPassingIface: 1256s # * @parent_iface: The parent interface. 1256s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 1256s # * 1256s # * Virtual table for the D-Bus interface test.FDPassing. 1256s # */ 1256s # 1256s # typedef TestFDPassingIface TestFDPassingInterface; 1256s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # test_fdpassing_default_init (TestFDPassingIface *iface) 1256s # { 1256s # /* GObject signals for incoming D-Bus method calls: */ 1256s # /** 1256s # * TestFDPassing::handle-hello-fd: 1256s # * @object: A #TestFDPassing. 1256s # * @invocation: A #GDBusMethodInvocation. 1256s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1256s # * @arg_greeting: Argument passed by remote caller. 1256s # * 1256s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 1256s # * 1256s # * 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. 1256s # * 1256s # * 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. 1256s # */ 1256s # g_signal_new ("handle-hello-fd", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 1256s # g_signal_accumulator_true_handled, 1256s # NULL, 1256s # test_fdpassing_method_marshal_hello_fd, 1256s # G_TYPE_BOOLEAN, 1256s # 3, 1256s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * test_fdpassing_call_hello_fd: 1256s # * @proxy: A #TestFDPassingProxy. 1256s # * @arg_greeting: Argument to pass with the method invocation. 1256s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 1256s # * 1256s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 1256s # */ 1256s # void 1256s # test_fdpassing_call_hello_fd ( 1256s # TestFDPassing *proxy, 1256s # const gchar *arg_greeting, 1256s # GUnixFDList *fd_list, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 1256s # "HelloFD", 1256s # g_variant_new ("(s)", 1256s # arg_greeting), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # fd_list, 1256s # cancellable, 1256s # callback, 1256s # user_data); 1256s # } 1256s # 1256s # /** 1256s # * test_fdpassing_call_hello_fd_finish: 1256s # * @proxy: A #TestFDPassingProxy. 1256s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL to ignore. 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # test_fdpassing_call_hello_fd_finish ( 1256s # TestFDPassing *proxy, 1256s # gchar **out_response, 1256s # GUnixFDList **out_fd_list, 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(s)", 1256s # out_response); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * test_fdpassing_call_hello_fd_sync: 1256s # * @proxy: A #TestFDPassingProxy. 1256s # * @arg_greeting: Argument to pass with the method invocation. 1256s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1256s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 1256s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL. 1256s # * 1256s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1256s # * 1256s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 1256s # * 1256s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1256s # */ 1256s # gboolean 1256s # test_fdpassing_call_hello_fd_sync ( 1256s # TestFDPassing *proxy, 1256s # const gchar *arg_greeting, 1256s # GUnixFDList *fd_list, 1256s # gchar **out_response, 1256s # GUnixFDList **out_fd_list, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GVariant *_ret; 1256s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 1256s # "HelloFD", 1256s # g_variant_new ("(s)", 1256s # arg_greeting), 1256s # G_DBUS_CALL_FLAGS_NONE, 1256s # -1, 1256s # fd_list, 1256s # out_fd_list, 1256s # cancellable, 1256s # error); 1256s # if (_ret == NULL) 1256s # goto _out; 1256s # g_variant_get (_ret, 1256s # "(s)", 1256s # out_response); 1256s # g_variant_unref (_ret); 1256s # _out: 1256s # return _ret != NULL; 1256s # } 1256s # 1256s # /** 1256s # * test_fdpassing_complete_hello_fd: 1256s # * @object: A #TestFDPassing. 1256s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1256s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 1256s # * @response: Parameter to return. 1256s # * 1256s # * 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. 1256s # * 1256s # * This method will free @invocation, you cannot use it afterwards. 1256s # */ 1256s # void 1256s # test_fdpassing_complete_hello_fd ( 1256s # TestFDPassing *object G_GNUC_UNUSED, 1256s # GDBusMethodInvocation *invocation, 1256s # GUnixFDList *fd_list, 1256s # const gchar *response) 1256s # { 1256s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 1256s # g_variant_new ("(s)", 1256s # response), 1256s # fd_list); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * TestFDPassingProxy: 1256s # * 1256s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * TestFDPassingProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #TestFDPassingProxy. 1256s # */ 1256s # 1256s # struct _TestFDPassingProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (TestFDPassingProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # test_fdpassing_proxy_finalize (GObject *object) 1256s # { 1256s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = test_fdpassing_proxy_finalize; 1256s # gobject_class->get_property = test_fdpassing_proxy_get_property; 1256s # gobject_class->set_property = test_fdpassing_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 1256s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * test_fdpassing_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # test_fdpassing_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # 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); 1256s # } 1256s # 1256s # /** 1256s # * test_fdpassing_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with test_fdpassing_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # TestFDPassing * 1256s # test_fdpassing_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return TEST_FDPASSING (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * test_fdpassing_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # TestFDPassing * 1256s # test_fdpassing_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return TEST_FDPASSING (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * test_fdpassing_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # test_fdpassing_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # 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); 1256s # } 1256s # 1256s # /** 1256s # * test_fdpassing_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # TestFDPassing * 1256s # test_fdpassing_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return TEST_FDPASSING (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * test_fdpassing_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # TestFDPassing * 1256s # test_fdpassing_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return TEST_FDPASSING (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * TestFDPassingSkeleton: 1256s # * 1256s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * TestFDPassingSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #TestFDPassingSkeleton. 1256s # */ 1256s # 1256s # struct _TestFDPassingSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _test_fdpassing_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _test_fdpassing_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _test_fdpassing_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 1256s # { 1256s # _test_fdpassing_skeleton_handle_method_call, 1256s # _test_fdpassing_skeleton_handle_get_property, 1256s # _test_fdpassing_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return test_fdpassing_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (TestFDPassingSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # test_fdpassing_skeleton_finalize (GObject *object) 1256s # { 1256s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * test_fdpassing_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 1256s # * 1256s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 1256s # */ 1256s # TestFDPassing * 1256s # test_fdpassing_skeleton_new (void) 1256s # { 1256s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s ok 15 __main__.TestCodegen.test_generate_rst 1256s # gdbus-codegen: /usr/bin/gdbus-codegen 1256s # tmpdir: /tmp/tmponulc0o4 1256s # /tmp/tmponulc0o4/tmp7z22p73h.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmponulc0o4/tmp7z22p73h.xml', '--generate-rst', 'test'] 1256s # Return code: 0 1256s # Output: 1256s # 1256s # Error: 1256s ok 16 __main__.TestCodegen.test_generate_rst_method 1256s # gdbus-codegen: /usr/bin/gdbus-codegen 1256s # tmpdir: /tmp/tmpfiwbgn6l 1256s # /tmp/tmpfiwbgn6l/tmpssfunqvw.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfiwbgn6l/tmpssfunqvw.xml', '--generate-rst', 'test'] 1256s # Return code: 0 1256s # Output: 1256s # 1256s # Error: 1256s ok 17 __main__.TestCodegen.test_generate_rst_property 1256s # gdbus-codegen: /usr/bin/gdbus-codegen 1256s # tmpdir: /tmp/tmpgbb9m81f 1256s # /tmp/tmpgbb9m81f/tmpsxecha9j.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgbb9m81f/tmpsxecha9j.xml', '--generate-rst', 'test'] 1256s # Return code: 0 1256s # Output: 1256s # 1256s # Error: 1256s ok 18 __main__.TestCodegen.test_generate_rst_signal 1256s # gdbus-codegen: /usr/bin/gdbus-codegen 1256s # tmpdir: /tmp/tmpl11od1hj 1256s # /tmp/tmpl11od1hj/tmpfizda8sj.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl11od1hj/tmpfizda8sj.xml', '--generate-rst', 'test'] 1256s # Return code: 0 1256s # Output: 1256s # 1256s # Error: 1256s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 1256s # gdbus-codegen: /usr/bin/gdbus-codegen 1256s # tmpdir: /tmp/tmp9pra8q26 1256s # /tmp/tmp9pra8q26/tmpy_n3ityy.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9pra8q26/tmpy_n3ityy.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1256s # GClosure *closure, 1256s # GValue *return_value G_GNUC_UNUSED, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1256s # (void *data1, 1256s # gboolean arg_an_b, 1256s # guchar arg_an_y, 1256s # gint16 arg_an_n, 1256s # guint16 arg_an_q, 1256s # gint arg_an_i, 1256s # guint arg_an_u, 1256s # gint64 arg_an_x, 1256s # guint64 arg_an_t, 1256s # gdouble arg_an_d, 1256s # const gchar *arg_an_s, 1256s # const gchar *arg_an_o, 1256s # const gchar *arg_an_g, 1256s # GVariant *arg_an_h, 1256s # const gchar *arg_an_ay, 1256s # const gchar *const *arg_an_as, 1256s # const gchar *const *arg_an_ao, 1256s # const gchar *const *arg_an_aay, 1256s # GVariant *arg_an_asv, 1256s # void *data2); 1256s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # 1256s # g_return_if_fail (n_param_values == 19); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # callback (data1, 1256s # g_marshal_value_peek_boolean (param_values + 1), 1256s # g_marshal_value_peek_uchar (param_values + 2), 1256s # g_marshal_value_peek_int (param_values + 3), 1256s # g_marshal_value_peek_uint (param_values + 4), 1256s # g_marshal_value_peek_int (param_values + 5), 1256s # g_marshal_value_peek_uint (param_values + 6), 1256s # g_marshal_value_peek_int64 (param_values + 7), 1256s # g_marshal_value_peek_uint64 (param_values + 8), 1256s # g_marshal_value_peek_double (param_values + 9), 1256s # g_marshal_value_peek_string (param_values + 10), 1256s # g_marshal_value_peek_string (param_values + 11), 1256s # g_marshal_value_peek_string (param_values + 12), 1256s # g_marshal_value_peek_variant (param_values + 13), 1256s # g_marshal_value_peek_string (param_values + 14), 1256s # g_marshal_value_peek_boxed (param_values + 15), 1256s # g_marshal_value_peek_boxed (param_values + 16), 1256s # g_marshal_value_peek_boxed (param_values + 17), 1256s # g_marshal_value_peek_variant (param_values + 18), 1256s # data2); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.SignalingIface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectSignalingIface 1256s # * @title: OrgProjectSignalingIface 1256s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1256s # */ 1256s # 1256s # enum 1256s # { 1256s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1256s # }; 1256s # 1256s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1256s # 1256s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_b", 1256s # (gchar *) "b", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_y", 1256s # (gchar *) "y", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_n", 1256s # (gchar *) "n", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_q", 1256s # (gchar *) "q", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_i", 1256s # (gchar *) "i", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_u", 1256s # (gchar *) "u", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_x", 1256s # (gchar *) "x", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_t", 1256s # (gchar *) "t", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_d", 1256s # (gchar *) "d", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_s", 1256s # (gchar *) "s", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_o", 1256s # (gchar *) "o", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_g", 1256s # (gchar *) "g", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_h", 1256s # (gchar *) "h", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_ay", 1256s # (gchar *) "ay", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_as", 1256s # (gchar *) "as", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_ao", 1256s # (gchar *) "ao", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_aay", 1256s # (gchar *) "aay", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_asv", 1256s # (gchar *) "a{sv}", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1256s # { 1256s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1256s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1256s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1256s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1256s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1256s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1256s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1256s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1256s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1256s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1256s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1256s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1256s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1256s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1256s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1256s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1256s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1256s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SignalWithManyArgs", 1256s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1256s # NULL 1256s # }, 1256s # "signal-with-many-args" 1256s # }; 1256s # 1256s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1256s # { 1256s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "org.project.SignalingIface", 1256s # NULL, 1256s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "org-project-signaling-iface", 1256s # }; 1256s # 1256s # 1256s # /** 1256s # * org_project_signaling_iface_interface_info: 1256s # * 1256s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1256s # * 1256s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1256s # */ 1256s # GDBusInterfaceInfo * 1256s # org_project_signaling_iface_interface_info (void) 1256s # { 1256s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1256s # } 1256s # 1256s # /** 1256s # * org_project_signaling_iface_override_properties: 1256s # * @klass: The class structure for a #GObject derived class. 1256s # * @property_id_begin: The property id to assign to the first overridden property. 1256s # * 1256s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1256s # * The properties are overridden in the order they are defined. 1256s # * 1256s # * Returns: The last property id. 1256s # */ 1256s # guint 1256s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1256s # { 1256s # return property_id_begin - 1; 1256s # } 1256s # 1256s # 1256s # inline static void 1256s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1256s # GClosure *closure, 1256s # GValue *return_value, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint, 1256s # void *marshal_data) 1256s # { 1256s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1256s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1256s # } 1256s # 1256s # 1256s # /** 1256s # * OrgProjectSignalingIface: 1256s # * 1256s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectSignalingIfaceIface: 1256s # * @parent_iface: The parent interface. 1256s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1256s # * 1256s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1256s # */ 1256s # 1256s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1256s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1256s # 1256s # static void 1256s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1256s # { 1256s # /* GObject signals for received D-Bus signals: */ 1256s # /** 1256s # * OrgProjectSignalingIface::signal-with-many-args: 1256s # * @object: A #OrgProjectSignalingIface. 1256s # * @arg_an_b: Argument. 1256s # * @arg_an_y: Argument. 1256s # * @arg_an_n: Argument. 1256s # * @arg_an_q: Argument. 1256s # * @arg_an_i: Argument. 1256s # * @arg_an_u: Argument. 1256s # * @arg_an_x: Argument. 1256s # * @arg_an_t: Argument. 1256s # * @arg_an_d: Argument. 1256s # * @arg_an_s: Argument. 1256s # * @arg_an_o: Argument. 1256s # * @arg_an_g: Argument. 1256s # * @arg_an_h: Argument. 1256s # * @arg_an_ay: Argument. 1256s # * @arg_an_as: Argument. 1256s # * @arg_an_ao: Argument. 1256s # * @arg_an_aay: Argument. 1256s # * @arg_an_asv: Argument. 1256s # * 1256s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1256s # * 1256s # * 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. 1256s # */ 1256s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1256s # g_signal_new ("signal-with-many-args", 1256s # G_TYPE_FROM_INTERFACE (iface), 1256s # G_SIGNAL_RUN_LAST, 1256s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1256s # NULL, 1256s # NULL, 1256s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1256s # G_TYPE_NONE, 1256s # 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); 1256s # 1256s # } 1256s # 1256s # /** 1256s # * org_project_signaling_iface_emit_signal_with_many_args: 1256s # * @object: A #OrgProjectSignalingIface. 1256s # * @arg_an_b: Argument to pass with the signal. 1256s # * @arg_an_y: Argument to pass with the signal. 1256s # * @arg_an_n: Argument to pass with the signal. 1256s # * @arg_an_q: Argument to pass with the signal. 1256s # * @arg_an_i: Argument to pass with the signal. 1256s # * @arg_an_u: Argument to pass with the signal. 1256s # * @arg_an_x: Argument to pass with the signal. 1256s # * @arg_an_t: Argument to pass with the signal. 1256s # * @arg_an_d: Argument to pass with the signal. 1256s # * @arg_an_s: Argument to pass with the signal. 1256s # * @arg_an_o: Argument to pass with the signal. 1256s # * @arg_an_g: Argument to pass with the signal. 1256s # * @arg_an_h: Argument to pass with the signal. 1256s # * @arg_an_ay: Argument to pass with the signal. 1256s # * @arg_an_as: Argument to pass with the signal. 1256s # * @arg_an_ao: Argument to pass with the signal. 1256s # * @arg_an_aay: Argument to pass with the signal. 1256s # * @arg_an_asv: Argument to pass with the signal. 1256s # * 1256s # * Emits the "SignalWithManyArgs" D-Bus signal. 1256s # */ 1256s # void 1256s # org_project_signaling_iface_emit_signal_with_many_args ( 1256s # OrgProjectSignalingIface *object, 1256s # gboolean arg_an_b, 1256s # guchar arg_an_y, 1256s # gint16 arg_an_n, 1256s # guint16 arg_an_q, 1256s # gint arg_an_i, 1256s # guint arg_an_u, 1256s # gint64 arg_an_x, 1256s # guint64 arg_an_t, 1256s # gdouble arg_an_d, 1256s # const gchar *arg_an_s, 1256s # const gchar *arg_an_o, 1256s # const gchar *arg_an_g, 1256s # GVariant *arg_an_h, 1256s # const gchar *arg_an_ay, 1256s # const gchar *const *arg_an_as, 1256s # const gchar *const *arg_an_ao, 1256s # const gchar *const *arg_an_aay, 1256s # GVariant *arg_an_asv) 1256s # { 1256s # 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); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectSignalingIfaceProxy: 1256s # * 1256s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectSignalingIfaceProxyClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectSignalingIfaceProxy. 1256s # */ 1256s # 1256s # struct _OrgProjectSignalingIfaceProxyPrivate 1256s # { 1256s # GData *qdata; 1256s # }; 1256s # 1256s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_signaling_iface_proxy_finalize (GObject *object) 1256s # { 1256s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1256s # g_datalist_clear (&proxy->priv->qdata); 1256s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1256s # guint prop_id G_GNUC_UNUSED, 1256s # const GValue *value G_GNUC_UNUSED, 1256s # GParamSpec *pspec G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1256s # const gchar *sender_name G_GNUC_UNUSED, 1256s # const gchar *signal_name, 1256s # GVariant *parameters) 1256s # { 1256s # _ExtendedGDBusSignalInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # gsize n; 1256s # guint signal_id; 1256s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1256s # if (info == NULL) 1256s # return; 1256s # num_params = g_variant_n_children (parameters); 1256s # paramv = g_new0 (GValue, num_params + 1); 1256s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1256s # g_value_set_object (¶mv[0], proxy); 1256s # g_variant_iter_init (&iter, parameters); 1256s # n = 1; 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1256s # g_signal_emitv (paramv, signal_id, 0, NULL); 1256s # for (n = 0; n < num_params + 1; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static void 1256s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1256s # GVariant *changed_properties, 1256s # const gchar *const *invalidated_properties) 1256s # { 1256s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1256s # guint n; 1256s # const gchar *key; 1256s # GVariantIter *iter; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # g_variant_get (changed_properties, "a{sv}", &iter); 1256s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1256s # g_datalist_remove_data (&proxy->priv->qdata, key); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # g_variant_iter_free (iter); 1256s # for (n = 0; invalidated_properties[n] != NULL; n++) 1256s # { 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1256s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1256s # if (info != NULL) 1256s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1256s # } 1256s # } 1256s # 1256s # static void 1256s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1256s # #else 1256s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1256s # #endif 1256s # 1256s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1256s # } 1256s # 1256s # static void 1256s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusProxyClass *proxy_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1256s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1256s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1256s # 1256s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1256s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1256s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # /** 1256s # * org_project_signaling_iface_proxy_new: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_signaling_iface_proxy_new ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # 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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_signaling_iface_proxy_new_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectSignalingIface * 1256s # org_project_signaling_iface_proxy_new_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_signaling_iface_proxy_new_sync: 1256s # * @connection: A #GDBusConnection. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectSignalingIface * 1256s # org_project_signaling_iface_proxy_new_sync ( 1256s # GDBusConnection *connection, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /** 1256s # * org_project_signaling_iface_proxy_new_for_bus: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1256s # * @user_data: User data to pass to @callback. 1256s # * 1256s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1256s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1256s # * 1256s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1256s # */ 1256s # void 1256s # org_project_signaling_iface_proxy_new_for_bus ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GAsyncReadyCallback callback, 1256s # gpointer user_data) 1256s # { 1256s # 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); 1256s # } 1256s # 1256s # /** 1256s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1256s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectSignalingIface * 1256s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1256s # GAsyncResult *res, 1256s # GError **error) 1256s # { 1256s # GObject *ret; 1256s # GObject *source_object; 1256s # source_object = g_async_result_get_source_object (res); 1256s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1256s # g_object_unref (source_object); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # /** 1256s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1256s # * @bus_type: A #GBusType. 1256s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1256s # * @name: A bus name (well-known or unique). 1256s # * @object_path: An object path. 1256s # * @cancellable: (nullable): A #GCancellable or %NULL. 1256s # * @error: Return location for error or %NULL 1256s # * 1256s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1256s # * 1256s # * The calling thread is blocked until a reply is received. 1256s # * 1256s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1256s # */ 1256s # OrgProjectSignalingIface * 1256s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1256s # GBusType bus_type, 1256s # GDBusProxyFlags flags, 1256s # const gchar *name, 1256s # const gchar *object_path, 1256s # GCancellable *cancellable, 1256s # GError **error) 1256s # { 1256s # GInitable *ret; 1256s # 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); 1256s # if (ret != NULL) 1256s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1256s # else 1256s # return NULL; 1256s # } 1256s # 1256s # 1256s # /* ------------------------------------------------------------------------ */ 1256s # 1256s # /** 1256s # * OrgProjectSignalingIfaceSkeleton: 1256s # * 1256s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1256s # */ 1256s # 1256s # /** 1256s # * OrgProjectSignalingIfaceSkeletonClass: 1256s # * @parent_class: The parent class. 1256s # * 1256s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1256s # */ 1256s # 1256s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1256s # { 1256s # GValue *properties; 1256s # GList *changed_properties; 1256s # GSource *changed_properties_idle_source; 1256s # GMainContext *context; 1256s # GMutex lock; 1256s # }; 1256s # 1256s # static void 1256s # _org_project_signaling_iface_skeleton_handle_method_call ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name, 1256s # const gchar *method_name, 1256s # GVariant *parameters, 1256s # GDBusMethodInvocation *invocation, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1256s # _ExtendedGDBusMethodInfo *info; 1256s # GVariantIter iter; 1256s # GVariant *child; 1256s # GValue *paramv; 1256s # gsize num_params; 1256s # guint num_extra; 1256s # gsize n; 1256s # guint signal_id; 1256s # GValue return_value = G_VALUE_INIT; 1256s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1256s # g_assert (info != NULL); 1256s # num_params = g_variant_n_children (parameters); 1256s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1256s # n = 0; 1256s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1256s # g_value_set_object (¶mv[n++], skeleton); 1256s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1256s # g_value_set_object (¶mv[n++], invocation); 1256s # if (info->pass_fdlist) 1256s # { 1256s # #ifdef G_OS_UNIX 1256s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1256s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1256s # #else 1256s # g_assert_not_reached (); 1256s # #endif 1256s # } 1256s # g_variant_iter_init (&iter, parameters); 1256s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1256s # { 1256s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1256s # if (arg_info->use_gvariant) 1256s # { 1256s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1256s # g_value_set_variant (¶mv[n], child); 1256s # n++; 1256s # } 1256s # else 1256s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1256s # g_variant_unref (child); 1256s # } 1256s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1256s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1256s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1256s # if (!g_value_get_boolean (&return_value)) 1256s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1256s # g_value_unset (&return_value); 1256s # for (n = 0; n < num_params + num_extra; n++) 1256s # g_value_unset (¶mv[n]); 1256s # g_free (paramv); 1256s # } 1256s # 1256s # static GVariant * 1256s # _org_project_signaling_iface_skeleton_handle_get_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # GVariant *ret; 1256s # ret = NULL; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # g_value_init (&value, pspec->value_type); 1256s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1256s # g_value_unset (&value); 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _org_project_signaling_iface_skeleton_handle_set_property ( 1256s # GDBusConnection *connection G_GNUC_UNUSED, 1256s # const gchar *sender G_GNUC_UNUSED, 1256s # const gchar *object_path G_GNUC_UNUSED, 1256s # const gchar *interface_name G_GNUC_UNUSED, 1256s # const gchar *property_name, 1256s # GVariant *variant, 1256s # GError **error, 1256s # gpointer user_data) 1256s # { 1256s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1256s # GValue value = G_VALUE_INIT; 1256s # GParamSpec *pspec; 1256s # _ExtendedGDBusPropertyInfo *info; 1256s # gboolean ret; 1256s # ret = FALSE; 1256s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1256s # g_assert (info != NULL); 1256s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1256s # if (pspec == NULL) 1256s # { 1256s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1256s # } 1256s # else 1256s # { 1256s # if (info->use_gvariant) 1256s # g_value_set_variant (&value, variant); 1256s # else 1256s # g_dbus_gvariant_to_gvalue (variant, &value); 1256s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1256s # g_value_unset (&value); 1256s # ret = TRUE; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1256s # { 1256s # _org_project_signaling_iface_skeleton_handle_method_call, 1256s # _org_project_signaling_iface_skeleton_handle_get_property, 1256s # _org_project_signaling_iface_skeleton_handle_set_property, 1256s # {NULL} 1256s # }; 1256s # 1256s # static GDBusInterfaceInfo * 1256s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return org_project_signaling_iface_interface_info (); 1256s # } 1256s # 1256s # static GDBusInterfaceVTable * 1256s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1256s # { 1256s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1256s # } 1256s # 1256s # static GVariant * 1256s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1256s # { 1256s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1256s # 1256s # GVariantBuilder builder; 1256s # guint n; 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1256s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #else 1256s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1256s # #endif 1256s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1256s # goto out; 1256s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1256s # { 1256s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1256s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1256s # { 1256s # GVariant *value; 1256s # 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); 1256s # if (value != NULL) 1256s # { 1256s # g_variant_take_ref (value); 1256s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1256s # g_variant_unref (value); 1256s # } 1256s # } 1256s # } 1256s # out: 1256s # return g_variant_builder_end (&builder); 1256s # } 1256s # 1256s # static void 1256s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1256s # { 1256s # } 1256s # 1256s # static void 1256s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1256s # OrgProjectSignalingIface *object, 1256s # gboolean arg_an_b, 1256s # guchar arg_an_y, 1256s # gint16 arg_an_n, 1256s # guint16 arg_an_q, 1256s # gint arg_an_i, 1256s # guint arg_an_u, 1256s # gint64 arg_an_x, 1256s # guint64 arg_an_t, 1256s # gdouble arg_an_d, 1256s # const gchar *arg_an_s, 1256s # const gchar *arg_an_o, 1256s # const gchar *arg_an_g, 1256s # GVariant *arg_an_h, 1256s # const gchar *arg_an_ay, 1256s # const gchar *const *arg_an_as, 1256s # const gchar *const *arg_an_ao, 1256s # const gchar *const *arg_an_aay, 1256s # GVariant *arg_an_asv) 1256s # { 1256s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1256s # 1256s # GList *connections, *l; 1256s # GVariant *signal_variant; 1256s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1256s # 1256s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1256s # arg_an_b, 1256s # arg_an_y, 1256s # arg_an_n, 1256s # arg_an_q, 1256s # arg_an_i, 1256s # arg_an_u, 1256s # arg_an_x, 1256s # arg_an_t, 1256s # arg_an_d, 1256s # arg_an_s, 1256s # arg_an_o, 1256s # arg_an_g, 1256s # arg_an_h, 1256s # arg_an_ay, 1256s # arg_an_as, 1256s # arg_an_ao, 1256s # arg_an_aay, 1256s # arg_an_asv)); 1256s # for (l = connections; l != NULL; l = l->next) 1256s # { 1256s # GDBusConnection *connection = l->data; 1256s # g_dbus_connection_emit_signal (connection, 1256s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1256s # signal_variant, NULL); 1256s # } 1256s # g_variant_unref (signal_variant); 1256s # g_list_free_full (connections, g_object_unref); 1256s # } 1256s # 1256s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1256s # 1256s # #else 1256s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1256s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1256s # 1256s # #endif 1256s # static void 1256s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1256s # { 1256s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1256s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1256s # if (skeleton->priv->changed_properties_idle_source != NULL) 1256s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1256s # g_main_context_unref (skeleton->priv->context); 1256s # g_mutex_clear (&skeleton->priv->lock); 1256s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1256s # } 1256s # 1256s # static void 1256s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1256s # { 1256s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1256s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1256s # #else 1256s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1256s # #endif 1256s # 1256s # g_mutex_init (&skeleton->priv->lock); 1256s # skeleton->priv->context = g_main_context_ref_thread_default (); 1256s # } 1256s # 1256s # static void 1256s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1256s # { 1256s # GObjectClass *gobject_class; 1256s # GDBusInterfaceSkeletonClass *skeleton_class; 1256s # 1256s # gobject_class = G_OBJECT_CLASS (klass); 1256s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1256s # 1256s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1256s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1256s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1256s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1256s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1256s # 1256s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1256s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1256s # #endif 1256s # } 1256s # 1256s # static void 1256s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1256s # { 1256s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1256s # } 1256s # 1256s # /** 1256s # * org_project_signaling_iface_skeleton_new: 1256s # * 1256s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1256s # * 1256s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1256s # */ 1256s # OrgProjectSignalingIface * 1256s # org_project_signaling_iface_skeleton_new (void) 1256s # { 1256s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1256s # } 1256s # Error: 1256s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 1256s # gdbus-codegen: /usr/bin/gdbus-codegen 1256s # tmpdir: /tmp/tmpwy51gdx9 1256s # /tmp/tmpwy51gdx9/tmpqgl827w7.xml: 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # 1256s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwy51gdx9/tmpqgl827w7.xml', '--output', '-', '--body'] 1256s # Return code: 0 1256s # Output: 1256s # /* 1256s # * This file is generated by gdbus-codegen, do not modify it. 1256s # * 1256s # * The license of this code is the same as for the D-Bus interface description 1256s # * it was derived from. Note that it links to GLib, so must comply with the 1256s # * LGPL linking clauses. 1256s # */ 1256s # 1256s # #ifdef HAVE_CONFIG_H 1256s # # include "config.h" 1256s # #endif 1256s # 1256s # #include 1256s # #ifdef G_OS_UNIX 1256s # # include 1256s # #endif 1256s # 1256s # #ifdef G_ENABLE_DEBUG 1256s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1256s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1256s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1256s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1256s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1256s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1256s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1256s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1256s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1256s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1256s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1256s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1256s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1256s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1256s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1256s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1256s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1256s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1256s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1256s # #else /* !G_ENABLE_DEBUG */ 1256s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1256s # * Do not access GValues directly in your code. Instead, use the 1256s # * g_value_get_*() functions 1256s # */ 1256s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1256s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1256s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1256s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1256s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1256s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1256s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1256s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1256s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1256s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1256s # #endif /* !G_ENABLE_DEBUG */ 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusArgInfo parent_struct; 1256s # gboolean use_gvariant; 1256s # } _ExtendedGDBusArgInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusMethodInfo parent_struct; 1256s # const gchar *signal_name; 1256s # gboolean pass_fdlist; 1256s # } _ExtendedGDBusMethodInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusSignalInfo parent_struct; 1256s # const gchar *signal_name; 1256s # } _ExtendedGDBusSignalInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusPropertyInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # guint use_gvariant : 1; 1256s # guint emits_changed_signal : 1; 1256s # } _ExtendedGDBusPropertyInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # GDBusInterfaceInfo parent_struct; 1256s # const gchar *hyphen_name; 1256s # } _ExtendedGDBusInterfaceInfo; 1256s # 1256s # typedef struct 1256s # { 1256s # const _ExtendedGDBusPropertyInfo *info; 1256s # guint prop_id; 1256s # GValue orig_value; /* the value before the change */ 1256s # } ChangedProperty; 1256s # 1256s # static void 1256s # _changed_property_free (ChangedProperty *data) 1256s # { 1256s # g_value_unset (&data->orig_value); 1256s # g_free (data); 1256s # } 1256s # 1256s # static gboolean 1256s # _g_strv_equal0 (gchar **a, gchar **b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # guint n; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # if (g_strv_length (a) != g_strv_length (b)) 1256s # goto out; 1256s # for (n = 0; a[n] != NULL; n++) 1256s # if (g_strcmp0 (a[n], b[n]) != 0) 1256s # goto out; 1256s # ret = TRUE; 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # static gboolean 1256s # _g_variant_equal0 (GVariant *a, GVariant *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # if (a == NULL && b == NULL) 1256s # { 1256s # ret = TRUE; 1256s # goto out; 1256s # } 1256s # if (a == NULL || b == NULL) 1256s # goto out; 1256s # ret = g_variant_equal (a, b); 1256s # out: 1256s # return ret; 1256s # } 1256s # 1256s # G_GNUC_UNUSED static gboolean 1256s # _g_value_equal (const GValue *a, const GValue *b) 1256s # { 1256s # gboolean ret = FALSE; 1256s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1256s # switch (G_VALUE_TYPE (a)) 1256s # { 1256s # case G_TYPE_BOOLEAN: 1256s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1256s # break; 1256s # case G_TYPE_UCHAR: 1256s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1256s # break; 1256s # case G_TYPE_INT: 1256s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1256s # break; 1256s # case G_TYPE_UINT: 1256s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1256s # break; 1256s # case G_TYPE_INT64: 1256s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1256s # break; 1256s # case G_TYPE_UINT64: 1256s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1256s # break; 1256s # case G_TYPE_DOUBLE: 1256s # { 1256s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1256s # gdouble da = g_value_get_double (a); 1256s # gdouble db = g_value_get_double (b); 1256s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1256s # } 1256s # break; 1256s # case G_TYPE_STRING: 1256s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1256s # break; 1256s # case G_TYPE_VARIANT: 1256s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1256s # break; 1256s # default: 1256s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1256s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1256s # else 1256s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1256s # break; 1256s # } 1256s # return ret; 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_VOID__INT64 ( 1256s # GClosure *closure, 1256s # GValue *return_value G_GNUC_UNUSED, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1256s # (void *data1, 1256s # gint64 arg_an_x, 1256s # void *data2); 1256s # _GDbusCodegenMarshalVoid_Int64Func callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # 1256s # g_return_if_fail (n_param_values == 2); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # callback (data1, 1256s # g_marshal_value_peek_int64 (param_values + 1), 1256s # data2); 1256s # } 1256s # 1256s # static void 1256s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1256s # GClosure *closure, 1256s # GValue *return_value G_GNUC_UNUSED, 1256s # unsigned int n_param_values, 1256s # const GValue *param_values, 1256s # void *invocation_hint G_GNUC_UNUSED, 1256s # void *marshal_data) 1256s # { 1256s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1256s # (void *data1, 1256s # guint64 arg_an_t, 1256s # void *data2); 1256s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1256s # GCClosure *cc = (GCClosure*) closure; 1256s # void *data1, *data2; 1256s # 1256s # g_return_if_fail (n_param_values == 2); 1256s # 1256s # if (G_CCLOSURE_SWAP_DATA (closure)) 1256s # { 1256s # data1 = closure->data; 1256s # data2 = g_value_peek_pointer (param_values + 0); 1256s # } 1256s # else 1256s # { 1256s # data1 = g_value_peek_pointer (param_values + 0); 1256s # data2 = closure->data; 1256s # } 1256s # 1256s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1256s # (marshal_data ? marshal_data : cc->callback); 1256s # 1256s # callback (data1, 1256s # g_marshal_value_peek_uint64 (param_values + 1), 1256s # data2); 1256s # } 1256s # 1256s # /* ------------------------------------------------------------------------ 1256s # * Code for interface org.project.SignalingIface 1256s # * ------------------------------------------------------------------------ 1256s # */ 1256s # 1256s # /** 1256s # * SECTION:OrgProjectSignalingIface 1256s # * @title: OrgProjectSignalingIface 1256s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1256s # * 1256s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1256s # */ 1256s # 1256s # enum 1256s # { 1256s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 1256s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1256s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1256s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1256s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1256s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1256s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1256s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1256s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1256s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1256s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1256s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1256s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1256s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1256s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1256s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1256s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1256s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1256s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1256s # }; 1256s # 1256s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 1256s # 1256s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1256s # 1256s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "NoArgSignal", 1256s # NULL, 1256s # NULL 1256s # }, 1256s # "no-arg-signal" 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_b", 1256s # (gchar *) "b", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1256s # { 1256s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgSignalB", 1256s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1256s # NULL 1256s # }, 1256s # "single-arg-signal-b" 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_y", 1256s # (gchar *) "y", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1256s # { 1256s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgSignalY", 1256s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1256s # NULL 1256s # }, 1256s # "single-arg-signal-y" 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_n", 1256s # (gchar *) "n", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1256s # { 1256s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgSignalN", 1256s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1256s # NULL 1256s # }, 1256s # "single-arg-signal-n" 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_q", 1256s # (gchar *) "q", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1256s # { 1256s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgSignalQ", 1256s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1256s # NULL 1256s # }, 1256s # "single-arg-signal-q" 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_i", 1256s # (gchar *) "i", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1256s # { 1256s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgSignalI", 1256s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1256s # NULL 1256s # }, 1256s # "single-arg-signal-i" 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_u", 1256s # (gchar *) "u", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1256s # { 1256s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 1256s # NULL 1256s # }; 1256s # 1256s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "SingleArgSignalU", 1256s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1256s # NULL 1256s # }, 1256s # "single-arg-signal-u" 1256s # }; 1256s # 1256s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 1256s # { 1256s # { 1256s # -1, 1256s # (gchar *) "an_x", 1256s # (gchar *) "x", 1256s # NULL 1256s # }, 1256s # FALSE 1256s # }; 1256s # 1256s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1256s # { 1256s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 1256s # NULL 1256s # }; 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SingleArgSignalX", 1257s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1257s # NULL 1257s # }, 1257s # "single-arg-signal-x" 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "an_t", 1257s # (gchar *) "t", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SingleArgSignalT", 1257s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1257s # NULL 1257s # }, 1257s # "single-arg-signal-t" 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "an_d", 1257s # (gchar *) "d", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SingleArgSignalD", 1257s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1257s # NULL 1257s # }, 1257s # "single-arg-signal-d" 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "an_s", 1257s # (gchar *) "s", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SingleArgSignalS", 1257s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1257s # NULL 1257s # }, 1257s # "single-arg-signal-s" 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "an_o", 1257s # (gchar *) "o", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SingleArgSignalO", 1257s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1257s # NULL 1257s # }, 1257s # "single-arg-signal-o" 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "an_g", 1257s # (gchar *) "g", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SingleArgSignalG", 1257s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1257s # NULL 1257s # }, 1257s # "single-arg-signal-g" 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "an_h", 1257s # (gchar *) "h", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SingleArgSignalH", 1257s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1257s # NULL 1257s # }, 1257s # "single-arg-signal-h" 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "an_ay", 1257s # (gchar *) "ay", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SingleArgSignalAY", 1257s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1257s # NULL 1257s # }, 1257s # "single-arg-signal-ay" 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "an_as", 1257s # (gchar *) "as", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SingleArgSignalAS", 1257s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1257s # NULL 1257s # }, 1257s # "single-arg-signal-as" 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "an_ao", 1257s # (gchar *) "ao", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SingleArgSignalAO", 1257s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1257s # NULL 1257s # }, 1257s # "single-arg-signal-ao" 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "an_aay", 1257s # (gchar *) "aay", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SingleArgSignalAAY", 1257s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1257s # NULL 1257s # }, 1257s # "single-arg-signal-aay" 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "an_asv", 1257s # (gchar *) "a{sv}", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SingleArgSignalASV", 1257s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1257s # NULL 1257s # }, 1257s # "single-arg-signal-asv" 1257s # }; 1257s # 1257s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "org.project.SignalingIface", 1257s # NULL, 1257s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "org-project-signaling-iface", 1257s # }; 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_interface_info: 1257s # * 1257s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1257s # * 1257s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1257s # */ 1257s # GDBusInterfaceInfo * 1257s # org_project_signaling_iface_interface_info (void) 1257s # { 1257s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_override_properties: 1257s # * @klass: The class structure for a #GObject derived class. 1257s # * @property_id_begin: The property id to assign to the first overridden property. 1257s # * 1257s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1257s # * The properties are overridden in the order they are defined. 1257s # * 1257s # * Returns: The last property id. 1257s # */ 1257s # guint 1257s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1257s # { 1257s # return property_id_begin - 1; 1257s # } 1257s # 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__VOID (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__UCHAR (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__INT (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__UINT (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__INT (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__UINT (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__DOUBLE (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__STRING (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__STRING (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__STRING (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__VARIANT (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__STRING (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__BOXED (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__BOXED (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__BOXED (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__VARIANT (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface: 1257s # * 1257s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceIface: 1257s # * @parent_iface: The parent interface. 1257s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 1257s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1257s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1257s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1257s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1257s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1257s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1257s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1257s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1257s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1257s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1257s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1257s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1257s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1257s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1257s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1257s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1257s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1257s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1257s # * 1257s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1257s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1257s # 1257s # static void 1257s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # /* GObject signals for received D-Bus signals: */ 1257s # /** 1257s # * OrgProjectSignalingIface::no-arg-signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 1257s # g_signal_new ("no-arg-signal", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_no_arg_signal, 1257s # G_TYPE_NONE, 1257s # 0); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-b: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_b: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1257s # g_signal_new ("single-arg-signal-b", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_BOOLEAN); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-y: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_y: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1257s # g_signal_new ("single-arg-signal-y", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_UCHAR); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-n: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_n: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1257s # g_signal_new ("single-arg-signal-n", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_INT); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-q: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_q: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1257s # g_signal_new ("single-arg-signal-q", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_UINT); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-i: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_i: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1257s # g_signal_new ("single-arg-signal-i", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_INT); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-u: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_u: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1257s # g_signal_new ("single-arg-signal-u", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_UINT); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-x: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_x: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1257s # g_signal_new ("single-arg-signal-x", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_INT64); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-t: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_t: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1257s # g_signal_new ("single-arg-signal-t", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_UINT64); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-d: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_d: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1257s # g_signal_new ("single-arg-signal-d", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_DOUBLE); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-s: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_s: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1257s # g_signal_new ("single-arg-signal-s", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_STRING); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-o: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_o: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1257s # g_signal_new ("single-arg-signal-o", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_STRING); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-g: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_g: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1257s # g_signal_new ("single-arg-signal-g", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_STRING); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-h: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_h: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1257s # g_signal_new ("single-arg-signal-h", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_VARIANT); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-ay: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_ay: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1257s # g_signal_new ("single-arg-signal-ay", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_STRING); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-as: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_as: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1257s # g_signal_new ("single-arg-signal-as", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_STRV); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-ao: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_ao: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1257s # g_signal_new ("single-arg-signal-ao", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_STRV); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-aay: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_aay: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1257s # g_signal_new ("single-arg-signal-aay", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_STRV); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-asv: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_asv: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1257s # g_signal_new ("single-arg-signal-asv", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_VARIANT); 1257s # 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_no_arg_signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * Emits the "NoArgSignal" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_no_arg_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_b: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_b: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalB" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_b ( 1257s # OrgProjectSignalingIface *object, 1257s # gboolean arg_an_b) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_y: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_y: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalY" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_y ( 1257s # OrgProjectSignalingIface *object, 1257s # guchar arg_an_y) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_n: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_n: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalN" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_n ( 1257s # OrgProjectSignalingIface *object, 1257s # gint16 arg_an_n) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_q: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_q: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalQ" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_q ( 1257s # OrgProjectSignalingIface *object, 1257s # guint16 arg_an_q) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_i: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_i: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalI" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_i ( 1257s # OrgProjectSignalingIface *object, 1257s # gint arg_an_i) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_u: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_u: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalU" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_u ( 1257s # OrgProjectSignalingIface *object, 1257s # guint arg_an_u) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_x: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_x: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalX" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_x ( 1257s # OrgProjectSignalingIface *object, 1257s # gint64 arg_an_x) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_t: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_t: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalT" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_t ( 1257s # OrgProjectSignalingIface *object, 1257s # guint64 arg_an_t) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_d: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_d: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalD" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_d ( 1257s # OrgProjectSignalingIface *object, 1257s # gdouble arg_an_d) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_s: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_s: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalS" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_s ( 1257s # OrgProjectSignalingIface *object, 1257s # const gchar *arg_an_s) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_o: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_o: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalO" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_o ( 1257s # OrgProjectSignalingIface *object, 1257s # const gchar *arg_an_o) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_g: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_g: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalG" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_g ( 1257s # OrgProjectSignalingIface *object, 1257s # const gchar *arg_an_g) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_h: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_h: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalH" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_h ( 1257s # OrgProjectSignalingIface *object, 1257s # GVariant *arg_an_h) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_ay: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalAY" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1257s # OrgProjectSignalingIface *object, 1257s # const gchar *arg_an_ay) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_as: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_as: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalAS" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_as ( 1257s # OrgProjectSignalingIface *object, 1257s # const gchar *const *arg_an_as) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_ao: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalAO" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1257s # OrgProjectSignalingIface *object, 1257s # const gchar *const *arg_an_ao) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_aay: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalAAY" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1257s # OrgProjectSignalingIface *object, 1257s # const gchar *const *arg_an_aay) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_asv: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalASV" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1257s # OrgProjectSignalingIface *object, 1257s # GVariant *arg_an_asv) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxy: 1257s # * 1257s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxyClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceProxy. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceProxyPrivate 1257s # { 1257s # GData *qdata; 1257s # }; 1257s # 1257s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_proxy_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1257s # g_datalist_clear (&proxy->priv->qdata); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # const GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1257s # const gchar *sender_name G_GNUC_UNUSED, 1257s # const gchar *signal_name, 1257s # GVariant *parameters) 1257s # { 1257s # _ExtendedGDBusSignalInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # gsize n; 1257s # guint signal_id; 1257s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1257s # if (info == NULL) 1257s # return; 1257s # num_params = g_variant_n_children (parameters); 1257s # paramv = g_new0 (GValue, num_params + 1); 1257s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[0], proxy); 1257s # g_variant_iter_init (&iter, parameters); 1257s # n = 1; 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_signal_emitv (paramv, signal_id, 0, NULL); 1257s # for (n = 0; n < num_params + 1; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1257s # GVariant *changed_properties, 1257s # const gchar *const *invalidated_properties) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1257s # guint n; 1257s # const gchar *key; 1257s # GVariantIter *iter; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # g_variant_get (changed_properties, "a{sv}", &iter); 1257s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1257s # g_datalist_remove_data (&proxy->priv->qdata, key); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # g_variant_iter_free (iter); 1257s # for (n = 0; invalidated_properties[n] != NULL; n++) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1257s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1257s # #else 1257s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1257s # #endif 1257s # 1257s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusProxyClass *proxy_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1257s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1257s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1257s # 1257s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1257s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1257s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_sync: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_sync ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new_for_bus ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeleton: 1257s # * 1257s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeletonClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1257s # { 1257s # GValue *properties; 1257s # GList *changed_properties; 1257s # GSource *changed_properties_idle_source; 1257s # GMainContext *context; 1257s # GMutex lock; 1257s # }; 1257s # 1257s # static void 1257s # _org_project_signaling_iface_skeleton_handle_method_call ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name, 1257s # const gchar *method_name, 1257s # GVariant *parameters, 1257s # GDBusMethodInvocation *invocation, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # _ExtendedGDBusMethodInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # guint num_extra; 1257s # gsize n; 1257s # guint signal_id; 1257s # GValue return_value = G_VALUE_INIT; 1257s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1257s # g_assert (info != NULL); 1257s # num_params = g_variant_n_children (parameters); 1257s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1257s # n = 0; 1257s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[n++], skeleton); 1257s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1257s # g_value_set_object (¶mv[n++], invocation); 1257s # if (info->pass_fdlist) 1257s # { 1257s # #ifdef G_OS_UNIX 1257s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1257s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1257s # #else 1257s # g_assert_not_reached (); 1257s # #endif 1257s # } 1257s # g_variant_iter_init (&iter, parameters); 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1257s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1257s # if (!g_value_get_boolean (&return_value)) 1257s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1257s # g_value_unset (&return_value); 1257s # for (n = 0; n < num_params + num_extra; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static GVariant * 1257s # _org_project_signaling_iface_skeleton_handle_get_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # GVariant *ret; 1257s # ret = NULL; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # g_value_init (&value, pspec->value_type); 1257s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1257s # g_value_unset (&value); 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _org_project_signaling_iface_skeleton_handle_set_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GVariant *variant, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # gboolean ret; 1257s # ret = FALSE; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # if (info->use_gvariant) 1257s # g_value_set_variant (&value, variant); 1257s # else 1257s # g_dbus_gvariant_to_gvalue (variant, &value); 1257s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # g_value_unset (&value); 1257s # ret = TRUE; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1257s # { 1257s # _org_project_signaling_iface_skeleton_handle_method_call, 1257s # _org_project_signaling_iface_skeleton_handle_get_property, 1257s # _org_project_signaling_iface_skeleton_handle_set_property, 1257s # {NULL} 1257s # }; 1257s # 1257s # static GDBusInterfaceInfo * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return org_project_signaling_iface_interface_info (); 1257s # } 1257s # 1257s # static GDBusInterfaceVTable * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1257s # } 1257s # 1257s # static GVariant * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1257s # 1257s # GVariantBuilder builder; 1257s # guint n; 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1257s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #else 1257s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #endif 1257s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1257s # goto out; 1257s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1257s # { 1257s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1257s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1257s # { 1257s # GVariant *value; 1257s # 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); 1257s # if (value != NULL) 1257s # { 1257s # g_variant_take_ref (value); 1257s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1257s # g_variant_unref (value); 1257s # } 1257s # } 1257s # } 1257s # out: 1257s # return g_variant_builder_end (&builder); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_no_arg_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1257s # OrgProjectSignalingIface *object, 1257s # gboolean arg_an_b) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1257s # arg_an_b)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1257s # OrgProjectSignalingIface *object, 1257s # guchar arg_an_y) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1257s # arg_an_y)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1257s # OrgProjectSignalingIface *object, 1257s # gint16 arg_an_n) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1257s # arg_an_n)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1257s # OrgProjectSignalingIface *object, 1257s # guint16 arg_an_q) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1257s # arg_an_q)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1257s # OrgProjectSignalingIface *object, 1257s # gint arg_an_i) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1257s # arg_an_i)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1257s # OrgProjectSignalingIface *object, 1257s # guint arg_an_u) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1257s # arg_an_u)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1257s # OrgProjectSignalingIface *object, 1257s # gint64 arg_an_x) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1257s # arg_an_x)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1257s # OrgProjectSignalingIface *object, 1257s # guint64 arg_an_t) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1257s # arg_an_t)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1257s # OrgProjectSignalingIface *object, 1257s # gdouble arg_an_d) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1257s # arg_an_d)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1257s # OrgProjectSignalingIface *object, 1257s # const gchar *arg_an_s) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1257s # arg_an_s)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1257s # OrgProjectSignalingIface *object, 1257s # const gchar *arg_an_o) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1257s # arg_an_o)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1257s # OrgProjectSignalingIface *object, 1257s # const gchar *arg_an_g) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1257s # arg_an_g)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1257s # OrgProjectSignalingIface *object, 1257s # GVariant *arg_an_h) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1257s # arg_an_h)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1257s # OrgProjectSignalingIface *object, 1257s # const gchar *arg_an_ay) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1257s # arg_an_ay)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1257s # OrgProjectSignalingIface *object, 1257s # const gchar *const *arg_an_as) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1257s # arg_an_as)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1257s # OrgProjectSignalingIface *object, 1257s # const gchar *const *arg_an_ao) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1257s # arg_an_ao)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1257s # OrgProjectSignalingIface *object, 1257s # const gchar *const *arg_an_aay) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1257s # arg_an_aay)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1257s # OrgProjectSignalingIface *object, 1257s # GVariant *arg_an_asv) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1257s # arg_an_asv)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1257s # if (skeleton->priv->changed_properties_idle_source != NULL) 1257s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1257s # g_main_context_unref (skeleton->priv->context); 1257s # g_mutex_clear (&skeleton->priv->lock); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1257s # #else 1257s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1257s # #endif 1257s # 1257s # g_mutex_init (&skeleton->priv->lock); 1257s # skeleton->priv->context = g_main_context_ref_thread_default (); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusInterfaceSkeletonClass *skeleton_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1257s # 1257s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1257s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1257s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1257s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1257s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 1257s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1257s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1257s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1257s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1257s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1257s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1257s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1257s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1257s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1257s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1257s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1257s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1257s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1257s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1257s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1257s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1257s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1257s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_skeleton_new: 1257s # * 1257s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_skeleton_new (void) 1257s # { 1257s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1257s # } 1257s # Error: 1257s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 1257s # gdbus-codegen: /usr/bin/gdbus-codegen 1257s # tmpdir: /tmp/tmprdkbx23w 1257s # /tmp/tmprdkbx23w/tmpfbozcf8c.xml: 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprdkbx23w/tmpfbozcf8c.xml', '--output', '-', '--body'] 1257s # Return code: 0 1257s # Output: 1257s # /* 1257s # * This file is generated by gdbus-codegen, do not modify it. 1257s # * 1257s # * The license of this code is the same as for the D-Bus interface description 1257s # * it was derived from. Note that it links to GLib, so must comply with the 1257s # * LGPL linking clauses. 1257s # */ 1257s # 1257s # #ifdef HAVE_CONFIG_H 1257s # # include "config.h" 1257s # #endif 1257s # 1257s # #include 1257s # #ifdef G_OS_UNIX 1257s # # include 1257s # #endif 1257s # 1257s # #ifdef G_ENABLE_DEBUG 1257s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1257s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1257s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1257s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1257s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1257s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1257s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1257s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1257s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1257s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1257s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1257s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1257s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1257s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1257s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1257s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1257s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1257s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1257s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1257s # #else /* !G_ENABLE_DEBUG */ 1257s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1257s # * Do not access GValues directly in your code. Instead, use the 1257s # * g_value_get_*() functions 1257s # */ 1257s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1257s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1257s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1257s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1257s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1257s # #endif /* !G_ENABLE_DEBUG */ 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusArgInfo parent_struct; 1257s # gboolean use_gvariant; 1257s # } _ExtendedGDBusArgInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusMethodInfo parent_struct; 1257s # const gchar *signal_name; 1257s # gboolean pass_fdlist; 1257s # } _ExtendedGDBusMethodInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusSignalInfo parent_struct; 1257s # const gchar *signal_name; 1257s # } _ExtendedGDBusSignalInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusPropertyInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # guint use_gvariant : 1; 1257s # guint emits_changed_signal : 1; 1257s # } _ExtendedGDBusPropertyInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusInterfaceInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # } _ExtendedGDBusInterfaceInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # const _ExtendedGDBusPropertyInfo *info; 1257s # guint prop_id; 1257s # GValue orig_value; /* the value before the change */ 1257s # } ChangedProperty; 1257s # 1257s # static void 1257s # _changed_property_free (ChangedProperty *data) 1257s # { 1257s # g_value_unset (&data->orig_value); 1257s # g_free (data); 1257s # } 1257s # 1257s # static gboolean 1257s # _g_strv_equal0 (gchar **a, gchar **b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # guint n; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # if (g_strv_length (a) != g_strv_length (b)) 1257s # goto out; 1257s # for (n = 0; a[n] != NULL; n++) 1257s # if (g_strcmp0 (a[n], b[n]) != 0) 1257s # goto out; 1257s # ret = TRUE; 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _g_variant_equal0 (GVariant *a, GVariant *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # ret = g_variant_equal (a, b); 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # G_GNUC_UNUSED static gboolean 1257s # _g_value_equal (const GValue *a, const GValue *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1257s # switch (G_VALUE_TYPE (a)) 1257s # { 1257s # case G_TYPE_BOOLEAN: 1257s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1257s # break; 1257s # case G_TYPE_UCHAR: 1257s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1257s # break; 1257s # case G_TYPE_INT: 1257s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1257s # break; 1257s # case G_TYPE_UINT: 1257s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1257s # break; 1257s # case G_TYPE_INT64: 1257s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1257s # break; 1257s # case G_TYPE_UINT64: 1257s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1257s # break; 1257s # case G_TYPE_DOUBLE: 1257s # { 1257s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1257s # gdouble da = g_value_get_double (a); 1257s # gdouble db = g_value_get_double (b); 1257s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1257s # } 1257s # break; 1257s # case G_TYPE_STRING: 1257s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1257s # break; 1257s # case G_TYPE_VARIANT: 1257s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1257s # break; 1257s # default: 1257s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1257s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1257s # else 1257s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1257s # break; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ 1257s # * Code for interface org.project.UsefulInterface 1257s # * ------------------------------------------------------------------------ 1257s # */ 1257s # 1257s # /** 1257s # * SECTION:OrgProjectUsefulInterface 1257s # * @title: OrgProjectUsefulInterface 1257s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 1257s # * 1257s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 1257s # */ 1257s # 1257s # enum 1257s # { 1257s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 1257s # }; 1257s # 1257s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 1257s # 1257s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SimpleSignal", 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "simple-signal" 1257s # }; 1257s # 1257s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 1257s # { 1257s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "org.project.UsefulInterface", 1257s # NULL, 1257s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "org-project-useful-interface", 1257s # }; 1257s # 1257s # 1257s # /** 1257s # * org_project_useful_interface_interface_info: 1257s # * 1257s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 1257s # * 1257s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1257s # */ 1257s # GDBusInterfaceInfo * 1257s # org_project_useful_interface_interface_info (void) 1257s # { 1257s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 1257s # } 1257s # 1257s # /** 1257s # * org_project_useful_interface_override_properties: 1257s # * @klass: The class structure for a #GObject derived class. 1257s # * @property_id_begin: The property id to assign to the first overridden property. 1257s # * 1257s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 1257s # * The properties are overridden in the order they are defined. 1257s # * 1257s # * Returns: The last property id. 1257s # */ 1257s # guint 1257s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1257s # { 1257s # return property_id_begin - 1; 1257s # } 1257s # 1257s # 1257s # inline static void 1257s # org_project_useful_interface_signal_marshal_simple_signal ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__VOID (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # 1257s # /** 1257s # * OrgProjectUsefulInterface: 1257s # * 1257s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectUsefulInterfaceIface: 1257s # * @parent_iface: The parent interface. 1257s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 1257s # * 1257s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 1257s # */ 1257s # 1257s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 1257s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 1257s # 1257s # static void 1257s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 1257s # { 1257s # /* GObject signals for received D-Bus signals: */ 1257s # /** 1257s # * OrgProjectUsefulInterface::simple-signal: 1257s # * @object: A #OrgProjectUsefulInterface. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 1257s # g_signal_new ("simple-signal", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 1257s # NULL, 1257s # NULL, 1257s # org_project_useful_interface_signal_marshal_simple_signal, 1257s # G_TYPE_NONE, 1257s # 0); 1257s # 1257s # } 1257s # 1257s # /** 1257s # * org_project_useful_interface_emit_simple_signal: 1257s # * @object: A #OrgProjectUsefulInterface. 1257s # * 1257s # * Emits the "SimpleSignal" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_useful_interface_emit_simple_signal ( 1257s # OrgProjectUsefulInterface *object) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectUsefulInterfaceProxy: 1257s # * 1257s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectUsefulInterfaceProxyClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectUsefulInterfaceProxy. 1257s # */ 1257s # 1257s # struct _OrgProjectUsefulInterfaceProxyPrivate 1257s # { 1257s # GData *qdata; 1257s # }; 1257s # 1257s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_useful_interface_proxy_finalize (GObject *object) 1257s # { 1257s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 1257s # g_datalist_clear (&proxy->priv->qdata); 1257s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # const GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 1257s # const gchar *sender_name G_GNUC_UNUSED, 1257s # const gchar *signal_name, 1257s # GVariant *parameters) 1257s # { 1257s # _ExtendedGDBusSignalInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # gsize n; 1257s # guint signal_id; 1257s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 1257s # if (info == NULL) 1257s # return; 1257s # num_params = g_variant_n_children (parameters); 1257s # paramv = g_new0 (GValue, num_params + 1); 1257s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1257s # g_value_set_object (¶mv[0], proxy); 1257s # g_variant_iter_init (&iter, parameters); 1257s # n = 1; 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1257s # g_signal_emitv (paramv, signal_id, 0, NULL); 1257s # for (n = 0; n < num_params + 1; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static void 1257s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 1257s # GVariant *changed_properties, 1257s # const gchar *const *invalidated_properties) 1257s # { 1257s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 1257s # guint n; 1257s # const gchar *key; 1257s # GVariantIter *iter; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # g_variant_get (changed_properties, "a{sv}", &iter); 1257s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 1257s # g_datalist_remove_data (&proxy->priv->qdata, key); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # g_variant_iter_free (iter); 1257s # for (n = 0; invalidated_properties[n] != NULL; n++) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 1257s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # } 1257s # 1257s # static void 1257s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 1257s # #else 1257s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 1257s # #endif 1257s # 1257s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 1257s # } 1257s # 1257s # static void 1257s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusProxyClass *proxy_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 1257s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 1257s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 1257s # 1257s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1257s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 1257s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # /** 1257s # * org_project_useful_interface_proxy_new: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_useful_interface_proxy_new ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # g_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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_useful_interface_proxy_new_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectUsefulInterface * 1257s # org_project_useful_interface_proxy_new_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_useful_interface_proxy_new_sync: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectUsefulInterface * 1257s # org_project_useful_interface_proxy_new_sync ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /** 1257s # * org_project_useful_interface_proxy_new_for_bus: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_useful_interface_proxy_new_for_bus ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # g_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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_useful_interface_proxy_new_for_bus_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectUsefulInterface * 1257s # org_project_useful_interface_proxy_new_for_bus_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_useful_interface_proxy_new_for_bus_sync: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectUsefulInterface * 1257s # org_project_useful_interface_proxy_new_for_bus_sync ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectUsefulInterfaceSkeleton: 1257s # * 1257s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectUsefulInterfaceSkeletonClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 1257s # */ 1257s # 1257s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 1257s # { 1257s # GValue *properties; 1257s # GList *changed_properties; 1257s # GSource *changed_properties_idle_source; 1257s # GMainContext *context; 1257s # GMutex lock; 1257s # }; 1257s # 1257s # static void 1257s # _org_project_useful_interface_skeleton_handle_method_call ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name, 1257s # const gchar *method_name, 1257s # GVariant *parameters, 1257s # GDBusMethodInvocation *invocation, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1257s # _ExtendedGDBusMethodInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # guint num_extra; 1257s # gsize n; 1257s # guint signal_id; 1257s # GValue return_value = G_VALUE_INIT; 1257s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1257s # g_assert (info != NULL); 1257s # num_params = g_variant_n_children (parameters); 1257s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1257s # n = 0; 1257s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1257s # g_value_set_object (¶mv[n++], skeleton); 1257s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1257s # g_value_set_object (¶mv[n++], invocation); 1257s # if (info->pass_fdlist) 1257s # { 1257s # #ifdef G_OS_UNIX 1257s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1257s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1257s # #else 1257s # g_assert_not_reached (); 1257s # #endif 1257s # } 1257s # g_variant_iter_init (&iter, parameters); 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 1257s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1257s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1257s # if (!g_value_get_boolean (&return_value)) 1257s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1257s # g_value_unset (&return_value); 1257s # for (n = 0; n < num_params + num_extra; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static GVariant * 1257s # _org_project_useful_interface_skeleton_handle_get_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # GVariant *ret; 1257s # ret = NULL; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # g_value_init (&value, pspec->value_type); 1257s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1257s # g_value_unset (&value); 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _org_project_useful_interface_skeleton_handle_set_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GVariant *variant, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # gboolean ret; 1257s # ret = FALSE; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # if (info->use_gvariant) 1257s # g_value_set_variant (&value, variant); 1257s # else 1257s # g_dbus_gvariant_to_gvalue (variant, &value); 1257s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # g_value_unset (&value); 1257s # ret = TRUE; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 1257s # { 1257s # _org_project_useful_interface_skeleton_handle_method_call, 1257s # _org_project_useful_interface_skeleton_handle_get_property, 1257s # _org_project_useful_interface_skeleton_handle_set_property, 1257s # {NULL} 1257s # }; 1257s # 1257s # static GDBusInterfaceInfo * 1257s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return org_project_useful_interface_interface_info (); 1257s # } 1257s # 1257s # static GDBusInterfaceVTable * 1257s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 1257s # } 1257s # 1257s # static GVariant * 1257s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1257s # { 1257s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 1257s # 1257s # GVariantBuilder builder; 1257s # guint n; 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1257s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #else 1257s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #endif 1257s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 1257s # goto out; 1257s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 1257s # { 1257s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 1257s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1257s # { 1257s # GVariant *value; 1257s # 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); 1257s # if (value != NULL) 1257s # { 1257s # g_variant_take_ref (value); 1257s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1257s # g_variant_unref (value); 1257s # } 1257s # } 1257s # } 1257s # out: 1257s # return g_variant_builder_end (&builder); 1257s # } 1257s # 1257s # static void 1257s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # _org_project_useful_interface_on_signal_simple_signal ( 1257s # OrgProjectUsefulInterface *object) 1257s # { 1257s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_useful_interface_skeleton_finalize (GObject *object) 1257s # { 1257s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 1257s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1257s # if (skeleton->priv->changed_properties_idle_source != NULL) 1257s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1257s # g_main_context_unref (skeleton->priv->context); 1257s # g_mutex_clear (&skeleton->priv->lock); 1257s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 1257s # #else 1257s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 1257s # #endif 1257s # 1257s # g_mutex_init (&skeleton->priv->lock); 1257s # skeleton->priv->context = g_main_context_ref_thread_default (); 1257s # } 1257s # 1257s # static void 1257s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusInterfaceSkeletonClass *skeleton_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 1257s # 1257s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1257s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 1257s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 1257s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 1257s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 1257s # { 1257s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 1257s # } 1257s # 1257s # /** 1257s # * org_project_useful_interface_skeleton_new: 1257s # * 1257s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 1257s # */ 1257s # OrgProjectUsefulInterface * 1257s # org_project_useful_interface_skeleton_new (void) 1257s # { 1257s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ 1257s # * Code for interface org.project.OtherIface 1257s # * ------------------------------------------------------------------------ 1257s # */ 1257s # 1257s # /** 1257s # * SECTION:OrgProjectOtherIface 1257s # * @title: OrgProjectOtherIface 1257s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 1257s # * 1257s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 1257s # */ 1257s # 1257s # enum 1257s # { 1257s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 1257s # }; 1257s # 1257s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 1257s # 1257s # /* ---- Introspection data for org.project.OtherIface ---- */ 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SimpleSignal", 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "simple-signal" 1257s # }; 1257s # 1257s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 1257s # { 1257s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "org.project.OtherIface", 1257s # NULL, 1257s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "org-project-other-iface", 1257s # }; 1257s # 1257s # 1257s # /** 1257s # * org_project_other_iface_interface_info: 1257s # * 1257s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 1257s # * 1257s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1257s # */ 1257s # GDBusInterfaceInfo * 1257s # org_project_other_iface_interface_info (void) 1257s # { 1257s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 1257s # } 1257s # 1257s # /** 1257s # * org_project_other_iface_override_properties: 1257s # * @klass: The class structure for a #GObject derived class. 1257s # * @property_id_begin: The property id to assign to the first overridden property. 1257s # * 1257s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 1257s # * The properties are overridden in the order they are defined. 1257s # * 1257s # * Returns: The last property id. 1257s # */ 1257s # guint 1257s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1257s # { 1257s # return property_id_begin - 1; 1257s # } 1257s # 1257s # 1257s # inline static void 1257s # org_project_other_iface_signal_marshal_simple_signal ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__VOID (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # 1257s # /** 1257s # * OrgProjectOtherIface: 1257s # * 1257s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectOtherIfaceIface: 1257s # * @parent_iface: The parent interface. 1257s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 1257s # * 1257s # * Virtual table for the D-Bus interface org.project.OtherIface. 1257s # */ 1257s # 1257s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 1257s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 1257s # 1257s # static void 1257s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 1257s # { 1257s # /* GObject signals for received D-Bus signals: */ 1257s # /** 1257s # * OrgProjectOtherIface::simple-signal: 1257s # * @object: A #OrgProjectOtherIface. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 1257s # g_signal_new ("simple-signal", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 1257s # NULL, 1257s # NULL, 1257s # org_project_other_iface_signal_marshal_simple_signal, 1257s # G_TYPE_NONE, 1257s # 0); 1257s # 1257s # } 1257s # 1257s # /** 1257s # * org_project_other_iface_emit_simple_signal: 1257s # * @object: A #OrgProjectOtherIface. 1257s # * 1257s # * Emits the "SimpleSignal" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_other_iface_emit_simple_signal ( 1257s # OrgProjectOtherIface *object) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectOtherIfaceProxy: 1257s # * 1257s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectOtherIfaceProxyClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectOtherIfaceProxy. 1257s # */ 1257s # 1257s # struct _OrgProjectOtherIfaceProxyPrivate 1257s # { 1257s # GData *qdata; 1257s # }; 1257s # 1257s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_other_iface_proxy_finalize (GObject *object) 1257s # { 1257s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 1257s # g_datalist_clear (&proxy->priv->qdata); 1257s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # const GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 1257s # const gchar *sender_name G_GNUC_UNUSED, 1257s # const gchar *signal_name, 1257s # GVariant *parameters) 1257s # { 1257s # _ExtendedGDBusSignalInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # gsize n; 1257s # guint signal_id; 1257s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 1257s # if (info == NULL) 1257s # return; 1257s # num_params = g_variant_n_children (parameters); 1257s # paramv = g_new0 (GValue, num_params + 1); 1257s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 1257s # g_value_set_object (¶mv[0], proxy); 1257s # g_variant_iter_init (&iter, parameters); 1257s # n = 1; 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1257s # g_signal_emitv (paramv, signal_id, 0, NULL); 1257s # for (n = 0; n < num_params + 1; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static void 1257s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1257s # GVariant *changed_properties, 1257s # const gchar *const *invalidated_properties) 1257s # { 1257s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 1257s # guint n; 1257s # const gchar *key; 1257s # GVariantIter *iter; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # g_variant_get (changed_properties, "a{sv}", &iter); 1257s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 1257s # g_datalist_remove_data (&proxy->priv->qdata, key); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # g_variant_iter_free (iter); 1257s # for (n = 0; invalidated_properties[n] != NULL; n++) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 1257s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # } 1257s # 1257s # static void 1257s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 1257s # #else 1257s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 1257s # #endif 1257s # 1257s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 1257s # } 1257s # 1257s # static void 1257s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusProxyClass *proxy_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 1257s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 1257s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 1257s # 1257s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1257s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 1257s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # /** 1257s # * org_project_other_iface_proxy_new: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_other_iface_proxy_new ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_other_iface_proxy_new_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_other_iface_proxy_new(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectOtherIface * 1257s # org_project_other_iface_proxy_new_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_OTHER_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_other_iface_proxy_new_sync: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectOtherIface * 1257s # org_project_other_iface_proxy_new_sync ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_OTHER_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /** 1257s # * org_project_other_iface_proxy_new_for_bus: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_other_iface_proxy_new_for_bus ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_other_iface_proxy_new_for_bus_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectOtherIface * 1257s # org_project_other_iface_proxy_new_for_bus_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_OTHER_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_other_iface_proxy_new_for_bus_sync: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectOtherIface * 1257s # org_project_other_iface_proxy_new_for_bus_sync ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_OTHER_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectOtherIfaceSkeleton: 1257s # * 1257s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectOtherIfaceSkeletonClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectOtherIfaceSkeleton. 1257s # */ 1257s # 1257s # struct _OrgProjectOtherIfaceSkeletonPrivate 1257s # { 1257s # GValue *properties; 1257s # GList *changed_properties; 1257s # GSource *changed_properties_idle_source; 1257s # GMainContext *context; 1257s # GMutex lock; 1257s # }; 1257s # 1257s # static void 1257s # _org_project_other_iface_skeleton_handle_method_call ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name, 1257s # const gchar *method_name, 1257s # GVariant *parameters, 1257s # GDBusMethodInvocation *invocation, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1257s # _ExtendedGDBusMethodInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # guint num_extra; 1257s # gsize n; 1257s # guint signal_id; 1257s # GValue return_value = G_VALUE_INIT; 1257s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1257s # g_assert (info != NULL); 1257s # num_params = g_variant_n_children (parameters); 1257s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1257s # n = 0; 1257s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 1257s # g_value_set_object (¶mv[n++], skeleton); 1257s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1257s # g_value_set_object (¶mv[n++], invocation); 1257s # if (info->pass_fdlist) 1257s # { 1257s # #ifdef G_OS_UNIX 1257s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1257s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1257s # #else 1257s # g_assert_not_reached (); 1257s # #endif 1257s # } 1257s # g_variant_iter_init (&iter, parameters); 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 1257s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1257s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1257s # if (!g_value_get_boolean (&return_value)) 1257s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1257s # g_value_unset (&return_value); 1257s # for (n = 0; n < num_params + num_extra; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static GVariant * 1257s # _org_project_other_iface_skeleton_handle_get_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # GVariant *ret; 1257s # ret = NULL; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # g_value_init (&value, pspec->value_type); 1257s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1257s # g_value_unset (&value); 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _org_project_other_iface_skeleton_handle_set_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GVariant *variant, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # gboolean ret; 1257s # ret = FALSE; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # if (info->use_gvariant) 1257s # g_value_set_variant (&value, variant); 1257s # else 1257s # g_dbus_gvariant_to_gvalue (variant, &value); 1257s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # g_value_unset (&value); 1257s # ret = TRUE; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 1257s # { 1257s # _org_project_other_iface_skeleton_handle_method_call, 1257s # _org_project_other_iface_skeleton_handle_get_property, 1257s # _org_project_other_iface_skeleton_handle_set_property, 1257s # {NULL} 1257s # }; 1257s # 1257s # static GDBusInterfaceInfo * 1257s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return org_project_other_iface_interface_info (); 1257s # } 1257s # 1257s # static GDBusInterfaceVTable * 1257s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 1257s # } 1257s # 1257s # static GVariant * 1257s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1257s # { 1257s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 1257s # 1257s # GVariantBuilder builder; 1257s # guint n; 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1257s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #else 1257s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #endif 1257s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 1257s # goto out; 1257s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1257s # { 1257s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 1257s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1257s # { 1257s # GVariant *value; 1257s # 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); 1257s # if (value != NULL) 1257s # { 1257s # g_variant_take_ref (value); 1257s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1257s # g_variant_unref (value); 1257s # } 1257s # } 1257s # } 1257s # out: 1257s # return g_variant_builder_end (&builder); 1257s # } 1257s # 1257s # static void 1257s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # _org_project_other_iface_on_signal_simple_signal ( 1257s # OrgProjectOtherIface *object) 1257s # { 1257s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_other_iface_skeleton_finalize (GObject *object) 1257s # { 1257s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 1257s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1257s # if (skeleton->priv->changed_properties_idle_source != NULL) 1257s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1257s # g_main_context_unref (skeleton->priv->context); 1257s # g_mutex_clear (&skeleton->priv->lock); 1257s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 1257s # #else 1257s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 1257s # #endif 1257s # 1257s # g_mutex_init (&skeleton->priv->lock); 1257s # skeleton->priv->context = g_main_context_ref_thread_default (); 1257s # } 1257s # 1257s # static void 1257s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusInterfaceSkeletonClass *skeleton_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 1257s # 1257s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1257s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 1257s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 1257s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 1257s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 1257s # { 1257s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 1257s # } 1257s # 1257s # /** 1257s # * org_project_other_iface_skeleton_new: 1257s # * 1257s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 1257s # */ 1257s # OrgProjectOtherIface * 1257s # org_project_other_iface_skeleton_new (void) 1257s # { 1257s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 1257s # } 1257s # Error: 1257s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 1257s # gdbus-codegen: /usr/bin/gdbus-codegen 1257s # tmpdir: /tmp/tmp3ch7pqrh 1257s # /tmp/tmp3ch7pqrh/tmpaembogx0.xml: 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3ch7pqrh/tmpaembogx0.xml', '--output', '-', '--body'] 1257s # Return code: 0 1257s # Output: 1257s # /* 1257s # * This file is generated by gdbus-codegen, do not modify it. 1257s # * 1257s # * The license of this code is the same as for the D-Bus interface description 1257s # * it was derived from. Note that it links to GLib, so must comply with the 1257s # * LGPL linking clauses. 1257s # */ 1257s # 1257s # #ifdef HAVE_CONFIG_H 1257s # # include "config.h" 1257s # #endif 1257s # 1257s # #include 1257s # #ifdef G_OS_UNIX 1257s # # include 1257s # #endif 1257s # 1257s # #ifdef G_ENABLE_DEBUG 1257s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1257s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1257s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1257s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1257s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1257s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1257s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1257s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1257s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1257s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1257s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1257s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1257s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1257s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1257s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1257s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1257s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1257s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1257s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1257s # #else /* !G_ENABLE_DEBUG */ 1257s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1257s # * Do not access GValues directly in your code. Instead, use the 1257s # * g_value_get_*() functions 1257s # */ 1257s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1257s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1257s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1257s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1257s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1257s # #endif /* !G_ENABLE_DEBUG */ 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusArgInfo parent_struct; 1257s # gboolean use_gvariant; 1257s # } _ExtendedGDBusArgInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusMethodInfo parent_struct; 1257s # const gchar *signal_name; 1257s # gboolean pass_fdlist; 1257s # } _ExtendedGDBusMethodInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusSignalInfo parent_struct; 1257s # const gchar *signal_name; 1257s # } _ExtendedGDBusSignalInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusPropertyInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # guint use_gvariant : 1; 1257s # guint emits_changed_signal : 1; 1257s # } _ExtendedGDBusPropertyInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusInterfaceInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # } _ExtendedGDBusInterfaceInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # const _ExtendedGDBusPropertyInfo *info; 1257s # guint prop_id; 1257s # GValue orig_value; /* the value before the change */ 1257s # } ChangedProperty; 1257s # 1257s # static void 1257s # _changed_property_free (ChangedProperty *data) 1257s # { 1257s # g_value_unset (&data->orig_value); 1257s # g_free (data); 1257s # } 1257s # 1257s # static gboolean 1257s # _g_strv_equal0 (gchar **a, gchar **b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # guint n; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # if (g_strv_length (a) != g_strv_length (b)) 1257s # goto out; 1257s # for (n = 0; a[n] != NULL; n++) 1257s # if (g_strcmp0 (a[n], b[n]) != 0) 1257s # goto out; 1257s # ret = TRUE; 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _g_variant_equal0 (GVariant *a, GVariant *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # ret = g_variant_equal (a, b); 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # G_GNUC_UNUSED static gboolean 1257s # _g_value_equal (const GValue *a, const GValue *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1257s # switch (G_VALUE_TYPE (a)) 1257s # { 1257s # case G_TYPE_BOOLEAN: 1257s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1257s # break; 1257s # case G_TYPE_UCHAR: 1257s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1257s # break; 1257s # case G_TYPE_INT: 1257s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1257s # break; 1257s # case G_TYPE_UINT: 1257s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1257s # break; 1257s # case G_TYPE_INT64: 1257s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1257s # break; 1257s # case G_TYPE_UINT64: 1257s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1257s # break; 1257s # case G_TYPE_DOUBLE: 1257s # { 1257s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1257s # gdouble da = g_value_get_double (a); 1257s # gdouble db = g_value_get_double (b); 1257s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1257s # } 1257s # break; 1257s # case G_TYPE_STRING: 1257s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1257s # break; 1257s # case G_TYPE_VARIANT: 1257s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1257s # break; 1257s # default: 1257s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1257s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1257s # else 1257s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1257s # break; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ 1257s # * Code for interface org.project.SignalingIface 1257s # * ------------------------------------------------------------------------ 1257s # */ 1257s # 1257s # /** 1257s # * SECTION:OrgProjectSignalingIface 1257s # * @title: OrgProjectSignalingIface 1257s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1257s # * 1257s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1257s # */ 1257s # 1257s # enum 1257s # { 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1257s # }; 1257s # 1257s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1257s # 1257s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SimpleSignal", 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "simple-signal" 1257s # }; 1257s # 1257s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "org.project.SignalingIface", 1257s # NULL, 1257s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "org-project-signaling-iface", 1257s # }; 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_interface_info: 1257s # * 1257s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1257s # * 1257s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1257s # */ 1257s # GDBusInterfaceInfo * 1257s # org_project_signaling_iface_interface_info (void) 1257s # { 1257s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_override_properties: 1257s # * @klass: The class structure for a #GObject derived class. 1257s # * @property_id_begin: The property id to assign to the first overridden property. 1257s # * 1257s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1257s # * The properties are overridden in the order they are defined. 1257s # * 1257s # * Returns: The last property id. 1257s # */ 1257s # guint 1257s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1257s # { 1257s # return property_id_begin - 1; 1257s # } 1257s # 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_simple_signal ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__VOID (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface: 1257s # * 1257s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceIface: 1257s # * @parent_iface: The parent interface. 1257s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1257s # * 1257s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1257s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1257s # 1257s # static void 1257s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # /* GObject signals for received D-Bus signals: */ 1257s # /** 1257s # * OrgProjectSignalingIface::simple-signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1257s # g_signal_new ("simple-signal", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_simple_signal, 1257s # G_TYPE_NONE, 1257s # 0); 1257s # 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_simple_signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * Emits the "SimpleSignal" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxy: 1257s # * 1257s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxyClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceProxy. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceProxyPrivate 1257s # { 1257s # GData *qdata; 1257s # }; 1257s # 1257s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_proxy_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1257s # g_datalist_clear (&proxy->priv->qdata); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # const GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1257s # const gchar *sender_name G_GNUC_UNUSED, 1257s # const gchar *signal_name, 1257s # GVariant *parameters) 1257s # { 1257s # _ExtendedGDBusSignalInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # gsize n; 1257s # guint signal_id; 1257s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1257s # if (info == NULL) 1257s # return; 1257s # num_params = g_variant_n_children (parameters); 1257s # paramv = g_new0 (GValue, num_params + 1); 1257s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[0], proxy); 1257s # g_variant_iter_init (&iter, parameters); 1257s # n = 1; 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_signal_emitv (paramv, signal_id, 0, NULL); 1257s # for (n = 0; n < num_params + 1; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1257s # GVariant *changed_properties, 1257s # const gchar *const *invalidated_properties) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1257s # guint n; 1257s # const gchar *key; 1257s # GVariantIter *iter; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # g_variant_get (changed_properties, "a{sv}", &iter); 1257s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1257s # g_datalist_remove_data (&proxy->priv->qdata, key); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # g_variant_iter_free (iter); 1257s # for (n = 0; invalidated_properties[n] != NULL; n++) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1257s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1257s # #else 1257s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1257s # #endif 1257s # 1257s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusProxyClass *proxy_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1257s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1257s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1257s # 1257s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1257s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1257s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_sync: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_sync ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new_for_bus ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeleton: 1257s # * 1257s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeletonClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1257s # { 1257s # GValue *properties; 1257s # GList *changed_properties; 1257s # GSource *changed_properties_idle_source; 1257s # GMainContext *context; 1257s # GMutex lock; 1257s # }; 1257s # 1257s # static void 1257s # _org_project_signaling_iface_skeleton_handle_method_call ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name, 1257s # const gchar *method_name, 1257s # GVariant *parameters, 1257s # GDBusMethodInvocation *invocation, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # _ExtendedGDBusMethodInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # guint num_extra; 1257s # gsize n; 1257s # guint signal_id; 1257s # GValue return_value = G_VALUE_INIT; 1257s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1257s # g_assert (info != NULL); 1257s # num_params = g_variant_n_children (parameters); 1257s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1257s # n = 0; 1257s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[n++], skeleton); 1257s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1257s # g_value_set_object (¶mv[n++], invocation); 1257s # if (info->pass_fdlist) 1257s # { 1257s # #ifdef G_OS_UNIX 1257s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1257s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1257s # #else 1257s # g_assert_not_reached (); 1257s # #endif 1257s # } 1257s # g_variant_iter_init (&iter, parameters); 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1257s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1257s # if (!g_value_get_boolean (&return_value)) 1257s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1257s # g_value_unset (&return_value); 1257s # for (n = 0; n < num_params + num_extra; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static GVariant * 1257s # _org_project_signaling_iface_skeleton_handle_get_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # GVariant *ret; 1257s # ret = NULL; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # g_value_init (&value, pspec->value_type); 1257s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1257s # g_value_unset (&value); 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _org_project_signaling_iface_skeleton_handle_set_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GVariant *variant, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # gboolean ret; 1257s # ret = FALSE; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # if (info->use_gvariant) 1257s # g_value_set_variant (&value, variant); 1257s # else 1257s # g_dbus_gvariant_to_gvalue (variant, &value); 1257s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # g_value_unset (&value); 1257s # ret = TRUE; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1257s # { 1257s # _org_project_signaling_iface_skeleton_handle_method_call, 1257s # _org_project_signaling_iface_skeleton_handle_get_property, 1257s # _org_project_signaling_iface_skeleton_handle_set_property, 1257s # {NULL} 1257s # }; 1257s # 1257s # static GDBusInterfaceInfo * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return org_project_signaling_iface_interface_info (); 1257s # } 1257s # 1257s # static GDBusInterfaceVTable * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1257s # } 1257s # 1257s # static GVariant * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1257s # 1257s # GVariantBuilder builder; 1257s # guint n; 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1257s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #else 1257s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #endif 1257s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1257s # goto out; 1257s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1257s # { 1257s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1257s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1257s # { 1257s # GVariant *value; 1257s # 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); 1257s # if (value != NULL) 1257s # { 1257s # g_variant_take_ref (value); 1257s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1257s # g_variant_unref (value); 1257s # } 1257s # } 1257s # } 1257s # out: 1257s # return g_variant_builder_end (&builder); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1257s # if (skeleton->priv->changed_properties_idle_source != NULL) 1257s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1257s # g_main_context_unref (skeleton->priv->context); 1257s # g_mutex_clear (&skeleton->priv->lock); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1257s # #else 1257s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1257s # #endif 1257s # 1257s # g_mutex_init (&skeleton->priv->lock); 1257s # skeleton->priv->context = g_main_context_ref_thread_default (); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusInterfaceSkeletonClass *skeleton_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1257s # 1257s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1257s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1257s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1257s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1257s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_skeleton_new: 1257s # * 1257s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_skeleton_new (void) 1257s # { 1257s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ 1257s # * Code for interface org.project.OtherSignalingIface 1257s # * ------------------------------------------------------------------------ 1257s # */ 1257s # 1257s # /** 1257s # * SECTION:OrgProjectOtherSignalingIface 1257s # * @title: OrgProjectOtherSignalingIface 1257s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 1257s # * 1257s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 1257s # */ 1257s # 1257s # enum 1257s # { 1257s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 1257s # }; 1257s # 1257s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 1257s # 1257s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SimpleSignal", 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "simple-signal" 1257s # }; 1257s # 1257s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 1257s # { 1257s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "org.project.OtherSignalingIface", 1257s # NULL, 1257s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "org-project-other-signaling-iface", 1257s # }; 1257s # 1257s # 1257s # /** 1257s # * org_project_other_signaling_iface_interface_info: 1257s # * 1257s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 1257s # * 1257s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1257s # */ 1257s # GDBusInterfaceInfo * 1257s # org_project_other_signaling_iface_interface_info (void) 1257s # { 1257s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 1257s # } 1257s # 1257s # /** 1257s # * org_project_other_signaling_iface_override_properties: 1257s # * @klass: The class structure for a #GObject derived class. 1257s # * @property_id_begin: The property id to assign to the first overridden property. 1257s # * 1257s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 1257s # * The properties are overridden in the order they are defined. 1257s # * 1257s # * Returns: The last property id. 1257s # */ 1257s # guint 1257s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1257s # { 1257s # return property_id_begin - 1; 1257s # } 1257s # 1257s # 1257s # inline static void 1257s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__VOID (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # 1257s # /** 1257s # * OrgProjectOtherSignalingIface: 1257s # * 1257s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectOtherSignalingIfaceIface: 1257s # * @parent_iface: The parent interface. 1257s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 1257s # * 1257s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 1257s # */ 1257s # 1257s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 1257s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 1257s # 1257s # static void 1257s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 1257s # { 1257s # /* GObject signals for received D-Bus signals: */ 1257s # /** 1257s # * OrgProjectOtherSignalingIface::simple-signal: 1257s # * @object: A #OrgProjectOtherSignalingIface. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1257s # g_signal_new ("simple-signal", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 1257s # NULL, 1257s # NULL, 1257s # org_project_other_signaling_iface_signal_marshal_simple_signal, 1257s # G_TYPE_NONE, 1257s # 0); 1257s # 1257s # } 1257s # 1257s # /** 1257s # * org_project_other_signaling_iface_emit_simple_signal: 1257s # * @object: A #OrgProjectOtherSignalingIface. 1257s # * 1257s # * Emits the "SimpleSignal" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_other_signaling_iface_emit_simple_signal ( 1257s # OrgProjectOtherSignalingIface *object) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectOtherSignalingIfaceProxy: 1257s # * 1257s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectOtherSignalingIfaceProxyClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 1257s # */ 1257s # 1257s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 1257s # { 1257s # GData *qdata; 1257s # }; 1257s # 1257s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 1257s # { 1257s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 1257s # g_datalist_clear (&proxy->priv->qdata); 1257s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # const GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1257s # const gchar *sender_name G_GNUC_UNUSED, 1257s # const gchar *signal_name, 1257s # GVariant *parameters) 1257s # { 1257s # _ExtendedGDBusSignalInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # gsize n; 1257s # guint signal_id; 1257s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 1257s # if (info == NULL) 1257s # return; 1257s # num_params = g_variant_n_children (parameters); 1257s # paramv = g_new0 (GValue, num_params + 1); 1257s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[0], proxy); 1257s # g_variant_iter_init (&iter, parameters); 1257s # n = 1; 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1257s # g_signal_emitv (paramv, signal_id, 0, NULL); 1257s # for (n = 0; n < num_params + 1; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static void 1257s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1257s # GVariant *changed_properties, 1257s # const gchar *const *invalidated_properties) 1257s # { 1257s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 1257s # guint n; 1257s # const gchar *key; 1257s # GVariantIter *iter; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # g_variant_get (changed_properties, "a{sv}", &iter); 1257s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 1257s # g_datalist_remove_data (&proxy->priv->qdata, key); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # g_variant_iter_free (iter); 1257s # for (n = 0; invalidated_properties[n] != NULL; n++) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1257s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # } 1257s # 1257s # static void 1257s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 1257s # #else 1257s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 1257s # #endif 1257s # 1257s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 1257s # } 1257s # 1257s # static void 1257s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusProxyClass *proxy_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 1257s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 1257s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 1257s # 1257s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1257s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 1257s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # /** 1257s # * org_project_other_signaling_iface_proxy_new: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_other_signaling_iface_proxy_new ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_other_signaling_iface_proxy_new_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectOtherSignalingIface * 1257s # org_project_other_signaling_iface_proxy_new_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_other_signaling_iface_proxy_new_sync: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectOtherSignalingIface * 1257s # org_project_other_signaling_iface_proxy_new_sync ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /** 1257s # * org_project_other_signaling_iface_proxy_new_for_bus: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_other_signaling_iface_proxy_new_for_bus ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectOtherSignalingIface * 1257s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectOtherSignalingIface * 1257s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectOtherSignalingIfaceSkeleton: 1257s # * 1257s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectOtherSignalingIfaceSkeletonClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 1257s # */ 1257s # 1257s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 1257s # { 1257s # GValue *properties; 1257s # GList *changed_properties; 1257s # GSource *changed_properties_idle_source; 1257s # GMainContext *context; 1257s # GMutex lock; 1257s # }; 1257s # 1257s # static void 1257s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name, 1257s # const gchar *method_name, 1257s # GVariant *parameters, 1257s # GDBusMethodInvocation *invocation, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1257s # _ExtendedGDBusMethodInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # guint num_extra; 1257s # gsize n; 1257s # guint signal_id; 1257s # GValue return_value = G_VALUE_INIT; 1257s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1257s # g_assert (info != NULL); 1257s # num_params = g_variant_n_children (parameters); 1257s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1257s # n = 0; 1257s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[n++], skeleton); 1257s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1257s # g_value_set_object (¶mv[n++], invocation); 1257s # if (info->pass_fdlist) 1257s # { 1257s # #ifdef G_OS_UNIX 1257s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1257s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1257s # #else 1257s # g_assert_not_reached (); 1257s # #endif 1257s # } 1257s # g_variant_iter_init (&iter, parameters); 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 1257s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1257s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1257s # if (!g_value_get_boolean (&return_value)) 1257s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1257s # g_value_unset (&return_value); 1257s # for (n = 0; n < num_params + num_extra; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static GVariant * 1257s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # GVariant *ret; 1257s # ret = NULL; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # g_value_init (&value, pspec->value_type); 1257s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1257s # g_value_unset (&value); 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GVariant *variant, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # gboolean ret; 1257s # ret = FALSE; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # if (info->use_gvariant) 1257s # g_value_set_variant (&value, variant); 1257s # else 1257s # g_dbus_gvariant_to_gvalue (variant, &value); 1257s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # g_value_unset (&value); 1257s # ret = TRUE; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 1257s # { 1257s # _org_project_other_signaling_iface_skeleton_handle_method_call, 1257s # _org_project_other_signaling_iface_skeleton_handle_get_property, 1257s # _org_project_other_signaling_iface_skeleton_handle_set_property, 1257s # {NULL} 1257s # }; 1257s # 1257s # static GDBusInterfaceInfo * 1257s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return org_project_other_signaling_iface_interface_info (); 1257s # } 1257s # 1257s # static GDBusInterfaceVTable * 1257s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 1257s # } 1257s # 1257s # static GVariant * 1257s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1257s # { 1257s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 1257s # 1257s # GVariantBuilder builder; 1257s # guint n; 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1257s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #else 1257s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #endif 1257s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 1257s # goto out; 1257s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1257s # { 1257s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 1257s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1257s # { 1257s # GVariant *value; 1257s # 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); 1257s # if (value != NULL) 1257s # { 1257s # g_variant_take_ref (value); 1257s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1257s # g_variant_unref (value); 1257s # } 1257s # } 1257s # } 1257s # out: 1257s # return g_variant_builder_end (&builder); 1257s # } 1257s # 1257s # static void 1257s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # _org_project_other_signaling_iface_on_signal_simple_signal ( 1257s # OrgProjectOtherSignalingIface *object) 1257s # { 1257s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 1257s # { 1257s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 1257s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1257s # if (skeleton->priv->changed_properties_idle_source != NULL) 1257s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1257s # g_main_context_unref (skeleton->priv->context); 1257s # g_mutex_clear (&skeleton->priv->lock); 1257s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 1257s # #else 1257s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 1257s # #endif 1257s # 1257s # g_mutex_init (&skeleton->priv->lock); 1257s # skeleton->priv->context = g_main_context_ref_thread_default (); 1257s # } 1257s # 1257s # static void 1257s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusInterfaceSkeletonClass *skeleton_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 1257s # 1257s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1257s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 1257s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 1257s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 1257s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 1257s # { 1257s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 1257s # } 1257s # 1257s # /** 1257s # * org_project_other_signaling_iface_skeleton_new: 1257s # * 1257s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 1257s # */ 1257s # OrgProjectOtherSignalingIface * 1257s # org_project_other_signaling_iface_skeleton_new (void) 1257s # { 1257s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 1257s # } 1257s # Error: 1257s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 1257s # gdbus-codegen: /usr/bin/gdbus-codegen 1257s # tmpdir: /tmp/tmpa1fjo27q 1257s # /tmp/tmpa1fjo27q/tmpvb5_azxu.xml: 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa1fjo27q/tmpvb5_azxu.xml', '--output', '-', '--body'] 1257s # Return code: 0 1257s # Output: 1257s # /* 1257s # * This file is generated by gdbus-codegen, do not modify it. 1257s # * 1257s # * The license of this code is the same as for the D-Bus interface description 1257s # * it was derived from. Note that it links to GLib, so must comply with the 1257s # * LGPL linking clauses. 1257s # */ 1257s # 1257s # #ifdef HAVE_CONFIG_H 1257s # # include "config.h" 1257s # #endif 1257s # 1257s # #include 1257s # #ifdef G_OS_UNIX 1257s # # include 1257s # #endif 1257s # 1257s # #ifdef G_ENABLE_DEBUG 1257s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1257s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1257s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1257s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1257s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1257s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1257s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1257s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1257s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1257s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1257s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1257s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1257s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1257s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1257s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1257s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1257s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1257s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1257s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1257s # #else /* !G_ENABLE_DEBUG */ 1257s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1257s # * Do not access GValues directly in your code. Instead, use the 1257s # * g_value_get_*() functions 1257s # */ 1257s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1257s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1257s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1257s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1257s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1257s # #endif /* !G_ENABLE_DEBUG */ 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusArgInfo parent_struct; 1257s # gboolean use_gvariant; 1257s # } _ExtendedGDBusArgInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusMethodInfo parent_struct; 1257s # const gchar *signal_name; 1257s # gboolean pass_fdlist; 1257s # } _ExtendedGDBusMethodInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusSignalInfo parent_struct; 1257s # const gchar *signal_name; 1257s # } _ExtendedGDBusSignalInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusPropertyInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # guint use_gvariant : 1; 1257s # guint emits_changed_signal : 1; 1257s # } _ExtendedGDBusPropertyInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusInterfaceInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # } _ExtendedGDBusInterfaceInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # const _ExtendedGDBusPropertyInfo *info; 1257s # guint prop_id; 1257s # GValue orig_value; /* the value before the change */ 1257s # } ChangedProperty; 1257s # 1257s # static void 1257s # _changed_property_free (ChangedProperty *data) 1257s # { 1257s # g_value_unset (&data->orig_value); 1257s # g_free (data); 1257s # } 1257s # 1257s # static gboolean 1257s # _g_strv_equal0 (gchar **a, gchar **b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # guint n; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # if (g_strv_length (a) != g_strv_length (b)) 1257s # goto out; 1257s # for (n = 0; a[n] != NULL; n++) 1257s # if (g_strcmp0 (a[n], b[n]) != 0) 1257s # goto out; 1257s # ret = TRUE; 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _g_variant_equal0 (GVariant *a, GVariant *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # ret = g_variant_equal (a, b); 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # G_GNUC_UNUSED static gboolean 1257s # _g_value_equal (const GValue *a, const GValue *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1257s # switch (G_VALUE_TYPE (a)) 1257s # { 1257s # case G_TYPE_BOOLEAN: 1257s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1257s # break; 1257s # case G_TYPE_UCHAR: 1257s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1257s # break; 1257s # case G_TYPE_INT: 1257s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1257s # break; 1257s # case G_TYPE_UINT: 1257s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1257s # break; 1257s # case G_TYPE_INT64: 1257s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1257s # break; 1257s # case G_TYPE_UINT64: 1257s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1257s # break; 1257s # case G_TYPE_DOUBLE: 1257s # { 1257s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1257s # gdouble da = g_value_get_double (a); 1257s # gdouble db = g_value_get_double (b); 1257s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1257s # } 1257s # break; 1257s # case G_TYPE_STRING: 1257s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1257s # break; 1257s # case G_TYPE_VARIANT: 1257s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1257s # break; 1257s # default: 1257s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1257s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1257s # else 1257s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1257s # break; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ 1257s # * Code for interface org.project.SignalingIface 1257s # * ------------------------------------------------------------------------ 1257s # */ 1257s # 1257s # /** 1257s # * SECTION:OrgProjectSignalingIface 1257s # * @title: OrgProjectSignalingIface 1257s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1257s # * 1257s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1257s # */ 1257s # 1257s # enum 1257s # { 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1257s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 1257s # }; 1257s # 1257s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1257s # 1257s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SimpleSignal", 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "simple-signal" 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "arg_b", 1257s # (gchar *) "b", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SingleArgSignalB", 1257s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 1257s # NULL 1257s # }, 1257s # "single-arg-signal-b" 1257s # }; 1257s # 1257s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "org.project.SignalingIface", 1257s # NULL, 1257s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "org-project-signaling-iface", 1257s # }; 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_interface_info: 1257s # * 1257s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1257s # * 1257s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1257s # */ 1257s # GDBusInterfaceInfo * 1257s # org_project_signaling_iface_interface_info (void) 1257s # { 1257s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_override_properties: 1257s # * @klass: The class structure for a #GObject derived class. 1257s # * @property_id_begin: The property id to assign to the first overridden property. 1257s # * 1257s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1257s # * The properties are overridden in the order they are defined. 1257s # * 1257s # * Returns: The last property id. 1257s # */ 1257s # guint 1257s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1257s # { 1257s # return property_id_begin - 1; 1257s # } 1257s # 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_simple_signal ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__VOID (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__BOOLEAN (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface: 1257s # * 1257s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceIface: 1257s # * @parent_iface: The parent interface. 1257s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1257s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 1257s # * 1257s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1257s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1257s # 1257s # static void 1257s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # /* GObject signals for received D-Bus signals: */ 1257s # /** 1257s # * OrgProjectSignalingIface::simple-signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1257s # g_signal_new ("simple-signal", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_simple_signal, 1257s # G_TYPE_NONE, 1257s # 0); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-b: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_b: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 1257s # g_signal_new ("single-arg-signal-b", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_BOOLEAN); 1257s # 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_simple_signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * Emits the "SimpleSignal" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_b: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_b: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalB" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_b ( 1257s # OrgProjectSignalingIface *object, 1257s # gboolean arg_arg_b) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxy: 1257s # * 1257s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxyClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceProxy. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceProxyPrivate 1257s # { 1257s # GData *qdata; 1257s # }; 1257s # 1257s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_proxy_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1257s # g_datalist_clear (&proxy->priv->qdata); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # const GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1257s # const gchar *sender_name G_GNUC_UNUSED, 1257s # const gchar *signal_name, 1257s # GVariant *parameters) 1257s # { 1257s # _ExtendedGDBusSignalInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # gsize n; 1257s # guint signal_id; 1257s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1257s # if (info == NULL) 1257s # return; 1257s # num_params = g_variant_n_children (parameters); 1257s # paramv = g_new0 (GValue, num_params + 1); 1257s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[0], proxy); 1257s # g_variant_iter_init (&iter, parameters); 1257s # n = 1; 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_signal_emitv (paramv, signal_id, 0, NULL); 1257s # for (n = 0; n < num_params + 1; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1257s # GVariant *changed_properties, 1257s # const gchar *const *invalidated_properties) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1257s # guint n; 1257s # const gchar *key; 1257s # GVariantIter *iter; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # g_variant_get (changed_properties, "a{sv}", &iter); 1257s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1257s # g_datalist_remove_data (&proxy->priv->qdata, key); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # g_variant_iter_free (iter); 1257s # for (n = 0; invalidated_properties[n] != NULL; n++) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1257s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1257s # #else 1257s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1257s # #endif 1257s # 1257s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusProxyClass *proxy_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1257s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1257s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1257s # 1257s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1257s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1257s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_sync: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_sync ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new_for_bus ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeleton: 1257s # * 1257s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeletonClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1257s # { 1257s # GValue *properties; 1257s # GList *changed_properties; 1257s # GSource *changed_properties_idle_source; 1257s # GMainContext *context; 1257s # GMutex lock; 1257s # }; 1257s # 1257s # static void 1257s # _org_project_signaling_iface_skeleton_handle_method_call ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name, 1257s # const gchar *method_name, 1257s # GVariant *parameters, 1257s # GDBusMethodInvocation *invocation, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # _ExtendedGDBusMethodInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # guint num_extra; 1257s # gsize n; 1257s # guint signal_id; 1257s # GValue return_value = G_VALUE_INIT; 1257s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1257s # g_assert (info != NULL); 1257s # num_params = g_variant_n_children (parameters); 1257s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1257s # n = 0; 1257s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[n++], skeleton); 1257s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1257s # g_value_set_object (¶mv[n++], invocation); 1257s # if (info->pass_fdlist) 1257s # { 1257s # #ifdef G_OS_UNIX 1257s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1257s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1257s # #else 1257s # g_assert_not_reached (); 1257s # #endif 1257s # } 1257s # g_variant_iter_init (&iter, parameters); 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1257s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1257s # if (!g_value_get_boolean (&return_value)) 1257s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1257s # g_value_unset (&return_value); 1257s # for (n = 0; n < num_params + num_extra; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static GVariant * 1257s # _org_project_signaling_iface_skeleton_handle_get_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # GVariant *ret; 1257s # ret = NULL; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # g_value_init (&value, pspec->value_type); 1257s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1257s # g_value_unset (&value); 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _org_project_signaling_iface_skeleton_handle_set_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GVariant *variant, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # gboolean ret; 1257s # ret = FALSE; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # if (info->use_gvariant) 1257s # g_value_set_variant (&value, variant); 1257s # else 1257s # g_dbus_gvariant_to_gvalue (variant, &value); 1257s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # g_value_unset (&value); 1257s # ret = TRUE; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1257s # { 1257s # _org_project_signaling_iface_skeleton_handle_method_call, 1257s # _org_project_signaling_iface_skeleton_handle_get_property, 1257s # _org_project_signaling_iface_skeleton_handle_set_property, 1257s # {NULL} 1257s # }; 1257s # 1257s # static GDBusInterfaceInfo * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return org_project_signaling_iface_interface_info (); 1257s # } 1257s # 1257s # static GDBusInterfaceVTable * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1257s # } 1257s # 1257s # static GVariant * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1257s # 1257s # GVariantBuilder builder; 1257s # guint n; 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1257s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #else 1257s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #endif 1257s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1257s # goto out; 1257s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1257s # { 1257s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1257s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1257s # { 1257s # GVariant *value; 1257s # 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); 1257s # if (value != NULL) 1257s # { 1257s # g_variant_take_ref (value); 1257s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1257s # g_variant_unref (value); 1257s # } 1257s # } 1257s # } 1257s # out: 1257s # return g_variant_builder_end (&builder); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 1257s # OrgProjectSignalingIface *object, 1257s # gboolean arg_arg_b) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 1257s # arg_arg_b)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1257s # if (skeleton->priv->changed_properties_idle_source != NULL) 1257s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1257s # g_main_context_unref (skeleton->priv->context); 1257s # g_mutex_clear (&skeleton->priv->lock); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1257s # #else 1257s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1257s # #endif 1257s # 1257s # g_mutex_init (&skeleton->priv->lock); 1257s # skeleton->priv->context = g_main_context_ref_thread_default (); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusInterfaceSkeletonClass *skeleton_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1257s # 1257s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1257s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1257s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1257s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1257s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1257s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_skeleton_new: 1257s # * 1257s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_skeleton_new (void) 1257s # { 1257s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1257s # } 1257s # Error: 1257s # 1257s # /tmp/tmpa1fjo27q/tmpw4n6ydb6.xml: 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa1fjo27q/tmpw4n6ydb6.xml', '--output', '-', '--body'] 1257s # Return code: 0 1257s # Output: 1257s # /* 1257s # * This file is generated by gdbus-codegen, do not modify it. 1257s # * 1257s # * The license of this code is the same as for the D-Bus interface description 1257s # * it was derived from. Note that it links to GLib, so must comply with the 1257s # * LGPL linking clauses. 1257s # */ 1257s # 1257s # #ifdef HAVE_CONFIG_H 1257s # # include "config.h" 1257s # #endif 1257s # 1257s # #include 1257s # #ifdef G_OS_UNIX 1257s # # include 1257s # #endif 1257s # 1257s # #ifdef G_ENABLE_DEBUG 1257s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1257s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1257s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1257s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1257s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1257s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1257s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1257s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1257s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1257s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1257s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1257s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1257s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1257s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1257s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1257s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1257s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1257s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1257s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1257s # #else /* !G_ENABLE_DEBUG */ 1257s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1257s # * Do not access GValues directly in your code. Instead, use the 1257s # * g_value_get_*() functions 1257s # */ 1257s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1257s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1257s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1257s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1257s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1257s # #endif /* !G_ENABLE_DEBUG */ 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusArgInfo parent_struct; 1257s # gboolean use_gvariant; 1257s # } _ExtendedGDBusArgInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusMethodInfo parent_struct; 1257s # const gchar *signal_name; 1257s # gboolean pass_fdlist; 1257s # } _ExtendedGDBusMethodInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusSignalInfo parent_struct; 1257s # const gchar *signal_name; 1257s # } _ExtendedGDBusSignalInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusPropertyInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # guint use_gvariant : 1; 1257s # guint emits_changed_signal : 1; 1257s # } _ExtendedGDBusPropertyInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusInterfaceInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # } _ExtendedGDBusInterfaceInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # const _ExtendedGDBusPropertyInfo *info; 1257s # guint prop_id; 1257s # GValue orig_value; /* the value before the change */ 1257s # } ChangedProperty; 1257s # 1257s # static void 1257s # _changed_property_free (ChangedProperty *data) 1257s # { 1257s # g_value_unset (&data->orig_value); 1257s # g_free (data); 1257s # } 1257s # 1257s # static gboolean 1257s # _g_strv_equal0 (gchar **a, gchar **b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # guint n; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # if (g_strv_length (a) != g_strv_length (b)) 1257s # goto out; 1257s # for (n = 0; a[n] != NULL; n++) 1257s # if (g_strcmp0 (a[n], b[n]) != 0) 1257s # goto out; 1257s # ret = TRUE; 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _g_variant_equal0 (GVariant *a, GVariant *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # ret = g_variant_equal (a, b); 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # G_GNUC_UNUSED static gboolean 1257s # _g_value_equal (const GValue *a, const GValue *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1257s # switch (G_VALUE_TYPE (a)) 1257s # { 1257s # case G_TYPE_BOOLEAN: 1257s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1257s # break; 1257s # case G_TYPE_UCHAR: 1257s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1257s # break; 1257s # case G_TYPE_INT: 1257s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1257s # break; 1257s # case G_TYPE_UINT: 1257s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1257s # break; 1257s # case G_TYPE_INT64: 1257s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1257s # break; 1257s # case G_TYPE_UINT64: 1257s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1257s # break; 1257s # case G_TYPE_DOUBLE: 1257s # { 1257s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1257s # gdouble da = g_value_get_double (a); 1257s # gdouble db = g_value_get_double (b); 1257s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1257s # } 1257s # break; 1257s # case G_TYPE_STRING: 1257s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1257s # break; 1257s # case G_TYPE_VARIANT: 1257s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1257s # break; 1257s # default: 1257s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1257s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1257s # else 1257s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1257s # break; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ 1257s # * Code for interface org.project.SignalingIface 1257s # * ------------------------------------------------------------------------ 1257s # */ 1257s # 1257s # /** 1257s # * SECTION:OrgProjectSignalingIface 1257s # * @title: OrgProjectSignalingIface 1257s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1257s # * 1257s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1257s # */ 1257s # 1257s # enum 1257s # { 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1257s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 1257s # }; 1257s # 1257s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1257s # 1257s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SimpleSignal", 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "simple-signal" 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "arg_y", 1257s # (gchar *) "y", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SingleArgSignalY", 1257s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 1257s # NULL 1257s # }, 1257s # "single-arg-signal-y" 1257s # }; 1257s # 1257s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "org.project.SignalingIface", 1257s # NULL, 1257s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "org-project-signaling-iface", 1257s # }; 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_interface_info: 1257s # * 1257s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1257s # * 1257s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1257s # */ 1257s # GDBusInterfaceInfo * 1257s # org_project_signaling_iface_interface_info (void) 1257s # { 1257s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_override_properties: 1257s # * @klass: The class structure for a #GObject derived class. 1257s # * @property_id_begin: The property id to assign to the first overridden property. 1257s # * 1257s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1257s # * The properties are overridden in the order they are defined. 1257s # * 1257s # * Returns: The last property id. 1257s # */ 1257s # guint 1257s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1257s # { 1257s # return property_id_begin - 1; 1257s # } 1257s # 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_simple_signal ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__VOID (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__UCHAR (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface: 1257s # * 1257s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceIface: 1257s # * @parent_iface: The parent interface. 1257s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1257s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 1257s # * 1257s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1257s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1257s # 1257s # static void 1257s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # /* GObject signals for received D-Bus signals: */ 1257s # /** 1257s # * OrgProjectSignalingIface::simple-signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1257s # g_signal_new ("simple-signal", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_simple_signal, 1257s # G_TYPE_NONE, 1257s # 0); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-y: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_y: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 1257s # g_signal_new ("single-arg-signal-y", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_UCHAR); 1257s # 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_simple_signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * Emits the "SimpleSignal" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_y: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_y: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalY" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_y ( 1257s # OrgProjectSignalingIface *object, 1257s # guchar arg_arg_y) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxy: 1257s # * 1257s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxyClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceProxy. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceProxyPrivate 1257s # { 1257s # GData *qdata; 1257s # }; 1257s # 1257s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_proxy_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1257s # g_datalist_clear (&proxy->priv->qdata); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # const GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1257s # const gchar *sender_name G_GNUC_UNUSED, 1257s # const gchar *signal_name, 1257s # GVariant *parameters) 1257s # { 1257s # _ExtendedGDBusSignalInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # gsize n; 1257s # guint signal_id; 1257s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1257s # if (info == NULL) 1257s # return; 1257s # num_params = g_variant_n_children (parameters); 1257s # paramv = g_new0 (GValue, num_params + 1); 1257s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[0], proxy); 1257s # g_variant_iter_init (&iter, parameters); 1257s # n = 1; 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_signal_emitv (paramv, signal_id, 0, NULL); 1257s # for (n = 0; n < num_params + 1; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1257s # GVariant *changed_properties, 1257s # const gchar *const *invalidated_properties) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1257s # guint n; 1257s # const gchar *key; 1257s # GVariantIter *iter; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # g_variant_get (changed_properties, "a{sv}", &iter); 1257s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1257s # g_datalist_remove_data (&proxy->priv->qdata, key); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # g_variant_iter_free (iter); 1257s # for (n = 0; invalidated_properties[n] != NULL; n++) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1257s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1257s # #else 1257s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1257s # #endif 1257s # 1257s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusProxyClass *proxy_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1257s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1257s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1257s # 1257s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1257s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1257s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_sync: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_sync ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new_for_bus ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeleton: 1257s # * 1257s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeletonClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1257s # { 1257s # GValue *properties; 1257s # GList *changed_properties; 1257s # GSource *changed_properties_idle_source; 1257s # GMainContext *context; 1257s # GMutex lock; 1257s # }; 1257s # 1257s # static void 1257s # _org_project_signaling_iface_skeleton_handle_method_call ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name, 1257s # const gchar *method_name, 1257s # GVariant *parameters, 1257s # GDBusMethodInvocation *invocation, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # _ExtendedGDBusMethodInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # guint num_extra; 1257s # gsize n; 1257s # guint signal_id; 1257s # GValue return_value = G_VALUE_INIT; 1257s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1257s # g_assert (info != NULL); 1257s # num_params = g_variant_n_children (parameters); 1257s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1257s # n = 0; 1257s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[n++], skeleton); 1257s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1257s # g_value_set_object (¶mv[n++], invocation); 1257s # if (info->pass_fdlist) 1257s # { 1257s # #ifdef G_OS_UNIX 1257s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1257s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1257s # #else 1257s # g_assert_not_reached (); 1257s # #endif 1257s # } 1257s # g_variant_iter_init (&iter, parameters); 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1257s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1257s # if (!g_value_get_boolean (&return_value)) 1257s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1257s # g_value_unset (&return_value); 1257s # for (n = 0; n < num_params + num_extra; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static GVariant * 1257s # _org_project_signaling_iface_skeleton_handle_get_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # GVariant *ret; 1257s # ret = NULL; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # g_value_init (&value, pspec->value_type); 1257s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1257s # g_value_unset (&value); 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _org_project_signaling_iface_skeleton_handle_set_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GVariant *variant, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # gboolean ret; 1257s # ret = FALSE; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # if (info->use_gvariant) 1257s # g_value_set_variant (&value, variant); 1257s # else 1257s # g_dbus_gvariant_to_gvalue (variant, &value); 1257s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # g_value_unset (&value); 1257s # ret = TRUE; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1257s # { 1257s # _org_project_signaling_iface_skeleton_handle_method_call, 1257s # _org_project_signaling_iface_skeleton_handle_get_property, 1257s # _org_project_signaling_iface_skeleton_handle_set_property, 1257s # {NULL} 1257s # }; 1257s # 1257s # static GDBusInterfaceInfo * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return org_project_signaling_iface_interface_info (); 1257s # } 1257s # 1257s # static GDBusInterfaceVTable * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1257s # } 1257s # 1257s # static GVariant * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1257s # 1257s # GVariantBuilder builder; 1257s # guint n; 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1257s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #else 1257s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #endif 1257s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1257s # goto out; 1257s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1257s # { 1257s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1257s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1257s # { 1257s # GVariant *value; 1257s # 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); 1257s # if (value != NULL) 1257s # { 1257s # g_variant_take_ref (value); 1257s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1257s # g_variant_unref (value); 1257s # } 1257s # } 1257s # } 1257s # out: 1257s # return g_variant_builder_end (&builder); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 1257s # OrgProjectSignalingIface *object, 1257s # guchar arg_arg_y) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 1257s # arg_arg_y)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1257s # if (skeleton->priv->changed_properties_idle_source != NULL) 1257s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1257s # g_main_context_unref (skeleton->priv->context); 1257s # g_mutex_clear (&skeleton->priv->lock); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1257s # #else 1257s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1257s # #endif 1257s # 1257s # g_mutex_init (&skeleton->priv->lock); 1257s # skeleton->priv->context = g_main_context_ref_thread_default (); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusInterfaceSkeletonClass *skeleton_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1257s # 1257s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1257s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1257s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1257s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1257s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1257s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_skeleton_new: 1257s # * 1257s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_skeleton_new (void) 1257s # { 1257s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1257s # } 1257s # Error: 1257s # 1257s # /tmp/tmpa1fjo27q/tmpwsk_us_e.xml: 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa1fjo27q/tmpwsk_us_e.xml', '--output', '-', '--body'] 1257s # Return code: 0 1257s # Output: 1257s # /* 1257s # * This file is generated by gdbus-codegen, do not modify it. 1257s # * 1257s # * The license of this code is the same as for the D-Bus interface description 1257s # * it was derived from. Note that it links to GLib, so must comply with the 1257s # * LGPL linking clauses. 1257s # */ 1257s # 1257s # #ifdef HAVE_CONFIG_H 1257s # # include "config.h" 1257s # #endif 1257s # 1257s # #include 1257s # #ifdef G_OS_UNIX 1257s # # include 1257s # #endif 1257s # 1257s # #ifdef G_ENABLE_DEBUG 1257s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1257s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1257s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1257s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1257s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1257s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1257s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1257s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1257s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1257s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1257s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1257s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1257s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1257s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1257s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1257s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1257s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1257s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1257s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1257s # #else /* !G_ENABLE_DEBUG */ 1257s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1257s # * Do not access GValues directly in your code. Instead, use the 1257s # * g_value_get_*() functions 1257s # */ 1257s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1257s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1257s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1257s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1257s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1257s # #endif /* !G_ENABLE_DEBUG */ 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusArgInfo parent_struct; 1257s # gboolean use_gvariant; 1257s # } _ExtendedGDBusArgInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusMethodInfo parent_struct; 1257s # const gchar *signal_name; 1257s # gboolean pass_fdlist; 1257s # } _ExtendedGDBusMethodInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusSignalInfo parent_struct; 1257s # const gchar *signal_name; 1257s # } _ExtendedGDBusSignalInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusPropertyInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # guint use_gvariant : 1; 1257s # guint emits_changed_signal : 1; 1257s # } _ExtendedGDBusPropertyInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusInterfaceInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # } _ExtendedGDBusInterfaceInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # const _ExtendedGDBusPropertyInfo *info; 1257s # guint prop_id; 1257s # GValue orig_value; /* the value before the change */ 1257s # } ChangedProperty; 1257s # 1257s # static void 1257s # _changed_property_free (ChangedProperty *data) 1257s # { 1257s # g_value_unset (&data->orig_value); 1257s # g_free (data); 1257s # } 1257s # 1257s # static gboolean 1257s # _g_strv_equal0 (gchar **a, gchar **b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # guint n; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # if (g_strv_length (a) != g_strv_length (b)) 1257s # goto out; 1257s # for (n = 0; a[n] != NULL; n++) 1257s # if (g_strcmp0 (a[n], b[n]) != 0) 1257s # goto out; 1257s # ret = TRUE; 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _g_variant_equal0 (GVariant *a, GVariant *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # ret = g_variant_equal (a, b); 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # G_GNUC_UNUSED static gboolean 1257s # _g_value_equal (const GValue *a, const GValue *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1257s # switch (G_VALUE_TYPE (a)) 1257s # { 1257s # case G_TYPE_BOOLEAN: 1257s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1257s # break; 1257s # case G_TYPE_UCHAR: 1257s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1257s # break; 1257s # case G_TYPE_INT: 1257s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1257s # break; 1257s # case G_TYPE_UINT: 1257s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1257s # break; 1257s # case G_TYPE_INT64: 1257s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1257s # break; 1257s # case G_TYPE_UINT64: 1257s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1257s # break; 1257s # case G_TYPE_DOUBLE: 1257s # { 1257s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1257s # gdouble da = g_value_get_double (a); 1257s # gdouble db = g_value_get_double (b); 1257s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1257s # } 1257s # break; 1257s # case G_TYPE_STRING: 1257s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1257s # break; 1257s # case G_TYPE_VARIANT: 1257s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1257s # break; 1257s # default: 1257s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1257s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1257s # else 1257s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1257s # break; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ 1257s # * Code for interface org.project.SignalingIface 1257s # * ------------------------------------------------------------------------ 1257s # */ 1257s # 1257s # /** 1257s # * SECTION:OrgProjectSignalingIface 1257s # * @title: OrgProjectSignalingIface 1257s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1257s # * 1257s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1257s # */ 1257s # 1257s # enum 1257s # { 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1257s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 1257s # }; 1257s # 1257s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1257s # 1257s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SimpleSignal", 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "simple-signal" 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "arg_n", 1257s # (gchar *) "n", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SingleArgSignalN", 1257s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 1257s # NULL 1257s # }, 1257s # "single-arg-signal-n" 1257s # }; 1257s # 1257s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "org.project.SignalingIface", 1257s # NULL, 1257s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "org-project-signaling-iface", 1257s # }; 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_interface_info: 1257s # * 1257s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1257s # * 1257s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1257s # */ 1257s # GDBusInterfaceInfo * 1257s # org_project_signaling_iface_interface_info (void) 1257s # { 1257s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_override_properties: 1257s # * @klass: The class structure for a #GObject derived class. 1257s # * @property_id_begin: The property id to assign to the first overridden property. 1257s # * 1257s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1257s # * The properties are overridden in the order they are defined. 1257s # * 1257s # * Returns: The last property id. 1257s # */ 1257s # guint 1257s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1257s # { 1257s # return property_id_begin - 1; 1257s # } 1257s # 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_simple_signal ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__VOID (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__INT (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface: 1257s # * 1257s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceIface: 1257s # * @parent_iface: The parent interface. 1257s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1257s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 1257s # * 1257s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1257s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1257s # 1257s # static void 1257s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # /* GObject signals for received D-Bus signals: */ 1257s # /** 1257s # * OrgProjectSignalingIface::simple-signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1257s # g_signal_new ("simple-signal", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_simple_signal, 1257s # G_TYPE_NONE, 1257s # 0); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-n: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_n: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 1257s # g_signal_new ("single-arg-signal-n", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_INT); 1257s # 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_simple_signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * Emits the "SimpleSignal" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_n: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_n: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalN" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_n ( 1257s # OrgProjectSignalingIface *object, 1257s # gint16 arg_arg_n) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxy: 1257s # * 1257s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxyClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceProxy. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceProxyPrivate 1257s # { 1257s # GData *qdata; 1257s # }; 1257s # 1257s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_proxy_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1257s # g_datalist_clear (&proxy->priv->qdata); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # const GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1257s # const gchar *sender_name G_GNUC_UNUSED, 1257s # const gchar *signal_name, 1257s # GVariant *parameters) 1257s # { 1257s # _ExtendedGDBusSignalInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # gsize n; 1257s # guint signal_id; 1257s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1257s # if (info == NULL) 1257s # return; 1257s # num_params = g_variant_n_children (parameters); 1257s # paramv = g_new0 (GValue, num_params + 1); 1257s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[0], proxy); 1257s # g_variant_iter_init (&iter, parameters); 1257s # n = 1; 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_signal_emitv (paramv, signal_id, 0, NULL); 1257s # for (n = 0; n < num_params + 1; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1257s # GVariant *changed_properties, 1257s # const gchar *const *invalidated_properties) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1257s # guint n; 1257s # const gchar *key; 1257s # GVariantIter *iter; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # g_variant_get (changed_properties, "a{sv}", &iter); 1257s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1257s # g_datalist_remove_data (&proxy->priv->qdata, key); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # g_variant_iter_free (iter); 1257s # for (n = 0; invalidated_properties[n] != NULL; n++) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1257s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1257s # #else 1257s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1257s # #endif 1257s # 1257s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusProxyClass *proxy_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1257s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1257s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1257s # 1257s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1257s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1257s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_sync: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_sync ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new_for_bus ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeleton: 1257s # * 1257s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeletonClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1257s # { 1257s # GValue *properties; 1257s # GList *changed_properties; 1257s # GSource *changed_properties_idle_source; 1257s # GMainContext *context; 1257s # GMutex lock; 1257s # }; 1257s # 1257s # static void 1257s # _org_project_signaling_iface_skeleton_handle_method_call ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name, 1257s # const gchar *method_name, 1257s # GVariant *parameters, 1257s # GDBusMethodInvocation *invocation, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # _ExtendedGDBusMethodInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # guint num_extra; 1257s # gsize n; 1257s # guint signal_id; 1257s # GValue return_value = G_VALUE_INIT; 1257s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1257s # g_assert (info != NULL); 1257s # num_params = g_variant_n_children (parameters); 1257s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1257s # n = 0; 1257s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[n++], skeleton); 1257s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1257s # g_value_set_object (¶mv[n++], invocation); 1257s # if (info->pass_fdlist) 1257s # { 1257s # #ifdef G_OS_UNIX 1257s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1257s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1257s # #else 1257s # g_assert_not_reached (); 1257s # #endif 1257s # } 1257s # g_variant_iter_init (&iter, parameters); 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1257s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1257s # if (!g_value_get_boolean (&return_value)) 1257s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1257s # g_value_unset (&return_value); 1257s # for (n = 0; n < num_params + num_extra; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static GVariant * 1257s # _org_project_signaling_iface_skeleton_handle_get_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # GVariant *ret; 1257s # ret = NULL; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # g_value_init (&value, pspec->value_type); 1257s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1257s # g_value_unset (&value); 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _org_project_signaling_iface_skeleton_handle_set_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GVariant *variant, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # gboolean ret; 1257s # ret = FALSE; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # if (info->use_gvariant) 1257s # g_value_set_variant (&value, variant); 1257s # else 1257s # g_dbus_gvariant_to_gvalue (variant, &value); 1257s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # g_value_unset (&value); 1257s # ret = TRUE; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1257s # { 1257s # _org_project_signaling_iface_skeleton_handle_method_call, 1257s # _org_project_signaling_iface_skeleton_handle_get_property, 1257s # _org_project_signaling_iface_skeleton_handle_set_property, 1257s # {NULL} 1257s # }; 1257s # 1257s # static GDBusInterfaceInfo * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return org_project_signaling_iface_interface_info (); 1257s # } 1257s # 1257s # static GDBusInterfaceVTable * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1257s # } 1257s # 1257s # static GVariant * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1257s # 1257s # GVariantBuilder builder; 1257s # guint n; 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1257s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #else 1257s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #endif 1257s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1257s # goto out; 1257s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1257s # { 1257s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1257s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1257s # { 1257s # GVariant *value; 1257s # 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); 1257s # if (value != NULL) 1257s # { 1257s # g_variant_take_ref (value); 1257s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1257s # g_variant_unref (value); 1257s # } 1257s # } 1257s # } 1257s # out: 1257s # return g_variant_builder_end (&builder); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 1257s # OrgProjectSignalingIface *object, 1257s # gint16 arg_arg_n) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 1257s # arg_arg_n)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1257s # if (skeleton->priv->changed_properties_idle_source != NULL) 1257s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1257s # g_main_context_unref (skeleton->priv->context); 1257s # g_mutex_clear (&skeleton->priv->lock); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1257s # #else 1257s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1257s # #endif 1257s # 1257s # g_mutex_init (&skeleton->priv->lock); 1257s # skeleton->priv->context = g_main_context_ref_thread_default (); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusInterfaceSkeletonClass *skeleton_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1257s # 1257s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1257s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1257s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1257s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1257s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1257s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_skeleton_new: 1257s # * 1257s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_skeleton_new (void) 1257s # { 1257s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1257s # } 1257s # Error: 1257s # 1257s # /tmp/tmpa1fjo27q/tmpbyuyqooa.xml: 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa1fjo27q/tmpbyuyqooa.xml', '--output', '-', '--body'] 1257s # Return code: 0 1257s # Output: 1257s # /* 1257s # * This file is generated by gdbus-codegen, do not modify it. 1257s # * 1257s # * The license of this code is the same as for the D-Bus interface description 1257s # * it was derived from. Note that it links to GLib, so must comply with the 1257s # * LGPL linking clauses. 1257s # */ 1257s # 1257s # #ifdef HAVE_CONFIG_H 1257s # # include "config.h" 1257s # #endif 1257s # 1257s # #include 1257s # #ifdef G_OS_UNIX 1257s # # include 1257s # #endif 1257s # 1257s # #ifdef G_ENABLE_DEBUG 1257s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1257s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1257s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1257s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1257s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1257s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1257s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1257s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1257s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1257s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1257s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1257s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1257s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1257s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1257s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1257s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1257s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1257s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1257s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1257s # #else /* !G_ENABLE_DEBUG */ 1257s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1257s # * Do not access GValues directly in your code. Instead, use the 1257s # * g_value_get_*() functions 1257s # */ 1257s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1257s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1257s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1257s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1257s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1257s # #endif /* !G_ENABLE_DEBUG */ 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusArgInfo parent_struct; 1257s # gboolean use_gvariant; 1257s # } _ExtendedGDBusArgInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusMethodInfo parent_struct; 1257s # const gchar *signal_name; 1257s # gboolean pass_fdlist; 1257s # } _ExtendedGDBusMethodInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusSignalInfo parent_struct; 1257s # const gchar *signal_name; 1257s # } _ExtendedGDBusSignalInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusPropertyInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # guint use_gvariant : 1; 1257s # guint emits_changed_signal : 1; 1257s # } _ExtendedGDBusPropertyInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusInterfaceInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # } _ExtendedGDBusInterfaceInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # const _ExtendedGDBusPropertyInfo *info; 1257s # guint prop_id; 1257s # GValue orig_value; /* the value before the change */ 1257s # } ChangedProperty; 1257s # 1257s # static void 1257s # _changed_property_free (ChangedProperty *data) 1257s # { 1257s # g_value_unset (&data->orig_value); 1257s # g_free (data); 1257s # } 1257s # 1257s # static gboolean 1257s # _g_strv_equal0 (gchar **a, gchar **b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # guint n; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # if (g_strv_length (a) != g_strv_length (b)) 1257s # goto out; 1257s # for (n = 0; a[n] != NULL; n++) 1257s # if (g_strcmp0 (a[n], b[n]) != 0) 1257s # goto out; 1257s # ret = TRUE; 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _g_variant_equal0 (GVariant *a, GVariant *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # ret = g_variant_equal (a, b); 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # G_GNUC_UNUSED static gboolean 1257s # _g_value_equal (const GValue *a, const GValue *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1257s # switch (G_VALUE_TYPE (a)) 1257s # { 1257s # case G_TYPE_BOOLEAN: 1257s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1257s # break; 1257s # case G_TYPE_UCHAR: 1257s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1257s # break; 1257s # case G_TYPE_INT: 1257s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1257s # break; 1257s # case G_TYPE_UINT: 1257s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1257s # break; 1257s # case G_TYPE_INT64: 1257s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1257s # break; 1257s # case G_TYPE_UINT64: 1257s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1257s # break; 1257s # case G_TYPE_DOUBLE: 1257s # { 1257s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1257s # gdouble da = g_value_get_double (a); 1257s # gdouble db = g_value_get_double (b); 1257s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1257s # } 1257s # break; 1257s # case G_TYPE_STRING: 1257s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1257s # break; 1257s # case G_TYPE_VARIANT: 1257s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1257s # break; 1257s # default: 1257s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1257s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1257s # else 1257s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1257s # break; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ 1257s # * Code for interface org.project.SignalingIface 1257s # * ------------------------------------------------------------------------ 1257s # */ 1257s # 1257s # /** 1257s # * SECTION:OrgProjectSignalingIface 1257s # * @title: OrgProjectSignalingIface 1257s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1257s # * 1257s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1257s # */ 1257s # 1257s # enum 1257s # { 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1257s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 1257s # }; 1257s # 1257s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1257s # 1257s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SimpleSignal", 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "simple-signal" 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "arg_q", 1257s # (gchar *) "q", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SingleArgSignalQ", 1257s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 1257s # NULL 1257s # }, 1257s # "single-arg-signal-q" 1257s # }; 1257s # 1257s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "org.project.SignalingIface", 1257s # NULL, 1257s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "org-project-signaling-iface", 1257s # }; 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_interface_info: 1257s # * 1257s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1257s # * 1257s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1257s # */ 1257s # GDBusInterfaceInfo * 1257s # org_project_signaling_iface_interface_info (void) 1257s # { 1257s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_override_properties: 1257s # * @klass: The class structure for a #GObject derived class. 1257s # * @property_id_begin: The property id to assign to the first overridden property. 1257s # * 1257s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1257s # * The properties are overridden in the order they are defined. 1257s # * 1257s # * Returns: The last property id. 1257s # */ 1257s # guint 1257s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1257s # { 1257s # return property_id_begin - 1; 1257s # } 1257s # 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_simple_signal ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__VOID (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__UINT (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface: 1257s # * 1257s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceIface: 1257s # * @parent_iface: The parent interface. 1257s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1257s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 1257s # * 1257s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1257s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1257s # 1257s # static void 1257s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # /* GObject signals for received D-Bus signals: */ 1257s # /** 1257s # * OrgProjectSignalingIface::simple-signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1257s # g_signal_new ("simple-signal", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_simple_signal, 1257s # G_TYPE_NONE, 1257s # 0); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-q: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_q: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 1257s # g_signal_new ("single-arg-signal-q", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_UINT); 1257s # 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_simple_signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * Emits the "SimpleSignal" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_q: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_q: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalQ" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_q ( 1257s # OrgProjectSignalingIface *object, 1257s # guint16 arg_arg_q) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxy: 1257s # * 1257s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxyClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceProxy. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceProxyPrivate 1257s # { 1257s # GData *qdata; 1257s # }; 1257s # 1257s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_proxy_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1257s # g_datalist_clear (&proxy->priv->qdata); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # const GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1257s # const gchar *sender_name G_GNUC_UNUSED, 1257s # const gchar *signal_name, 1257s # GVariant *parameters) 1257s # { 1257s # _ExtendedGDBusSignalInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # gsize n; 1257s # guint signal_id; 1257s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1257s # if (info == NULL) 1257s # return; 1257s # num_params = g_variant_n_children (parameters); 1257s # paramv = g_new0 (GValue, num_params + 1); 1257s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[0], proxy); 1257s # g_variant_iter_init (&iter, parameters); 1257s # n = 1; 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_signal_emitv (paramv, signal_id, 0, NULL); 1257s # for (n = 0; n < num_params + 1; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1257s # GVariant *changed_properties, 1257s # const gchar *const *invalidated_properties) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1257s # guint n; 1257s # const gchar *key; 1257s # GVariantIter *iter; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # g_variant_get (changed_properties, "a{sv}", &iter); 1257s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1257s # g_datalist_remove_data (&proxy->priv->qdata, key); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # g_variant_iter_free (iter); 1257s # for (n = 0; invalidated_properties[n] != NULL; n++) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1257s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1257s # #else 1257s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1257s # #endif 1257s # 1257s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusProxyClass *proxy_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1257s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1257s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1257s # 1257s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1257s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1257s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_sync: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_sync ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new_for_bus ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeleton: 1257s # * 1257s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeletonClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1257s # { 1257s # GValue *properties; 1257s # GList *changed_properties; 1257s # GSource *changed_properties_idle_source; 1257s # GMainContext *context; 1257s # GMutex lock; 1257s # }; 1257s # 1257s # static void 1257s # _org_project_signaling_iface_skeleton_handle_method_call ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name, 1257s # const gchar *method_name, 1257s # GVariant *parameters, 1257s # GDBusMethodInvocation *invocation, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # _ExtendedGDBusMethodInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # guint num_extra; 1257s # gsize n; 1257s # guint signal_id; 1257s # GValue return_value = G_VALUE_INIT; 1257s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1257s # g_assert (info != NULL); 1257s # num_params = g_variant_n_children (parameters); 1257s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1257s # n = 0; 1257s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[n++], skeleton); 1257s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1257s # g_value_set_object (¶mv[n++], invocation); 1257s # if (info->pass_fdlist) 1257s # { 1257s # #ifdef G_OS_UNIX 1257s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1257s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1257s # #else 1257s # g_assert_not_reached (); 1257s # #endif 1257s # } 1257s # g_variant_iter_init (&iter, parameters); 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1257s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1257s # if (!g_value_get_boolean (&return_value)) 1257s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1257s # g_value_unset (&return_value); 1257s # for (n = 0; n < num_params + num_extra; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static GVariant * 1257s # _org_project_signaling_iface_skeleton_handle_get_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # GVariant *ret; 1257s # ret = NULL; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # g_value_init (&value, pspec->value_type); 1257s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1257s # g_value_unset (&value); 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _org_project_signaling_iface_skeleton_handle_set_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GVariant *variant, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # gboolean ret; 1257s # ret = FALSE; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # if (info->use_gvariant) 1257s # g_value_set_variant (&value, variant); 1257s # else 1257s # g_dbus_gvariant_to_gvalue (variant, &value); 1257s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # g_value_unset (&value); 1257s # ret = TRUE; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1257s # { 1257s # _org_project_signaling_iface_skeleton_handle_method_call, 1257s # _org_project_signaling_iface_skeleton_handle_get_property, 1257s # _org_project_signaling_iface_skeleton_handle_set_property, 1257s # {NULL} 1257s # }; 1257s # 1257s # static GDBusInterfaceInfo * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return org_project_signaling_iface_interface_info (); 1257s # } 1257s # 1257s # static GDBusInterfaceVTable * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1257s # } 1257s # 1257s # static GVariant * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1257s # 1257s # GVariantBuilder builder; 1257s # guint n; 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1257s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #else 1257s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #endif 1257s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1257s # goto out; 1257s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1257s # { 1257s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1257s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1257s # { 1257s # GVariant *value; 1257s # 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); 1257s # if (value != NULL) 1257s # { 1257s # g_variant_take_ref (value); 1257s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1257s # g_variant_unref (value); 1257s # } 1257s # } 1257s # } 1257s # out: 1257s # return g_variant_builder_end (&builder); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 1257s # OrgProjectSignalingIface *object, 1257s # guint16 arg_arg_q) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 1257s # arg_arg_q)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1257s # if (skeleton->priv->changed_properties_idle_source != NULL) 1257s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1257s # g_main_context_unref (skeleton->priv->context); 1257s # g_mutex_clear (&skeleton->priv->lock); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1257s # #else 1257s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1257s # #endif 1257s # 1257s # g_mutex_init (&skeleton->priv->lock); 1257s # skeleton->priv->context = g_main_context_ref_thread_default (); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusInterfaceSkeletonClass *skeleton_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1257s # 1257s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1257s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1257s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1257s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1257s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1257s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_skeleton_new: 1257s # * 1257s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_skeleton_new (void) 1257s # { 1257s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1257s # } 1257s # Error: 1257s # 1257s # /tmp/tmpa1fjo27q/tmpn8c_wig8.xml: 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa1fjo27q/tmpn8c_wig8.xml', '--output', '-', '--body'] 1257s # Return code: 0 1257s # Output: 1257s # /* 1257s # * This file is generated by gdbus-codegen, do not modify it. 1257s # * 1257s # * The license of this code is the same as for the D-Bus interface description 1257s # * it was derived from. Note that it links to GLib, so must comply with the 1257s # * LGPL linking clauses. 1257s # */ 1257s # 1257s # #ifdef HAVE_CONFIG_H 1257s # # include "config.h" 1257s # #endif 1257s # 1257s # #include 1257s # #ifdef G_OS_UNIX 1257s # # include 1257s # #endif 1257s # 1257s # #ifdef G_ENABLE_DEBUG 1257s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1257s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1257s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1257s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1257s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1257s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1257s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1257s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1257s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1257s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1257s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1257s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1257s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1257s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1257s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1257s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1257s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1257s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1257s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1257s # #else /* !G_ENABLE_DEBUG */ 1257s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1257s # * Do not access GValues directly in your code. Instead, use the 1257s # * g_value_get_*() functions 1257s # */ 1257s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1257s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1257s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1257s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1257s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1257s # #endif /* !G_ENABLE_DEBUG */ 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusArgInfo parent_struct; 1257s # gboolean use_gvariant; 1257s # } _ExtendedGDBusArgInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusMethodInfo parent_struct; 1257s # const gchar *signal_name; 1257s # gboolean pass_fdlist; 1257s # } _ExtendedGDBusMethodInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusSignalInfo parent_struct; 1257s # const gchar *signal_name; 1257s # } _ExtendedGDBusSignalInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusPropertyInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # guint use_gvariant : 1; 1257s # guint emits_changed_signal : 1; 1257s # } _ExtendedGDBusPropertyInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusInterfaceInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # } _ExtendedGDBusInterfaceInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # const _ExtendedGDBusPropertyInfo *info; 1257s # guint prop_id; 1257s # GValue orig_value; /* the value before the change */ 1257s # } ChangedProperty; 1257s # 1257s # static void 1257s # _changed_property_free (ChangedProperty *data) 1257s # { 1257s # g_value_unset (&data->orig_value); 1257s # g_free (data); 1257s # } 1257s # 1257s # static gboolean 1257s # _g_strv_equal0 (gchar **a, gchar **b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # guint n; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # if (g_strv_length (a) != g_strv_length (b)) 1257s # goto out; 1257s # for (n = 0; a[n] != NULL; n++) 1257s # if (g_strcmp0 (a[n], b[n]) != 0) 1257s # goto out; 1257s # ret = TRUE; 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _g_variant_equal0 (GVariant *a, GVariant *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # ret = g_variant_equal (a, b); 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # G_GNUC_UNUSED static gboolean 1257s # _g_value_equal (const GValue *a, const GValue *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1257s # switch (G_VALUE_TYPE (a)) 1257s # { 1257s # case G_TYPE_BOOLEAN: 1257s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1257s # break; 1257s # case G_TYPE_UCHAR: 1257s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1257s # break; 1257s # case G_TYPE_INT: 1257s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1257s # break; 1257s # case G_TYPE_UINT: 1257s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1257s # break; 1257s # case G_TYPE_INT64: 1257s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1257s # break; 1257s # case G_TYPE_UINT64: 1257s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1257s # break; 1257s # case G_TYPE_DOUBLE: 1257s # { 1257s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1257s # gdouble da = g_value_get_double (a); 1257s # gdouble db = g_value_get_double (b); 1257s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1257s # } 1257s # break; 1257s # case G_TYPE_STRING: 1257s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1257s # break; 1257s # case G_TYPE_VARIANT: 1257s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1257s # break; 1257s # default: 1257s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1257s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1257s # else 1257s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1257s # break; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ 1257s # * Code for interface org.project.SignalingIface 1257s # * ------------------------------------------------------------------------ 1257s # */ 1257s # 1257s # /** 1257s # * SECTION:OrgProjectSignalingIface 1257s # * @title: OrgProjectSignalingIface 1257s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1257s # * 1257s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1257s # */ 1257s # 1257s # enum 1257s # { 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1257s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 1257s # }; 1257s # 1257s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1257s # 1257s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SimpleSignal", 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "simple-signal" 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "arg_i", 1257s # (gchar *) "i", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SingleArgSignalI", 1257s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 1257s # NULL 1257s # }, 1257s # "single-arg-signal-i" 1257s # }; 1257s # 1257s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "org.project.SignalingIface", 1257s # NULL, 1257s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "org-project-signaling-iface", 1257s # }; 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_interface_info: 1257s # * 1257s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1257s # * 1257s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1257s # */ 1257s # GDBusInterfaceInfo * 1257s # org_project_signaling_iface_interface_info (void) 1257s # { 1257s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_override_properties: 1257s # * @klass: The class structure for a #GObject derived class. 1257s # * @property_id_begin: The property id to assign to the first overridden property. 1257s # * 1257s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1257s # * The properties are overridden in the order they are defined. 1257s # * 1257s # * Returns: The last property id. 1257s # */ 1257s # guint 1257s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1257s # { 1257s # return property_id_begin - 1; 1257s # } 1257s # 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_simple_signal ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__VOID (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__INT (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface: 1257s # * 1257s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceIface: 1257s # * @parent_iface: The parent interface. 1257s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1257s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 1257s # * 1257s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1257s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1257s # 1257s # static void 1257s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # /* GObject signals for received D-Bus signals: */ 1257s # /** 1257s # * OrgProjectSignalingIface::simple-signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1257s # g_signal_new ("simple-signal", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_simple_signal, 1257s # G_TYPE_NONE, 1257s # 0); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-i: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_i: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 1257s # g_signal_new ("single-arg-signal-i", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_INT); 1257s # 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_simple_signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * Emits the "SimpleSignal" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_i: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_i: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalI" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_i ( 1257s # OrgProjectSignalingIface *object, 1257s # gint arg_arg_i) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxy: 1257s # * 1257s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxyClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceProxy. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceProxyPrivate 1257s # { 1257s # GData *qdata; 1257s # }; 1257s # 1257s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_proxy_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1257s # g_datalist_clear (&proxy->priv->qdata); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # const GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1257s # const gchar *sender_name G_GNUC_UNUSED, 1257s # const gchar *signal_name, 1257s # GVariant *parameters) 1257s # { 1257s # _ExtendedGDBusSignalInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # gsize n; 1257s # guint signal_id; 1257s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1257s # if (info == NULL) 1257s # return; 1257s # num_params = g_variant_n_children (parameters); 1257s # paramv = g_new0 (GValue, num_params + 1); 1257s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[0], proxy); 1257s # g_variant_iter_init (&iter, parameters); 1257s # n = 1; 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_signal_emitv (paramv, signal_id, 0, NULL); 1257s # for (n = 0; n < num_params + 1; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1257s # GVariant *changed_properties, 1257s # const gchar *const *invalidated_properties) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1257s # guint n; 1257s # const gchar *key; 1257s # GVariantIter *iter; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # g_variant_get (changed_properties, "a{sv}", &iter); 1257s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1257s # g_datalist_remove_data (&proxy->priv->qdata, key); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # g_variant_iter_free (iter); 1257s # for (n = 0; invalidated_properties[n] != NULL; n++) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1257s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1257s # #else 1257s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1257s # #endif 1257s # 1257s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusProxyClass *proxy_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1257s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1257s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1257s # 1257s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1257s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1257s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_sync: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_sync ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new_for_bus ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeleton: 1257s # * 1257s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeletonClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1257s # { 1257s # GValue *properties; 1257s # GList *changed_properties; 1257s # GSource *changed_properties_idle_source; 1257s # GMainContext *context; 1257s # GMutex lock; 1257s # }; 1257s # 1257s # static void 1257s # _org_project_signaling_iface_skeleton_handle_method_call ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name, 1257s # const gchar *method_name, 1257s # GVariant *parameters, 1257s # GDBusMethodInvocation *invocation, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # _ExtendedGDBusMethodInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # guint num_extra; 1257s # gsize n; 1257s # guint signal_id; 1257s # GValue return_value = G_VALUE_INIT; 1257s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1257s # g_assert (info != NULL); 1257s # num_params = g_variant_n_children (parameters); 1257s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1257s # n = 0; 1257s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[n++], skeleton); 1257s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1257s # g_value_set_object (¶mv[n++], invocation); 1257s # if (info->pass_fdlist) 1257s # { 1257s # #ifdef G_OS_UNIX 1257s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1257s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1257s # #else 1257s # g_assert_not_reached (); 1257s # #endif 1257s # } 1257s # g_variant_iter_init (&iter, parameters); 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1257s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1257s # if (!g_value_get_boolean (&return_value)) 1257s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1257s # g_value_unset (&return_value); 1257s # for (n = 0; n < num_params + num_extra; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static GVariant * 1257s # _org_project_signaling_iface_skeleton_handle_get_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # GVariant *ret; 1257s # ret = NULL; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # g_value_init (&value, pspec->value_type); 1257s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1257s # g_value_unset (&value); 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _org_project_signaling_iface_skeleton_handle_set_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GVariant *variant, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # gboolean ret; 1257s # ret = FALSE; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # if (info->use_gvariant) 1257s # g_value_set_variant (&value, variant); 1257s # else 1257s # g_dbus_gvariant_to_gvalue (variant, &value); 1257s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # g_value_unset (&value); 1257s # ret = TRUE; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1257s # { 1257s # _org_project_signaling_iface_skeleton_handle_method_call, 1257s # _org_project_signaling_iface_skeleton_handle_get_property, 1257s # _org_project_signaling_iface_skeleton_handle_set_property, 1257s # {NULL} 1257s # }; 1257s # 1257s # static GDBusInterfaceInfo * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return org_project_signaling_iface_interface_info (); 1257s # } 1257s # 1257s # static GDBusInterfaceVTable * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1257s # } 1257s # 1257s # static GVariant * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1257s # 1257s # GVariantBuilder builder; 1257s # guint n; 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1257s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #else 1257s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #endif 1257s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1257s # goto out; 1257s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1257s # { 1257s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1257s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1257s # { 1257s # GVariant *value; 1257s # 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); 1257s # if (value != NULL) 1257s # { 1257s # g_variant_take_ref (value); 1257s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1257s # g_variant_unref (value); 1257s # } 1257s # } 1257s # } 1257s # out: 1257s # return g_variant_builder_end (&builder); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 1257s # OrgProjectSignalingIface *object, 1257s # gint arg_arg_i) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 1257s # arg_arg_i)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1257s # if (skeleton->priv->changed_properties_idle_source != NULL) 1257s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1257s # g_main_context_unref (skeleton->priv->context); 1257s # g_mutex_clear (&skeleton->priv->lock); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1257s # #else 1257s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1257s # #endif 1257s # 1257s # g_mutex_init (&skeleton->priv->lock); 1257s # skeleton->priv->context = g_main_context_ref_thread_default (); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusInterfaceSkeletonClass *skeleton_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1257s # 1257s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1257s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1257s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1257s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1257s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1257s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_skeleton_new: 1257s # * 1257s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_skeleton_new (void) 1257s # { 1257s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1257s # } 1257s # Error: 1257s # 1257s # /tmp/tmpa1fjo27q/tmpmosgtb_e.xml: 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa1fjo27q/tmpmosgtb_e.xml', '--output', '-', '--body'] 1257s # Return code: 0 1257s # Output: 1257s # /* 1257s # * This file is generated by gdbus-codegen, do not modify it. 1257s # * 1257s # * The license of this code is the same as for the D-Bus interface description 1257s # * it was derived from. Note that it links to GLib, so must comply with the 1257s # * LGPL linking clauses. 1257s # */ 1257s # 1257s # #ifdef HAVE_CONFIG_H 1257s # # include "config.h" 1257s # #endif 1257s # 1257s # #include 1257s # #ifdef G_OS_UNIX 1257s # # include 1257s # #endif 1257s # 1257s # #ifdef G_ENABLE_DEBUG 1257s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1257s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1257s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1257s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1257s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1257s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1257s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1257s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1257s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1257s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1257s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1257s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1257s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1257s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1257s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1257s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1257s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1257s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1257s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1257s # #else /* !G_ENABLE_DEBUG */ 1257s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1257s # * Do not access GValues directly in your code. Instead, use the 1257s # * g_value_get_*() functions 1257s # */ 1257s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1257s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1257s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1257s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1257s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1257s # #endif /* !G_ENABLE_DEBUG */ 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusArgInfo parent_struct; 1257s # gboolean use_gvariant; 1257s # } _ExtendedGDBusArgInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusMethodInfo parent_struct; 1257s # const gchar *signal_name; 1257s # gboolean pass_fdlist; 1257s # } _ExtendedGDBusMethodInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusSignalInfo parent_struct; 1257s # const gchar *signal_name; 1257s # } _ExtendedGDBusSignalInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusPropertyInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # guint use_gvariant : 1; 1257s # guint emits_changed_signal : 1; 1257s # } _ExtendedGDBusPropertyInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusInterfaceInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # } _ExtendedGDBusInterfaceInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # const _ExtendedGDBusPropertyInfo *info; 1257s # guint prop_id; 1257s # GValue orig_value; /* the value before the change */ 1257s # } ChangedProperty; 1257s # 1257s # static void 1257s # _changed_property_free (ChangedProperty *data) 1257s # { 1257s # g_value_unset (&data->orig_value); 1257s # g_free (data); 1257s # } 1257s # 1257s # static gboolean 1257s # _g_strv_equal0 (gchar **a, gchar **b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # guint n; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # if (g_strv_length (a) != g_strv_length (b)) 1257s # goto out; 1257s # for (n = 0; a[n] != NULL; n++) 1257s # if (g_strcmp0 (a[n], b[n]) != 0) 1257s # goto out; 1257s # ret = TRUE; 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _g_variant_equal0 (GVariant *a, GVariant *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # ret = g_variant_equal (a, b); 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # G_GNUC_UNUSED static gboolean 1257s # _g_value_equal (const GValue *a, const GValue *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1257s # switch (G_VALUE_TYPE (a)) 1257s # { 1257s # case G_TYPE_BOOLEAN: 1257s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1257s # break; 1257s # case G_TYPE_UCHAR: 1257s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1257s # break; 1257s # case G_TYPE_INT: 1257s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1257s # break; 1257s # case G_TYPE_UINT: 1257s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1257s # break; 1257s # case G_TYPE_INT64: 1257s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1257s # break; 1257s # case G_TYPE_UINT64: 1257s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1257s # break; 1257s # case G_TYPE_DOUBLE: 1257s # { 1257s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1257s # gdouble da = g_value_get_double (a); 1257s # gdouble db = g_value_get_double (b); 1257s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1257s # } 1257s # break; 1257s # case G_TYPE_STRING: 1257s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1257s # break; 1257s # case G_TYPE_VARIANT: 1257s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1257s # break; 1257s # default: 1257s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1257s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1257s # else 1257s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1257s # break; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ 1257s # * Code for interface org.project.SignalingIface 1257s # * ------------------------------------------------------------------------ 1257s # */ 1257s # 1257s # /** 1257s # * SECTION:OrgProjectSignalingIface 1257s # * @title: OrgProjectSignalingIface 1257s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1257s # * 1257s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1257s # */ 1257s # 1257s # enum 1257s # { 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1257s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 1257s # }; 1257s # 1257s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1257s # 1257s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SimpleSignal", 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "simple-signal" 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "arg_u", 1257s # (gchar *) "u", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SingleArgSignalU", 1257s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 1257s # NULL 1257s # }, 1257s # "single-arg-signal-u" 1257s # }; 1257s # 1257s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "org.project.SignalingIface", 1257s # NULL, 1257s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "org-project-signaling-iface", 1257s # }; 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_interface_info: 1257s # * 1257s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1257s # * 1257s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1257s # */ 1257s # GDBusInterfaceInfo * 1257s # org_project_signaling_iface_interface_info (void) 1257s # { 1257s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_override_properties: 1257s # * @klass: The class structure for a #GObject derived class. 1257s # * @property_id_begin: The property id to assign to the first overridden property. 1257s # * 1257s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1257s # * The properties are overridden in the order they are defined. 1257s # * 1257s # * Returns: The last property id. 1257s # */ 1257s # guint 1257s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1257s # { 1257s # return property_id_begin - 1; 1257s # } 1257s # 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_simple_signal ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__VOID (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__UINT (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface: 1257s # * 1257s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceIface: 1257s # * @parent_iface: The parent interface. 1257s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1257s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 1257s # * 1257s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1257s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1257s # 1257s # static void 1257s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # /* GObject signals for received D-Bus signals: */ 1257s # /** 1257s # * OrgProjectSignalingIface::simple-signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1257s # g_signal_new ("simple-signal", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_simple_signal, 1257s # G_TYPE_NONE, 1257s # 0); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-u: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_u: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 1257s # g_signal_new ("single-arg-signal-u", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_UINT); 1257s # 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_simple_signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * Emits the "SimpleSignal" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_u: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_u: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalU" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_u ( 1257s # OrgProjectSignalingIface *object, 1257s # guint arg_arg_u) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxy: 1257s # * 1257s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxyClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceProxy. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceProxyPrivate 1257s # { 1257s # GData *qdata; 1257s # }; 1257s # 1257s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_proxy_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1257s # g_datalist_clear (&proxy->priv->qdata); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # const GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1257s # const gchar *sender_name G_GNUC_UNUSED, 1257s # const gchar *signal_name, 1257s # GVariant *parameters) 1257s # { 1257s # _ExtendedGDBusSignalInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # gsize n; 1257s # guint signal_id; 1257s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1257s # if (info == NULL) 1257s # return; 1257s # num_params = g_variant_n_children (parameters); 1257s # paramv = g_new0 (GValue, num_params + 1); 1257s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[0], proxy); 1257s # g_variant_iter_init (&iter, parameters); 1257s # n = 1; 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_signal_emitv (paramv, signal_id, 0, NULL); 1257s # for (n = 0; n < num_params + 1; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1257s # GVariant *changed_properties, 1257s # const gchar *const *invalidated_properties) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1257s # guint n; 1257s # const gchar *key; 1257s # GVariantIter *iter; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # g_variant_get (changed_properties, "a{sv}", &iter); 1257s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1257s # g_datalist_remove_data (&proxy->priv->qdata, key); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # g_variant_iter_free (iter); 1257s # for (n = 0; invalidated_properties[n] != NULL; n++) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1257s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1257s # #else 1257s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1257s # #endif 1257s # 1257s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusProxyClass *proxy_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1257s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1257s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1257s # 1257s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1257s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1257s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_sync: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_sync ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new_for_bus ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeleton: 1257s # * 1257s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeletonClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1257s # { 1257s # GValue *properties; 1257s # GList *changed_properties; 1257s # GSource *changed_properties_idle_source; 1257s # GMainContext *context; 1257s # GMutex lock; 1257s # }; 1257s # 1257s # static void 1257s # _org_project_signaling_iface_skeleton_handle_method_call ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name, 1257s # const gchar *method_name, 1257s # GVariant *parameters, 1257s # GDBusMethodInvocation *invocation, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # _ExtendedGDBusMethodInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # guint num_extra; 1257s # gsize n; 1257s # guint signal_id; 1257s # GValue return_value = G_VALUE_INIT; 1257s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1257s # g_assert (info != NULL); 1257s # num_params = g_variant_n_children (parameters); 1257s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1257s # n = 0; 1257s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[n++], skeleton); 1257s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1257s # g_value_set_object (¶mv[n++], invocation); 1257s # if (info->pass_fdlist) 1257s # { 1257s # #ifdef G_OS_UNIX 1257s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1257s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1257s # #else 1257s # g_assert_not_reached (); 1257s # #endif 1257s # } 1257s # g_variant_iter_init (&iter, parameters); 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1257s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1257s # if (!g_value_get_boolean (&return_value)) 1257s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1257s # g_value_unset (&return_value); 1257s # for (n = 0; n < num_params + num_extra; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static GVariant * 1257s # _org_project_signaling_iface_skeleton_handle_get_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # GVariant *ret; 1257s # ret = NULL; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # g_value_init (&value, pspec->value_type); 1257s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1257s # g_value_unset (&value); 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _org_project_signaling_iface_skeleton_handle_set_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GVariant *variant, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # gboolean ret; 1257s # ret = FALSE; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # if (info->use_gvariant) 1257s # g_value_set_variant (&value, variant); 1257s # else 1257s # g_dbus_gvariant_to_gvalue (variant, &value); 1257s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # g_value_unset (&value); 1257s # ret = TRUE; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1257s # { 1257s # _org_project_signaling_iface_skeleton_handle_method_call, 1257s # _org_project_signaling_iface_skeleton_handle_get_property, 1257s # _org_project_signaling_iface_skeleton_handle_set_property, 1257s # {NULL} 1257s # }; 1257s # 1257s # static GDBusInterfaceInfo * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return org_project_signaling_iface_interface_info (); 1257s # } 1257s # 1257s # static GDBusInterfaceVTable * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1257s # } 1257s # 1257s # static GVariant * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1257s # 1257s # GVariantBuilder builder; 1257s # guint n; 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1257s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #else 1257s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #endif 1257s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1257s # goto out; 1257s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1257s # { 1257s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1257s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1257s # { 1257s # GVariant *value; 1257s # 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); 1257s # if (value != NULL) 1257s # { 1257s # g_variant_take_ref (value); 1257s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1257s # g_variant_unref (value); 1257s # } 1257s # } 1257s # } 1257s # out: 1257s # return g_variant_builder_end (&builder); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 1257s # OrgProjectSignalingIface *object, 1257s # guint arg_arg_u) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 1257s # arg_arg_u)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1257s # if (skeleton->priv->changed_properties_idle_source != NULL) 1257s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1257s # g_main_context_unref (skeleton->priv->context); 1257s # g_mutex_clear (&skeleton->priv->lock); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1257s # #else 1257s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1257s # #endif 1257s # 1257s # g_mutex_init (&skeleton->priv->lock); 1257s # skeleton->priv->context = g_main_context_ref_thread_default (); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusInterfaceSkeletonClass *skeleton_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1257s # 1257s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1257s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1257s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1257s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1257s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1257s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_skeleton_new: 1257s # * 1257s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_skeleton_new (void) 1257s # { 1257s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1257s # } 1257s # Error: 1257s # 1257s # /tmp/tmpa1fjo27q/tmph7ahwpim.xml: 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa1fjo27q/tmph7ahwpim.xml', '--output', '-', '--body'] 1257s # Return code: 0 1257s # Output: 1257s # /* 1257s # * This file is generated by gdbus-codegen, do not modify it. 1257s # * 1257s # * The license of this code is the same as for the D-Bus interface description 1257s # * it was derived from. Note that it links to GLib, so must comply with the 1257s # * LGPL linking clauses. 1257s # */ 1257s # 1257s # #ifdef HAVE_CONFIG_H 1257s # # include "config.h" 1257s # #endif 1257s # 1257s # #include 1257s # #ifdef G_OS_UNIX 1257s # # include 1257s # #endif 1257s # 1257s # #ifdef G_ENABLE_DEBUG 1257s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1257s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1257s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1257s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1257s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1257s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1257s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1257s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1257s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1257s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1257s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1257s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1257s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1257s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1257s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1257s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1257s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1257s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1257s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1257s # #else /* !G_ENABLE_DEBUG */ 1257s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1257s # * Do not access GValues directly in your code. Instead, use the 1257s # * g_value_get_*() functions 1257s # */ 1257s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1257s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1257s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1257s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1257s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1257s # #endif /* !G_ENABLE_DEBUG */ 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusArgInfo parent_struct; 1257s # gboolean use_gvariant; 1257s # } _ExtendedGDBusArgInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusMethodInfo parent_struct; 1257s # const gchar *signal_name; 1257s # gboolean pass_fdlist; 1257s # } _ExtendedGDBusMethodInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusSignalInfo parent_struct; 1257s # const gchar *signal_name; 1257s # } _ExtendedGDBusSignalInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusPropertyInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # guint use_gvariant : 1; 1257s # guint emits_changed_signal : 1; 1257s # } _ExtendedGDBusPropertyInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusInterfaceInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # } _ExtendedGDBusInterfaceInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # const _ExtendedGDBusPropertyInfo *info; 1257s # guint prop_id; 1257s # GValue orig_value; /* the value before the change */ 1257s # } ChangedProperty; 1257s # 1257s # static void 1257s # _changed_property_free (ChangedProperty *data) 1257s # { 1257s # g_value_unset (&data->orig_value); 1257s # g_free (data); 1257s # } 1257s # 1257s # static gboolean 1257s # _g_strv_equal0 (gchar **a, gchar **b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # guint n; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # if (g_strv_length (a) != g_strv_length (b)) 1257s # goto out; 1257s # for (n = 0; a[n] != NULL; n++) 1257s # if (g_strcmp0 (a[n], b[n]) != 0) 1257s # goto out; 1257s # ret = TRUE; 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _g_variant_equal0 (GVariant *a, GVariant *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # ret = g_variant_equal (a, b); 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # G_GNUC_UNUSED static gboolean 1257s # _g_value_equal (const GValue *a, const GValue *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1257s # switch (G_VALUE_TYPE (a)) 1257s # { 1257s # case G_TYPE_BOOLEAN: 1257s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1257s # break; 1257s # case G_TYPE_UCHAR: 1257s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1257s # break; 1257s # case G_TYPE_INT: 1257s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1257s # break; 1257s # case G_TYPE_UINT: 1257s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1257s # break; 1257s # case G_TYPE_INT64: 1257s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1257s # break; 1257s # case G_TYPE_UINT64: 1257s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1257s # break; 1257s # case G_TYPE_DOUBLE: 1257s # { 1257s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1257s # gdouble da = g_value_get_double (a); 1257s # gdouble db = g_value_get_double (b); 1257s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1257s # } 1257s # break; 1257s # case G_TYPE_STRING: 1257s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1257s # break; 1257s # case G_TYPE_VARIANT: 1257s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1257s # break; 1257s # default: 1257s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1257s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1257s # else 1257s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1257s # break; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static void 1257s # _g_dbus_codegen_marshal_VOID__INT64 ( 1257s # GClosure *closure, 1257s # GValue *return_value G_GNUC_UNUSED, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint G_GNUC_UNUSED, 1257s # void *marshal_data) 1257s # { 1257s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 1257s # (void *data1, 1257s # gint64 arg_arg_x, 1257s # void *data2); 1257s # _GDbusCodegenMarshalVoid_Int64Func callback; 1257s # GCClosure *cc = (GCClosure*) closure; 1257s # void *data1, *data2; 1257s # 1257s # g_return_if_fail (n_param_values == 2); 1257s # 1257s # if (G_CCLOSURE_SWAP_DATA (closure)) 1257s # { 1257s # data1 = closure->data; 1257s # data2 = g_value_peek_pointer (param_values + 0); 1257s # } 1257s # else 1257s # { 1257s # data1 = g_value_peek_pointer (param_values + 0); 1257s # data2 = closure->data; 1257s # } 1257s # 1257s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 1257s # (marshal_data ? marshal_data : cc->callback); 1257s # 1257s # callback (data1, 1257s # g_marshal_value_peek_int64 (param_values + 1), 1257s # data2); 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ 1257s # * Code for interface org.project.SignalingIface 1257s # * ------------------------------------------------------------------------ 1257s # */ 1257s # 1257s # /** 1257s # * SECTION:OrgProjectSignalingIface 1257s # * @title: OrgProjectSignalingIface 1257s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1257s # * 1257s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1257s # */ 1257s # 1257s # enum 1257s # { 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1257s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 1257s # }; 1257s # 1257s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1257s # 1257s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SimpleSignal", 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "simple-signal" 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "arg_x", 1257s # (gchar *) "x", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SingleArgSignalX", 1257s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 1257s # NULL 1257s # }, 1257s # "single-arg-signal-x" 1257s # }; 1257s # 1257s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "org.project.SignalingIface", 1257s # NULL, 1257s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "org-project-signaling-iface", 1257s # }; 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_interface_info: 1257s # * 1257s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1257s # * 1257s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1257s # */ 1257s # GDBusInterfaceInfo * 1257s # org_project_signaling_iface_interface_info (void) 1257s # { 1257s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_override_properties: 1257s # * @klass: The class structure for a #GObject derived class. 1257s # * @property_id_begin: The property id to assign to the first overridden property. 1257s # * 1257s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1257s # * The properties are overridden in the order they are defined. 1257s # * 1257s # * Returns: The last property id. 1257s # */ 1257s # guint 1257s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1257s # { 1257s # return property_id_begin - 1; 1257s # } 1257s # 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_simple_signal ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__VOID (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface: 1257s # * 1257s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceIface: 1257s # * @parent_iface: The parent interface. 1257s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1257s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 1257s # * 1257s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1257s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1257s # 1257s # static void 1257s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # /* GObject signals for received D-Bus signals: */ 1257s # /** 1257s # * OrgProjectSignalingIface::simple-signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1257s # g_signal_new ("simple-signal", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_simple_signal, 1257s # G_TYPE_NONE, 1257s # 0); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-x: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_x: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 1257s # g_signal_new ("single-arg-signal-x", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_INT64); 1257s # 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_simple_signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * Emits the "SimpleSignal" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_x: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_x: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalX" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_x ( 1257s # OrgProjectSignalingIface *object, 1257s # gint64 arg_arg_x) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxy: 1257s # * 1257s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxyClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceProxy. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceProxyPrivate 1257s # { 1257s # GData *qdata; 1257s # }; 1257s # 1257s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_proxy_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1257s # g_datalist_clear (&proxy->priv->qdata); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # const GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1257s # const gchar *sender_name G_GNUC_UNUSED, 1257s # const gchar *signal_name, 1257s # GVariant *parameters) 1257s # { 1257s # _ExtendedGDBusSignalInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # gsize n; 1257s # guint signal_id; 1257s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1257s # if (info == NULL) 1257s # return; 1257s # num_params = g_variant_n_children (parameters); 1257s # paramv = g_new0 (GValue, num_params + 1); 1257s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[0], proxy); 1257s # g_variant_iter_init (&iter, parameters); 1257s # n = 1; 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_signal_emitv (paramv, signal_id, 0, NULL); 1257s # for (n = 0; n < num_params + 1; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1257s # GVariant *changed_properties, 1257s # const gchar *const *invalidated_properties) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1257s # guint n; 1257s # const gchar *key; 1257s # GVariantIter *iter; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # g_variant_get (changed_properties, "a{sv}", &iter); 1257s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1257s # g_datalist_remove_data (&proxy->priv->qdata, key); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # g_variant_iter_free (iter); 1257s # for (n = 0; invalidated_properties[n] != NULL; n++) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1257s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1257s # #else 1257s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1257s # #endif 1257s # 1257s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusProxyClass *proxy_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1257s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1257s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1257s # 1257s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1257s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1257s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_sync: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_sync ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new_for_bus ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeleton: 1257s # * 1257s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeletonClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1257s # { 1257s # GValue *properties; 1257s # GList *changed_properties; 1257s # GSource *changed_properties_idle_source; 1257s # GMainContext *context; 1257s # GMutex lock; 1257s # }; 1257s # 1257s # static void 1257s # _org_project_signaling_iface_skeleton_handle_method_call ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name, 1257s # const gchar *method_name, 1257s # GVariant *parameters, 1257s # GDBusMethodInvocation *invocation, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # _ExtendedGDBusMethodInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # guint num_extra; 1257s # gsize n; 1257s # guint signal_id; 1257s # GValue return_value = G_VALUE_INIT; 1257s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1257s # g_assert (info != NULL); 1257s # num_params = g_variant_n_children (parameters); 1257s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1257s # n = 0; 1257s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[n++], skeleton); 1257s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1257s # g_value_set_object (¶mv[n++], invocation); 1257s # if (info->pass_fdlist) 1257s # { 1257s # #ifdef G_OS_UNIX 1257s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1257s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1257s # #else 1257s # g_assert_not_reached (); 1257s # #endif 1257s # } 1257s # g_variant_iter_init (&iter, parameters); 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1257s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1257s # if (!g_value_get_boolean (&return_value)) 1257s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1257s # g_value_unset (&return_value); 1257s # for (n = 0; n < num_params + num_extra; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static GVariant * 1257s # _org_project_signaling_iface_skeleton_handle_get_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # GVariant *ret; 1257s # ret = NULL; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # g_value_init (&value, pspec->value_type); 1257s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1257s # g_value_unset (&value); 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _org_project_signaling_iface_skeleton_handle_set_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GVariant *variant, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # gboolean ret; 1257s # ret = FALSE; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # if (info->use_gvariant) 1257s # g_value_set_variant (&value, variant); 1257s # else 1257s # g_dbus_gvariant_to_gvalue (variant, &value); 1257s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # g_value_unset (&value); 1257s # ret = TRUE; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1257s # { 1257s # _org_project_signaling_iface_skeleton_handle_method_call, 1257s # _org_project_signaling_iface_skeleton_handle_get_property, 1257s # _org_project_signaling_iface_skeleton_handle_set_property, 1257s # {NULL} 1257s # }; 1257s # 1257s # static GDBusInterfaceInfo * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return org_project_signaling_iface_interface_info (); 1257s # } 1257s # 1257s # static GDBusInterfaceVTable * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1257s # } 1257s # 1257s # static GVariant * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1257s # 1257s # GVariantBuilder builder; 1257s # guint n; 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1257s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #else 1257s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #endif 1257s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1257s # goto out; 1257s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1257s # { 1257s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1257s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1257s # { 1257s # GVariant *value; 1257s # 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); 1257s # if (value != NULL) 1257s # { 1257s # g_variant_take_ref (value); 1257s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1257s # g_variant_unref (value); 1257s # } 1257s # } 1257s # } 1257s # out: 1257s # return g_variant_builder_end (&builder); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 1257s # OrgProjectSignalingIface *object, 1257s # gint64 arg_arg_x) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 1257s # arg_arg_x)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1257s # if (skeleton->priv->changed_properties_idle_source != NULL) 1257s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1257s # g_main_context_unref (skeleton->priv->context); 1257s # g_mutex_clear (&skeleton->priv->lock); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1257s # #else 1257s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1257s # #endif 1257s # 1257s # g_mutex_init (&skeleton->priv->lock); 1257s # skeleton->priv->context = g_main_context_ref_thread_default (); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusInterfaceSkeletonClass *skeleton_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1257s # 1257s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1257s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1257s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1257s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1257s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1257s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_skeleton_new: 1257s # * 1257s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_skeleton_new (void) 1257s # { 1257s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1257s # } 1257s # Error: 1257s # 1257s # /tmp/tmpa1fjo27q/tmpu0bpf5bk.xml: 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa1fjo27q/tmpu0bpf5bk.xml', '--output', '-', '--body'] 1257s # Return code: 0 1257s # Output: 1257s # /* 1257s # * This file is generated by gdbus-codegen, do not modify it. 1257s # * 1257s # * The license of this code is the same as for the D-Bus interface description 1257s # * it was derived from. Note that it links to GLib, so must comply with the 1257s # * LGPL linking clauses. 1257s # */ 1257s # 1257s # #ifdef HAVE_CONFIG_H 1257s # # include "config.h" 1257s # #endif 1257s # 1257s # #include 1257s # #ifdef G_OS_UNIX 1257s # # include 1257s # #endif 1257s # 1257s # #ifdef G_ENABLE_DEBUG 1257s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1257s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1257s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1257s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1257s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1257s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1257s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1257s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1257s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1257s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1257s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1257s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1257s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1257s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1257s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1257s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1257s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1257s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1257s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1257s # #else /* !G_ENABLE_DEBUG */ 1257s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1257s # * Do not access GValues directly in your code. Instead, use the 1257s # * g_value_get_*() functions 1257s # */ 1257s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1257s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1257s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1257s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1257s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1257s # #endif /* !G_ENABLE_DEBUG */ 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusArgInfo parent_struct; 1257s # gboolean use_gvariant; 1257s # } _ExtendedGDBusArgInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusMethodInfo parent_struct; 1257s # const gchar *signal_name; 1257s # gboolean pass_fdlist; 1257s # } _ExtendedGDBusMethodInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusSignalInfo parent_struct; 1257s # const gchar *signal_name; 1257s # } _ExtendedGDBusSignalInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusPropertyInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # guint use_gvariant : 1; 1257s # guint emits_changed_signal : 1; 1257s # } _ExtendedGDBusPropertyInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusInterfaceInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # } _ExtendedGDBusInterfaceInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # const _ExtendedGDBusPropertyInfo *info; 1257s # guint prop_id; 1257s # GValue orig_value; /* the value before the change */ 1257s # } ChangedProperty; 1257s # 1257s # static void 1257s # _changed_property_free (ChangedProperty *data) 1257s # { 1257s # g_value_unset (&data->orig_value); 1257s # g_free (data); 1257s # } 1257s # 1257s # static gboolean 1257s # _g_strv_equal0 (gchar **a, gchar **b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # guint n; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # if (g_strv_length (a) != g_strv_length (b)) 1257s # goto out; 1257s # for (n = 0; a[n] != NULL; n++) 1257s # if (g_strcmp0 (a[n], b[n]) != 0) 1257s # goto out; 1257s # ret = TRUE; 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _g_variant_equal0 (GVariant *a, GVariant *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # ret = g_variant_equal (a, b); 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # G_GNUC_UNUSED static gboolean 1257s # _g_value_equal (const GValue *a, const GValue *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1257s # switch (G_VALUE_TYPE (a)) 1257s # { 1257s # case G_TYPE_BOOLEAN: 1257s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1257s # break; 1257s # case G_TYPE_UCHAR: 1257s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1257s # break; 1257s # case G_TYPE_INT: 1257s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1257s # break; 1257s # case G_TYPE_UINT: 1257s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1257s # break; 1257s # case G_TYPE_INT64: 1257s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1257s # break; 1257s # case G_TYPE_UINT64: 1257s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1257s # break; 1257s # case G_TYPE_DOUBLE: 1257s # { 1257s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1257s # gdouble da = g_value_get_double (a); 1257s # gdouble db = g_value_get_double (b); 1257s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1257s # } 1257s # break; 1257s # case G_TYPE_STRING: 1257s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1257s # break; 1257s # case G_TYPE_VARIANT: 1257s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1257s # break; 1257s # default: 1257s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1257s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1257s # else 1257s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1257s # break; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static void 1257s # _g_dbus_codegen_marshal_VOID__UINT64 ( 1257s # GClosure *closure, 1257s # GValue *return_value G_GNUC_UNUSED, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint G_GNUC_UNUSED, 1257s # void *marshal_data) 1257s # { 1257s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 1257s # (void *data1, 1257s # guint64 arg_arg_t, 1257s # void *data2); 1257s # _GDbusCodegenMarshalVoid_Uint64Func callback; 1257s # GCClosure *cc = (GCClosure*) closure; 1257s # void *data1, *data2; 1257s # 1257s # g_return_if_fail (n_param_values == 2); 1257s # 1257s # if (G_CCLOSURE_SWAP_DATA (closure)) 1257s # { 1257s # data1 = closure->data; 1257s # data2 = g_value_peek_pointer (param_values + 0); 1257s # } 1257s # else 1257s # { 1257s # data1 = g_value_peek_pointer (param_values + 0); 1257s # data2 = closure->data; 1257s # } 1257s # 1257s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 1257s # (marshal_data ? marshal_data : cc->callback); 1257s # 1257s # callback (data1, 1257s # g_marshal_value_peek_uint64 (param_values + 1), 1257s # data2); 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ 1257s # * Code for interface org.project.SignalingIface 1257s # * ------------------------------------------------------------------------ 1257s # */ 1257s # 1257s # /** 1257s # * SECTION:OrgProjectSignalingIface 1257s # * @title: OrgProjectSignalingIface 1257s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1257s # * 1257s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1257s # */ 1257s # 1257s # enum 1257s # { 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1257s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 1257s # }; 1257s # 1257s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1257s # 1257s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SimpleSignal", 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "simple-signal" 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "arg_t", 1257s # (gchar *) "t", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SingleArgSignalT", 1257s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 1257s # NULL 1257s # }, 1257s # "single-arg-signal-t" 1257s # }; 1257s # 1257s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "org.project.SignalingIface", 1257s # NULL, 1257s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "org-project-signaling-iface", 1257s # }; 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_interface_info: 1257s # * 1257s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1257s # * 1257s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1257s # */ 1257s # GDBusInterfaceInfo * 1257s # org_project_signaling_iface_interface_info (void) 1257s # { 1257s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_override_properties: 1257s # * @klass: The class structure for a #GObject derived class. 1257s # * @property_id_begin: The property id to assign to the first overridden property. 1257s # * 1257s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1257s # * The properties are overridden in the order they are defined. 1257s # * 1257s # * Returns: The last property id. 1257s # */ 1257s # guint 1257s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1257s # { 1257s # return property_id_begin - 1; 1257s # } 1257s # 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_simple_signal ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__VOID (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface: 1257s # * 1257s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceIface: 1257s # * @parent_iface: The parent interface. 1257s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1257s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 1257s # * 1257s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1257s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1257s # 1257s # static void 1257s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # /* GObject signals for received D-Bus signals: */ 1257s # /** 1257s # * OrgProjectSignalingIface::simple-signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1257s # g_signal_new ("simple-signal", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_simple_signal, 1257s # G_TYPE_NONE, 1257s # 0); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-t: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_t: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 1257s # g_signal_new ("single-arg-signal-t", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_UINT64); 1257s # 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_simple_signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * Emits the "SimpleSignal" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_t: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_t: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalT" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_t ( 1257s # OrgProjectSignalingIface *object, 1257s # guint64 arg_arg_t) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxy: 1257s # * 1257s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxyClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceProxy. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceProxyPrivate 1257s # { 1257s # GData *qdata; 1257s # }; 1257s # 1257s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_proxy_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1257s # g_datalist_clear (&proxy->priv->qdata); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # const GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1257s # const gchar *sender_name G_GNUC_UNUSED, 1257s # const gchar *signal_name, 1257s # GVariant *parameters) 1257s # { 1257s # _ExtendedGDBusSignalInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # gsize n; 1257s # guint signal_id; 1257s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1257s # if (info == NULL) 1257s # return; 1257s # num_params = g_variant_n_children (parameters); 1257s # paramv = g_new0 (GValue, num_params + 1); 1257s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[0], proxy); 1257s # g_variant_iter_init (&iter, parameters); 1257s # n = 1; 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_signal_emitv (paramv, signal_id, 0, NULL); 1257s # for (n = 0; n < num_params + 1; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1257s # GVariant *changed_properties, 1257s # const gchar *const *invalidated_properties) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1257s # guint n; 1257s # const gchar *key; 1257s # GVariantIter *iter; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # g_variant_get (changed_properties, "a{sv}", &iter); 1257s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1257s # g_datalist_remove_data (&proxy->priv->qdata, key); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # g_variant_iter_free (iter); 1257s # for (n = 0; invalidated_properties[n] != NULL; n++) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1257s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1257s # #else 1257s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1257s # #endif 1257s # 1257s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusProxyClass *proxy_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1257s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1257s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1257s # 1257s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1257s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1257s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_sync: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_sync ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new_for_bus ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeleton: 1257s # * 1257s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeletonClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1257s # { 1257s # GValue *properties; 1257s # GList *changed_properties; 1257s # GSource *changed_properties_idle_source; 1257s # GMainContext *context; 1257s # GMutex lock; 1257s # }; 1257s # 1257s # static void 1257s # _org_project_signaling_iface_skeleton_handle_method_call ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name, 1257s # const gchar *method_name, 1257s # GVariant *parameters, 1257s # GDBusMethodInvocation *invocation, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # _ExtendedGDBusMethodInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # guint num_extra; 1257s # gsize n; 1257s # guint signal_id; 1257s # GValue return_value = G_VALUE_INIT; 1257s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1257s # g_assert (info != NULL); 1257s # num_params = g_variant_n_children (parameters); 1257s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1257s # n = 0; 1257s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[n++], skeleton); 1257s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1257s # g_value_set_object (¶mv[n++], invocation); 1257s # if (info->pass_fdlist) 1257s # { 1257s # #ifdef G_OS_UNIX 1257s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1257s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1257s # #else 1257s # g_assert_not_reached (); 1257s # #endif 1257s # } 1257s # g_variant_iter_init (&iter, parameters); 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1257s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1257s # if (!g_value_get_boolean (&return_value)) 1257s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1257s # g_value_unset (&return_value); 1257s # for (n = 0; n < num_params + num_extra; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static GVariant * 1257s # _org_project_signaling_iface_skeleton_handle_get_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # GVariant *ret; 1257s # ret = NULL; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # g_value_init (&value, pspec->value_type); 1257s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1257s # g_value_unset (&value); 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _org_project_signaling_iface_skeleton_handle_set_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GVariant *variant, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # gboolean ret; 1257s # ret = FALSE; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # if (info->use_gvariant) 1257s # g_value_set_variant (&value, variant); 1257s # else 1257s # g_dbus_gvariant_to_gvalue (variant, &value); 1257s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # g_value_unset (&value); 1257s # ret = TRUE; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1257s # { 1257s # _org_project_signaling_iface_skeleton_handle_method_call, 1257s # _org_project_signaling_iface_skeleton_handle_get_property, 1257s # _org_project_signaling_iface_skeleton_handle_set_property, 1257s # {NULL} 1257s # }; 1257s # 1257s # static GDBusInterfaceInfo * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return org_project_signaling_iface_interface_info (); 1257s # } 1257s # 1257s # static GDBusInterfaceVTable * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1257s # } 1257s # 1257s # static GVariant * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1257s # 1257s # GVariantBuilder builder; 1257s # guint n; 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1257s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #else 1257s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #endif 1257s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1257s # goto out; 1257s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1257s # { 1257s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1257s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1257s # { 1257s # GVariant *value; 1257s # 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); 1257s # if (value != NULL) 1257s # { 1257s # g_variant_take_ref (value); 1257s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1257s # g_variant_unref (value); 1257s # } 1257s # } 1257s # } 1257s # out: 1257s # return g_variant_builder_end (&builder); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 1257s # OrgProjectSignalingIface *object, 1257s # guint64 arg_arg_t) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 1257s # arg_arg_t)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1257s # if (skeleton->priv->changed_properties_idle_source != NULL) 1257s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1257s # g_main_context_unref (skeleton->priv->context); 1257s # g_mutex_clear (&skeleton->priv->lock); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1257s # #else 1257s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1257s # #endif 1257s # 1257s # g_mutex_init (&skeleton->priv->lock); 1257s # skeleton->priv->context = g_main_context_ref_thread_default (); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusInterfaceSkeletonClass *skeleton_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1257s # 1257s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1257s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1257s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1257s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1257s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1257s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_skeleton_new: 1257s # * 1257s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_skeleton_new (void) 1257s # { 1257s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1257s # } 1257s # Error: 1257s # 1257s # /tmp/tmpa1fjo27q/tmpygft7yf0.xml: 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa1fjo27q/tmpygft7yf0.xml', '--output', '-', '--body'] 1257s # Return code: 0 1257s # Output: 1257s # /* 1257s # * This file is generated by gdbus-codegen, do not modify it. 1257s # * 1257s # * The license of this code is the same as for the D-Bus interface description 1257s # * it was derived from. Note that it links to GLib, so must comply with the 1257s # * LGPL linking clauses. 1257s # */ 1257s # 1257s # #ifdef HAVE_CONFIG_H 1257s # # include "config.h" 1257s # #endif 1257s # 1257s # #include 1257s # #ifdef G_OS_UNIX 1257s # # include 1257s # #endif 1257s # 1257s # #ifdef G_ENABLE_DEBUG 1257s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1257s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1257s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1257s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1257s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1257s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1257s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1257s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1257s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1257s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1257s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1257s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1257s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1257s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1257s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1257s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1257s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1257s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1257s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1257s # #else /* !G_ENABLE_DEBUG */ 1257s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1257s # * Do not access GValues directly in your code. Instead, use the 1257s # * g_value_get_*() functions 1257s # */ 1257s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1257s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1257s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1257s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1257s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1257s # #endif /* !G_ENABLE_DEBUG */ 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusArgInfo parent_struct; 1257s # gboolean use_gvariant; 1257s # } _ExtendedGDBusArgInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusMethodInfo parent_struct; 1257s # const gchar *signal_name; 1257s # gboolean pass_fdlist; 1257s # } _ExtendedGDBusMethodInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusSignalInfo parent_struct; 1257s # const gchar *signal_name; 1257s # } _ExtendedGDBusSignalInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusPropertyInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # guint use_gvariant : 1; 1257s # guint emits_changed_signal : 1; 1257s # } _ExtendedGDBusPropertyInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusInterfaceInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # } _ExtendedGDBusInterfaceInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # const _ExtendedGDBusPropertyInfo *info; 1257s # guint prop_id; 1257s # GValue orig_value; /* the value before the change */ 1257s # } ChangedProperty; 1257s # 1257s # static void 1257s # _changed_property_free (ChangedProperty *data) 1257s # { 1257s # g_value_unset (&data->orig_value); 1257s # g_free (data); 1257s # } 1257s # 1257s # static gboolean 1257s # _g_strv_equal0 (gchar **a, gchar **b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # guint n; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # if (g_strv_length (a) != g_strv_length (b)) 1257s # goto out; 1257s # for (n = 0; a[n] != NULL; n++) 1257s # if (g_strcmp0 (a[n], b[n]) != 0) 1257s # goto out; 1257s # ret = TRUE; 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _g_variant_equal0 (GVariant *a, GVariant *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # ret = g_variant_equal (a, b); 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # G_GNUC_UNUSED static gboolean 1257s # _g_value_equal (const GValue *a, const GValue *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1257s # switch (G_VALUE_TYPE (a)) 1257s # { 1257s # case G_TYPE_BOOLEAN: 1257s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1257s # break; 1257s # case G_TYPE_UCHAR: 1257s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1257s # break; 1257s # case G_TYPE_INT: 1257s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1257s # break; 1257s # case G_TYPE_UINT: 1257s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1257s # break; 1257s # case G_TYPE_INT64: 1257s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1257s # break; 1257s # case G_TYPE_UINT64: 1257s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1257s # break; 1257s # case G_TYPE_DOUBLE: 1257s # { 1257s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1257s # gdouble da = g_value_get_double (a); 1257s # gdouble db = g_value_get_double (b); 1257s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1257s # } 1257s # break; 1257s # case G_TYPE_STRING: 1257s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1257s # break; 1257s # case G_TYPE_VARIANT: 1257s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1257s # break; 1257s # default: 1257s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1257s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1257s # else 1257s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1257s # break; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ 1257s # * Code for interface org.project.SignalingIface 1257s # * ------------------------------------------------------------------------ 1257s # */ 1257s # 1257s # /** 1257s # * SECTION:OrgProjectSignalingIface 1257s # * @title: OrgProjectSignalingIface 1257s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1257s # * 1257s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1257s # */ 1257s # 1257s # enum 1257s # { 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1257s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 1257s # }; 1257s # 1257s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1257s # 1257s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SimpleSignal", 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "simple-signal" 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "arg_d", 1257s # (gchar *) "d", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SingleArgSignalD", 1257s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 1257s # NULL 1257s # }, 1257s # "single-arg-signal-d" 1257s # }; 1257s # 1257s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "org.project.SignalingIface", 1257s # NULL, 1257s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "org-project-signaling-iface", 1257s # }; 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_interface_info: 1257s # * 1257s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1257s # * 1257s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1257s # */ 1257s # GDBusInterfaceInfo * 1257s # org_project_signaling_iface_interface_info (void) 1257s # { 1257s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_override_properties: 1257s # * @klass: The class structure for a #GObject derived class. 1257s # * @property_id_begin: The property id to assign to the first overridden property. 1257s # * 1257s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1257s # * The properties are overridden in the order they are defined. 1257s # * 1257s # * Returns: The last property id. 1257s # */ 1257s # guint 1257s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1257s # { 1257s # return property_id_begin - 1; 1257s # } 1257s # 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_simple_signal ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__VOID (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__DOUBLE (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface: 1257s # * 1257s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceIface: 1257s # * @parent_iface: The parent interface. 1257s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1257s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 1257s # * 1257s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1257s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1257s # 1257s # static void 1257s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # /* GObject signals for received D-Bus signals: */ 1257s # /** 1257s # * OrgProjectSignalingIface::simple-signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1257s # g_signal_new ("simple-signal", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_simple_signal, 1257s # G_TYPE_NONE, 1257s # 0); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-d: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_d: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 1257s # g_signal_new ("single-arg-signal-d", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_DOUBLE); 1257s # 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_simple_signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * Emits the "SimpleSignal" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_d: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_d: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalD" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_d ( 1257s # OrgProjectSignalingIface *object, 1257s # gdouble arg_arg_d) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxy: 1257s # * 1257s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxyClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceProxy. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceProxyPrivate 1257s # { 1257s # GData *qdata; 1257s # }; 1257s # 1257s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_proxy_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1257s # g_datalist_clear (&proxy->priv->qdata); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # const GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1257s # const gchar *sender_name G_GNUC_UNUSED, 1257s # const gchar *signal_name, 1257s # GVariant *parameters) 1257s # { 1257s # _ExtendedGDBusSignalInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # gsize n; 1257s # guint signal_id; 1257s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1257s # if (info == NULL) 1257s # return; 1257s # num_params = g_variant_n_children (parameters); 1257s # paramv = g_new0 (GValue, num_params + 1); 1257s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[0], proxy); 1257s # g_variant_iter_init (&iter, parameters); 1257s # n = 1; 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_signal_emitv (paramv, signal_id, 0, NULL); 1257s # for (n = 0; n < num_params + 1; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1257s # GVariant *changed_properties, 1257s # const gchar *const *invalidated_properties) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1257s # guint n; 1257s # const gchar *key; 1257s # GVariantIter *iter; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # g_variant_get (changed_properties, "a{sv}", &iter); 1257s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1257s # g_datalist_remove_data (&proxy->priv->qdata, key); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # g_variant_iter_free (iter); 1257s # for (n = 0; invalidated_properties[n] != NULL; n++) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1257s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1257s # #else 1257s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1257s # #endif 1257s # 1257s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusProxyClass *proxy_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1257s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1257s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1257s # 1257s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1257s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1257s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_sync: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_sync ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new_for_bus ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeleton: 1257s # * 1257s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeletonClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1257s # { 1257s # GValue *properties; 1257s # GList *changed_properties; 1257s # GSource *changed_properties_idle_source; 1257s # GMainContext *context; 1257s # GMutex lock; 1257s # }; 1257s # 1257s # static void 1257s # _org_project_signaling_iface_skeleton_handle_method_call ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name, 1257s # const gchar *method_name, 1257s # GVariant *parameters, 1257s # GDBusMethodInvocation *invocation, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # _ExtendedGDBusMethodInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # guint num_extra; 1257s # gsize n; 1257s # guint signal_id; 1257s # GValue return_value = G_VALUE_INIT; 1257s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1257s # g_assert (info != NULL); 1257s # num_params = g_variant_n_children (parameters); 1257s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1257s # n = 0; 1257s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[n++], skeleton); 1257s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1257s # g_value_set_object (¶mv[n++], invocation); 1257s # if (info->pass_fdlist) 1257s # { 1257s # #ifdef G_OS_UNIX 1257s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1257s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1257s # #else 1257s # g_assert_not_reached (); 1257s # #endif 1257s # } 1257s # g_variant_iter_init (&iter, parameters); 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1257s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1257s # if (!g_value_get_boolean (&return_value)) 1257s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1257s # g_value_unset (&return_value); 1257s # for (n = 0; n < num_params + num_extra; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static GVariant * 1257s # _org_project_signaling_iface_skeleton_handle_get_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # GVariant *ret; 1257s # ret = NULL; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # g_value_init (&value, pspec->value_type); 1257s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1257s # g_value_unset (&value); 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _org_project_signaling_iface_skeleton_handle_set_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GVariant *variant, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # gboolean ret; 1257s # ret = FALSE; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # if (info->use_gvariant) 1257s # g_value_set_variant (&value, variant); 1257s # else 1257s # g_dbus_gvariant_to_gvalue (variant, &value); 1257s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # g_value_unset (&value); 1257s # ret = TRUE; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1257s # { 1257s # _org_project_signaling_iface_skeleton_handle_method_call, 1257s # _org_project_signaling_iface_skeleton_handle_get_property, 1257s # _org_project_signaling_iface_skeleton_handle_set_property, 1257s # {NULL} 1257s # }; 1257s # 1257s # static GDBusInterfaceInfo * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return org_project_signaling_iface_interface_info (); 1257s # } 1257s # 1257s # static GDBusInterfaceVTable * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1257s # } 1257s # 1257s # static GVariant * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1257s # 1257s # GVariantBuilder builder; 1257s # guint n; 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1257s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #else 1257s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #endif 1257s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1257s # goto out; 1257s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1257s # { 1257s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1257s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1257s # { 1257s # GVariant *value; 1257s # 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); 1257s # if (value != NULL) 1257s # { 1257s # g_variant_take_ref (value); 1257s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1257s # g_variant_unref (value); 1257s # } 1257s # } 1257s # } 1257s # out: 1257s # return g_variant_builder_end (&builder); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 1257s # OrgProjectSignalingIface *object, 1257s # gdouble arg_arg_d) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 1257s # arg_arg_d)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1257s # if (skeleton->priv->changed_properties_idle_source != NULL) 1257s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1257s # g_main_context_unref (skeleton->priv->context); 1257s # g_mutex_clear (&skeleton->priv->lock); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1257s # #else 1257s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1257s # #endif 1257s # 1257s # g_mutex_init (&skeleton->priv->lock); 1257s # skeleton->priv->context = g_main_context_ref_thread_default (); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusInterfaceSkeletonClass *skeleton_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1257s # 1257s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1257s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1257s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1257s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1257s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1257s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_skeleton_new: 1257s # * 1257s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_skeleton_new (void) 1257s # { 1257s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1257s # } 1257s # Error: 1257s # 1257s # /tmp/tmpa1fjo27q/tmpmrv3msob.xml: 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa1fjo27q/tmpmrv3msob.xml', '--output', '-', '--body'] 1257s # Return code: 0 1257s # Output: 1257s # /* 1257s # * This file is generated by gdbus-codegen, do not modify it. 1257s # * 1257s # * The license of this code is the same as for the D-Bus interface description 1257s # * it was derived from. Note that it links to GLib, so must comply with the 1257s # * LGPL linking clauses. 1257s # */ 1257s # 1257s # #ifdef HAVE_CONFIG_H 1257s # # include "config.h" 1257s # #endif 1257s # 1257s # #include 1257s # #ifdef G_OS_UNIX 1257s # # include 1257s # #endif 1257s # 1257s # #ifdef G_ENABLE_DEBUG 1257s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1257s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1257s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1257s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1257s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1257s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1257s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1257s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1257s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1257s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1257s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1257s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1257s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1257s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1257s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1257s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1257s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1257s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1257s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1257s # #else /* !G_ENABLE_DEBUG */ 1257s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1257s # * Do not access GValues directly in your code. Instead, use the 1257s # * g_value_get_*() functions 1257s # */ 1257s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1257s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1257s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1257s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1257s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1257s # #endif /* !G_ENABLE_DEBUG */ 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusArgInfo parent_struct; 1257s # gboolean use_gvariant; 1257s # } _ExtendedGDBusArgInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusMethodInfo parent_struct; 1257s # const gchar *signal_name; 1257s # gboolean pass_fdlist; 1257s # } _ExtendedGDBusMethodInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusSignalInfo parent_struct; 1257s # const gchar *signal_name; 1257s # } _ExtendedGDBusSignalInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusPropertyInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # guint use_gvariant : 1; 1257s # guint emits_changed_signal : 1; 1257s # } _ExtendedGDBusPropertyInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusInterfaceInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # } _ExtendedGDBusInterfaceInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # const _ExtendedGDBusPropertyInfo *info; 1257s # guint prop_id; 1257s # GValue orig_value; /* the value before the change */ 1257s # } ChangedProperty; 1257s # 1257s # static void 1257s # _changed_property_free (ChangedProperty *data) 1257s # { 1257s # g_value_unset (&data->orig_value); 1257s # g_free (data); 1257s # } 1257s # 1257s # static gboolean 1257s # _g_strv_equal0 (gchar **a, gchar **b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # guint n; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # if (g_strv_length (a) != g_strv_length (b)) 1257s # goto out; 1257s # for (n = 0; a[n] != NULL; n++) 1257s # if (g_strcmp0 (a[n], b[n]) != 0) 1257s # goto out; 1257s # ret = TRUE; 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _g_variant_equal0 (GVariant *a, GVariant *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # ret = g_variant_equal (a, b); 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # G_GNUC_UNUSED static gboolean 1257s # _g_value_equal (const GValue *a, const GValue *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1257s # switch (G_VALUE_TYPE (a)) 1257s # { 1257s # case G_TYPE_BOOLEAN: 1257s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1257s # break; 1257s # case G_TYPE_UCHAR: 1257s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1257s # break; 1257s # case G_TYPE_INT: 1257s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1257s # break; 1257s # case G_TYPE_UINT: 1257s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1257s # break; 1257s # case G_TYPE_INT64: 1257s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1257s # break; 1257s # case G_TYPE_UINT64: 1257s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1257s # break; 1257s # case G_TYPE_DOUBLE: 1257s # { 1257s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1257s # gdouble da = g_value_get_double (a); 1257s # gdouble db = g_value_get_double (b); 1257s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1257s # } 1257s # break; 1257s # case G_TYPE_STRING: 1257s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1257s # break; 1257s # case G_TYPE_VARIANT: 1257s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1257s # break; 1257s # default: 1257s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1257s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1257s # else 1257s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1257s # break; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ 1257s # * Code for interface org.project.SignalingIface 1257s # * ------------------------------------------------------------------------ 1257s # */ 1257s # 1257s # /** 1257s # * SECTION:OrgProjectSignalingIface 1257s # * @title: OrgProjectSignalingIface 1257s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1257s # * 1257s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1257s # */ 1257s # 1257s # enum 1257s # { 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1257s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 1257s # }; 1257s # 1257s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1257s # 1257s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SimpleSignal", 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "simple-signal" 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "arg_s", 1257s # (gchar *) "s", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SingleArgSignalS", 1257s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 1257s # NULL 1257s # }, 1257s # "single-arg-signal-s" 1257s # }; 1257s # 1257s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "org.project.SignalingIface", 1257s # NULL, 1257s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "org-project-signaling-iface", 1257s # }; 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_interface_info: 1257s # * 1257s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1257s # * 1257s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1257s # */ 1257s # GDBusInterfaceInfo * 1257s # org_project_signaling_iface_interface_info (void) 1257s # { 1257s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_override_properties: 1257s # * @klass: The class structure for a #GObject derived class. 1257s # * @property_id_begin: The property id to assign to the first overridden property. 1257s # * 1257s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1257s # * The properties are overridden in the order they are defined. 1257s # * 1257s # * Returns: The last property id. 1257s # */ 1257s # guint 1257s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1257s # { 1257s # return property_id_begin - 1; 1257s # } 1257s # 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_simple_signal ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__VOID (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__STRING (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface: 1257s # * 1257s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceIface: 1257s # * @parent_iface: The parent interface. 1257s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1257s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 1257s # * 1257s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1257s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1257s # 1257s # static void 1257s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # /* GObject signals for received D-Bus signals: */ 1257s # /** 1257s # * OrgProjectSignalingIface::simple-signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1257s # g_signal_new ("simple-signal", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_simple_signal, 1257s # G_TYPE_NONE, 1257s # 0); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-s: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_s: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 1257s # g_signal_new ("single-arg-signal-s", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_STRING); 1257s # 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_simple_signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * Emits the "SimpleSignal" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_s: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_s: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalS" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_s ( 1257s # OrgProjectSignalingIface *object, 1257s # const gchar *arg_arg_s) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxy: 1257s # * 1257s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxyClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceProxy. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceProxyPrivate 1257s # { 1257s # GData *qdata; 1257s # }; 1257s # 1257s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_proxy_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1257s # g_datalist_clear (&proxy->priv->qdata); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # const GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1257s # const gchar *sender_name G_GNUC_UNUSED, 1257s # const gchar *signal_name, 1257s # GVariant *parameters) 1257s # { 1257s # _ExtendedGDBusSignalInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # gsize n; 1257s # guint signal_id; 1257s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1257s # if (info == NULL) 1257s # return; 1257s # num_params = g_variant_n_children (parameters); 1257s # paramv = g_new0 (GValue, num_params + 1); 1257s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[0], proxy); 1257s # g_variant_iter_init (&iter, parameters); 1257s # n = 1; 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_signal_emitv (paramv, signal_id, 0, NULL); 1257s # for (n = 0; n < num_params + 1; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1257s # GVariant *changed_properties, 1257s # const gchar *const *invalidated_properties) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1257s # guint n; 1257s # const gchar *key; 1257s # GVariantIter *iter; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # g_variant_get (changed_properties, "a{sv}", &iter); 1257s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1257s # g_datalist_remove_data (&proxy->priv->qdata, key); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # g_variant_iter_free (iter); 1257s # for (n = 0; invalidated_properties[n] != NULL; n++) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1257s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1257s # #else 1257s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1257s # #endif 1257s # 1257s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusProxyClass *proxy_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1257s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1257s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1257s # 1257s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1257s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1257s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_sync: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_sync ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new_for_bus ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeleton: 1257s # * 1257s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeletonClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1257s # { 1257s # GValue *properties; 1257s # GList *changed_properties; 1257s # GSource *changed_properties_idle_source; 1257s # GMainContext *context; 1257s # GMutex lock; 1257s # }; 1257s # 1257s # static void 1257s # _org_project_signaling_iface_skeleton_handle_method_call ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name, 1257s # const gchar *method_name, 1257s # GVariant *parameters, 1257s # GDBusMethodInvocation *invocation, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # _ExtendedGDBusMethodInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # guint num_extra; 1257s # gsize n; 1257s # guint signal_id; 1257s # GValue return_value = G_VALUE_INIT; 1257s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1257s # g_assert (info != NULL); 1257s # num_params = g_variant_n_children (parameters); 1257s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1257s # n = 0; 1257s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[n++], skeleton); 1257s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1257s # g_value_set_object (¶mv[n++], invocation); 1257s # if (info->pass_fdlist) 1257s # { 1257s # #ifdef G_OS_UNIX 1257s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1257s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1257s # #else 1257s # g_assert_not_reached (); 1257s # #endif 1257s # } 1257s # g_variant_iter_init (&iter, parameters); 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1257s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1257s # if (!g_value_get_boolean (&return_value)) 1257s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1257s # g_value_unset (&return_value); 1257s # for (n = 0; n < num_params + num_extra; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static GVariant * 1257s # _org_project_signaling_iface_skeleton_handle_get_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # GVariant *ret; 1257s # ret = NULL; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # g_value_init (&value, pspec->value_type); 1257s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1257s # g_value_unset (&value); 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _org_project_signaling_iface_skeleton_handle_set_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GVariant *variant, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # gboolean ret; 1257s # ret = FALSE; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # if (info->use_gvariant) 1257s # g_value_set_variant (&value, variant); 1257s # else 1257s # g_dbus_gvariant_to_gvalue (variant, &value); 1257s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # g_value_unset (&value); 1257s # ret = TRUE; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1257s # { 1257s # _org_project_signaling_iface_skeleton_handle_method_call, 1257s # _org_project_signaling_iface_skeleton_handle_get_property, 1257s # _org_project_signaling_iface_skeleton_handle_set_property, 1257s # {NULL} 1257s # }; 1257s # 1257s # static GDBusInterfaceInfo * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return org_project_signaling_iface_interface_info (); 1257s # } 1257s # 1257s # static GDBusInterfaceVTable * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1257s # } 1257s # 1257s # static GVariant * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1257s # 1257s # GVariantBuilder builder; 1257s # guint n; 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1257s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #else 1257s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #endif 1257s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1257s # goto out; 1257s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1257s # { 1257s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1257s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1257s # { 1257s # GVariant *value; 1257s # 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); 1257s # if (value != NULL) 1257s # { 1257s # g_variant_take_ref (value); 1257s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1257s # g_variant_unref (value); 1257s # } 1257s # } 1257s # } 1257s # out: 1257s # return g_variant_builder_end (&builder); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 1257s # OrgProjectSignalingIface *object, 1257s # const gchar *arg_arg_s) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 1257s # arg_arg_s)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1257s # if (skeleton->priv->changed_properties_idle_source != NULL) 1257s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1257s # g_main_context_unref (skeleton->priv->context); 1257s # g_mutex_clear (&skeleton->priv->lock); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1257s # #else 1257s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1257s # #endif 1257s # 1257s # g_mutex_init (&skeleton->priv->lock); 1257s # skeleton->priv->context = g_main_context_ref_thread_default (); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusInterfaceSkeletonClass *skeleton_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1257s # 1257s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1257s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1257s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1257s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1257s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1257s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_skeleton_new: 1257s # * 1257s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_skeleton_new (void) 1257s # { 1257s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1257s # } 1257s # Error: 1257s # 1257s # /tmp/tmpa1fjo27q/tmpko26_aw1.xml: 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa1fjo27q/tmpko26_aw1.xml', '--output', '-', '--body'] 1257s # Return code: 0 1257s # Output: 1257s # /* 1257s # * This file is generated by gdbus-codegen, do not modify it. 1257s # * 1257s # * The license of this code is the same as for the D-Bus interface description 1257s # * it was derived from. Note that it links to GLib, so must comply with the 1257s # * LGPL linking clauses. 1257s # */ 1257s # 1257s # #ifdef HAVE_CONFIG_H 1257s # # include "config.h" 1257s # #endif 1257s # 1257s # #include 1257s # #ifdef G_OS_UNIX 1257s # # include 1257s # #endif 1257s # 1257s # #ifdef G_ENABLE_DEBUG 1257s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1257s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1257s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1257s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1257s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1257s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1257s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1257s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1257s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1257s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1257s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1257s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1257s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1257s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1257s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1257s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1257s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1257s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1257s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1257s # #else /* !G_ENABLE_DEBUG */ 1257s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1257s # * Do not access GValues directly in your code. Instead, use the 1257s # * g_value_get_*() functions 1257s # */ 1257s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1257s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1257s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1257s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1257s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1257s # #endif /* !G_ENABLE_DEBUG */ 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusArgInfo parent_struct; 1257s # gboolean use_gvariant; 1257s # } _ExtendedGDBusArgInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusMethodInfo parent_struct; 1257s # const gchar *signal_name; 1257s # gboolean pass_fdlist; 1257s # } _ExtendedGDBusMethodInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusSignalInfo parent_struct; 1257s # const gchar *signal_name; 1257s # } _ExtendedGDBusSignalInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusPropertyInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # guint use_gvariant : 1; 1257s # guint emits_changed_signal : 1; 1257s # } _ExtendedGDBusPropertyInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusInterfaceInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # } _ExtendedGDBusInterfaceInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # const _ExtendedGDBusPropertyInfo *info; 1257s # guint prop_id; 1257s # GValue orig_value; /* the value before the change */ 1257s # } ChangedProperty; 1257s # 1257s # static void 1257s # _changed_property_free (ChangedProperty *data) 1257s # { 1257s # g_value_unset (&data->orig_value); 1257s # g_free (data); 1257s # } 1257s # 1257s # static gboolean 1257s # _g_strv_equal0 (gchar **a, gchar **b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # guint n; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # if (g_strv_length (a) != g_strv_length (b)) 1257s # goto out; 1257s # for (n = 0; a[n] != NULL; n++) 1257s # if (g_strcmp0 (a[n], b[n]) != 0) 1257s # goto out; 1257s # ret = TRUE; 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _g_variant_equal0 (GVariant *a, GVariant *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # ret = g_variant_equal (a, b); 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # G_GNUC_UNUSED static gboolean 1257s # _g_value_equal (const GValue *a, const GValue *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1257s # switch (G_VALUE_TYPE (a)) 1257s # { 1257s # case G_TYPE_BOOLEAN: 1257s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1257s # break; 1257s # case G_TYPE_UCHAR: 1257s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1257s # break; 1257s # case G_TYPE_INT: 1257s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1257s # break; 1257s # case G_TYPE_UINT: 1257s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1257s # break; 1257s # case G_TYPE_INT64: 1257s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1257s # break; 1257s # case G_TYPE_UINT64: 1257s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1257s # break; 1257s # case G_TYPE_DOUBLE: 1257s # { 1257s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1257s # gdouble da = g_value_get_double (a); 1257s # gdouble db = g_value_get_double (b); 1257s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1257s # } 1257s # break; 1257s # case G_TYPE_STRING: 1257s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1257s # break; 1257s # case G_TYPE_VARIANT: 1257s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1257s # break; 1257s # default: 1257s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1257s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1257s # else 1257s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1257s # break; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ 1257s # * Code for interface org.project.SignalingIface 1257s # * ------------------------------------------------------------------------ 1257s # */ 1257s # 1257s # /** 1257s # * SECTION:OrgProjectSignalingIface 1257s # * @title: OrgProjectSignalingIface 1257s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1257s # * 1257s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1257s # */ 1257s # 1257s # enum 1257s # { 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1257s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 1257s # }; 1257s # 1257s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1257s # 1257s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SimpleSignal", 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "simple-signal" 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "arg_o", 1257s # (gchar *) "o", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SingleArgSignalO", 1257s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 1257s # NULL 1257s # }, 1257s # "single-arg-signal-o" 1257s # }; 1257s # 1257s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "org.project.SignalingIface", 1257s # NULL, 1257s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "org-project-signaling-iface", 1257s # }; 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_interface_info: 1257s # * 1257s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1257s # * 1257s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1257s # */ 1257s # GDBusInterfaceInfo * 1257s # org_project_signaling_iface_interface_info (void) 1257s # { 1257s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_override_properties: 1257s # * @klass: The class structure for a #GObject derived class. 1257s # * @property_id_begin: The property id to assign to the first overridden property. 1257s # * 1257s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1257s # * The properties are overridden in the order they are defined. 1257s # * 1257s # * Returns: The last property id. 1257s # */ 1257s # guint 1257s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1257s # { 1257s # return property_id_begin - 1; 1257s # } 1257s # 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_simple_signal ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__VOID (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__STRING (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface: 1257s # * 1257s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceIface: 1257s # * @parent_iface: The parent interface. 1257s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1257s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 1257s # * 1257s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1257s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1257s # 1257s # static void 1257s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # /* GObject signals for received D-Bus signals: */ 1257s # /** 1257s # * OrgProjectSignalingIface::simple-signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1257s # g_signal_new ("simple-signal", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_simple_signal, 1257s # G_TYPE_NONE, 1257s # 0); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-o: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_o: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 1257s # g_signal_new ("single-arg-signal-o", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_STRING); 1257s # 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_simple_signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * Emits the "SimpleSignal" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_o: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_o: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalO" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_o ( 1257s # OrgProjectSignalingIface *object, 1257s # const gchar *arg_arg_o) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxy: 1257s # * 1257s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxyClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceProxy. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceProxyPrivate 1257s # { 1257s # GData *qdata; 1257s # }; 1257s # 1257s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_proxy_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1257s # g_datalist_clear (&proxy->priv->qdata); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # const GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1257s # const gchar *sender_name G_GNUC_UNUSED, 1257s # const gchar *signal_name, 1257s # GVariant *parameters) 1257s # { 1257s # _ExtendedGDBusSignalInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # gsize n; 1257s # guint signal_id; 1257s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1257s # if (info == NULL) 1257s # return; 1257s # num_params = g_variant_n_children (parameters); 1257s # paramv = g_new0 (GValue, num_params + 1); 1257s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[0], proxy); 1257s # g_variant_iter_init (&iter, parameters); 1257s # n = 1; 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_signal_emitv (paramv, signal_id, 0, NULL); 1257s # for (n = 0; n < num_params + 1; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1257s # GVariant *changed_properties, 1257s # const gchar *const *invalidated_properties) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1257s # guint n; 1257s # const gchar *key; 1257s # GVariantIter *iter; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # g_variant_get (changed_properties, "a{sv}", &iter); 1257s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1257s # g_datalist_remove_data (&proxy->priv->qdata, key); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # g_variant_iter_free (iter); 1257s # for (n = 0; invalidated_properties[n] != NULL; n++) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1257s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1257s # #else 1257s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1257s # #endif 1257s # 1257s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusProxyClass *proxy_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1257s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1257s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1257s # 1257s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1257s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1257s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_sync: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_sync ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new_for_bus ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeleton: 1257s # * 1257s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeletonClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1257s # { 1257s # GValue *properties; 1257s # GList *changed_properties; 1257s # GSource *changed_properties_idle_source; 1257s # GMainContext *context; 1257s # GMutex lock; 1257s # }; 1257s # 1257s # static void 1257s # _org_project_signaling_iface_skeleton_handle_method_call ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name, 1257s # const gchar *method_name, 1257s # GVariant *parameters, 1257s # GDBusMethodInvocation *invocation, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # _ExtendedGDBusMethodInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # guint num_extra; 1257s # gsize n; 1257s # guint signal_id; 1257s # GValue return_value = G_VALUE_INIT; 1257s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1257s # g_assert (info != NULL); 1257s # num_params = g_variant_n_children (parameters); 1257s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1257s # n = 0; 1257s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[n++], skeleton); 1257s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1257s # g_value_set_object (¶mv[n++], invocation); 1257s # if (info->pass_fdlist) 1257s # { 1257s # #ifdef G_OS_UNIX 1257s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1257s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1257s # #else 1257s # g_assert_not_reached (); 1257s # #endif 1257s # } 1257s # g_variant_iter_init (&iter, parameters); 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1257s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1257s # if (!g_value_get_boolean (&return_value)) 1257s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1257s # g_value_unset (&return_value); 1257s # for (n = 0; n < num_params + num_extra; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static GVariant * 1257s # _org_project_signaling_iface_skeleton_handle_get_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # GVariant *ret; 1257s # ret = NULL; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # g_value_init (&value, pspec->value_type); 1257s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1257s # g_value_unset (&value); 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _org_project_signaling_iface_skeleton_handle_set_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GVariant *variant, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # gboolean ret; 1257s # ret = FALSE; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # if (info->use_gvariant) 1257s # g_value_set_variant (&value, variant); 1257s # else 1257s # g_dbus_gvariant_to_gvalue (variant, &value); 1257s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # g_value_unset (&value); 1257s # ret = TRUE; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1257s # { 1257s # _org_project_signaling_iface_skeleton_handle_method_call, 1257s # _org_project_signaling_iface_skeleton_handle_get_property, 1257s # _org_project_signaling_iface_skeleton_handle_set_property, 1257s # {NULL} 1257s # }; 1257s # 1257s # static GDBusInterfaceInfo * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return org_project_signaling_iface_interface_info (); 1257s # } 1257s # 1257s # static GDBusInterfaceVTable * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1257s # } 1257s # 1257s # static GVariant * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1257s # 1257s # GVariantBuilder builder; 1257s # guint n; 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1257s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #else 1257s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #endif 1257s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1257s # goto out; 1257s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1257s # { 1257s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1257s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1257s # { 1257s # GVariant *value; 1257s # 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); 1257s # if (value != NULL) 1257s # { 1257s # g_variant_take_ref (value); 1257s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1257s # g_variant_unref (value); 1257s # } 1257s # } 1257s # } 1257s # out: 1257s # return g_variant_builder_end (&builder); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 1257s # OrgProjectSignalingIface *object, 1257s # const gchar *arg_arg_o) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 1257s # arg_arg_o)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1257s # if (skeleton->priv->changed_properties_idle_source != NULL) 1257s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1257s # g_main_context_unref (skeleton->priv->context); 1257s # g_mutex_clear (&skeleton->priv->lock); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1257s # #else 1257s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1257s # #endif 1257s # 1257s # g_mutex_init (&skeleton->priv->lock); 1257s # skeleton->priv->context = g_main_context_ref_thread_default (); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusInterfaceSkeletonClass *skeleton_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1257s # 1257s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1257s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1257s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1257s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1257s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1257s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_skeleton_new: 1257s # * 1257s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_skeleton_new (void) 1257s # { 1257s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1257s # } 1257s # Error: 1257s # 1257s # /tmp/tmpa1fjo27q/tmp1sv0gr2w.xml: 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa1fjo27q/tmp1sv0gr2w.xml', '--output', '-', '--body'] 1257s # Return code: 0 1257s # Output: 1257s # /* 1257s # * This file is generated by gdbus-codegen, do not modify it. 1257s # * 1257s # * The license of this code is the same as for the D-Bus interface description 1257s # * it was derived from. Note that it links to GLib, so must comply with the 1257s # * LGPL linking clauses. 1257s # */ 1257s # 1257s # #ifdef HAVE_CONFIG_H 1257s # # include "config.h" 1257s # #endif 1257s # 1257s # #include 1257s # #ifdef G_OS_UNIX 1257s # # include 1257s # #endif 1257s # 1257s # #ifdef G_ENABLE_DEBUG 1257s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1257s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1257s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1257s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1257s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1257s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1257s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1257s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1257s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1257s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1257s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1257s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1257s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1257s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1257s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1257s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1257s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1257s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1257s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1257s # #else /* !G_ENABLE_DEBUG */ 1257s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1257s # * Do not access GValues directly in your code. Instead, use the 1257s # * g_value_get_*() functions 1257s # */ 1257s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1257s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1257s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1257s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1257s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1257s # #endif /* !G_ENABLE_DEBUG */ 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusArgInfo parent_struct; 1257s # gboolean use_gvariant; 1257s # } _ExtendedGDBusArgInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusMethodInfo parent_struct; 1257s # const gchar *signal_name; 1257s # gboolean pass_fdlist; 1257s # } _ExtendedGDBusMethodInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusSignalInfo parent_struct; 1257s # const gchar *signal_name; 1257s # } _ExtendedGDBusSignalInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusPropertyInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # guint use_gvariant : 1; 1257s # guint emits_changed_signal : 1; 1257s # } _ExtendedGDBusPropertyInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusInterfaceInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # } _ExtendedGDBusInterfaceInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # const _ExtendedGDBusPropertyInfo *info; 1257s # guint prop_id; 1257s # GValue orig_value; /* the value before the change */ 1257s # } ChangedProperty; 1257s # 1257s # static void 1257s # _changed_property_free (ChangedProperty *data) 1257s # { 1257s # g_value_unset (&data->orig_value); 1257s # g_free (data); 1257s # } 1257s # 1257s # static gboolean 1257s # _g_strv_equal0 (gchar **a, gchar **b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # guint n; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # if (g_strv_length (a) != g_strv_length (b)) 1257s # goto out; 1257s # for (n = 0; a[n] != NULL; n++) 1257s # if (g_strcmp0 (a[n], b[n]) != 0) 1257s # goto out; 1257s # ret = TRUE; 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _g_variant_equal0 (GVariant *a, GVariant *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # ret = g_variant_equal (a, b); 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # G_GNUC_UNUSED static gboolean 1257s # _g_value_equal (const GValue *a, const GValue *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1257s # switch (G_VALUE_TYPE (a)) 1257s # { 1257s # case G_TYPE_BOOLEAN: 1257s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1257s # break; 1257s # case G_TYPE_UCHAR: 1257s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1257s # break; 1257s # case G_TYPE_INT: 1257s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1257s # break; 1257s # case G_TYPE_UINT: 1257s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1257s # break; 1257s # case G_TYPE_INT64: 1257s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1257s # break; 1257s # case G_TYPE_UINT64: 1257s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1257s # break; 1257s # case G_TYPE_DOUBLE: 1257s # { 1257s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1257s # gdouble da = g_value_get_double (a); 1257s # gdouble db = g_value_get_double (b); 1257s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1257s # } 1257s # break; 1257s # case G_TYPE_STRING: 1257s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1257s # break; 1257s # case G_TYPE_VARIANT: 1257s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1257s # break; 1257s # default: 1257s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1257s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1257s # else 1257s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1257s # break; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ 1257s # * Code for interface org.project.SignalingIface 1257s # * ------------------------------------------------------------------------ 1257s # */ 1257s # 1257s # /** 1257s # * SECTION:OrgProjectSignalingIface 1257s # * @title: OrgProjectSignalingIface 1257s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1257s # * 1257s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1257s # */ 1257s # 1257s # enum 1257s # { 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1257s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 1257s # }; 1257s # 1257s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1257s # 1257s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SimpleSignal", 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "simple-signal" 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "arg_g", 1257s # (gchar *) "g", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SingleArgSignalG", 1257s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 1257s # NULL 1257s # }, 1257s # "single-arg-signal-g" 1257s # }; 1257s # 1257s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "org.project.SignalingIface", 1257s # NULL, 1257s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "org-project-signaling-iface", 1257s # }; 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_interface_info: 1257s # * 1257s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1257s # * 1257s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1257s # */ 1257s # GDBusInterfaceInfo * 1257s # org_project_signaling_iface_interface_info (void) 1257s # { 1257s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_override_properties: 1257s # * @klass: The class structure for a #GObject derived class. 1257s # * @property_id_begin: The property id to assign to the first overridden property. 1257s # * 1257s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1257s # * The properties are overridden in the order they are defined. 1257s # * 1257s # * Returns: The last property id. 1257s # */ 1257s # guint 1257s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1257s # { 1257s # return property_id_begin - 1; 1257s # } 1257s # 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_simple_signal ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__VOID (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__STRING (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface: 1257s # * 1257s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceIface: 1257s # * @parent_iface: The parent interface. 1257s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1257s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 1257s # * 1257s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1257s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1257s # 1257s # static void 1257s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # /* GObject signals for received D-Bus signals: */ 1257s # /** 1257s # * OrgProjectSignalingIface::simple-signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1257s # g_signal_new ("simple-signal", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_simple_signal, 1257s # G_TYPE_NONE, 1257s # 0); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-g: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_g: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 1257s # g_signal_new ("single-arg-signal-g", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_STRING); 1257s # 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_simple_signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * Emits the "SimpleSignal" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_g: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_g: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalG" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_g ( 1257s # OrgProjectSignalingIface *object, 1257s # const gchar *arg_arg_g) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxy: 1257s # * 1257s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxyClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceProxy. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceProxyPrivate 1257s # { 1257s # GData *qdata; 1257s # }; 1257s # 1257s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_proxy_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1257s # g_datalist_clear (&proxy->priv->qdata); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # const GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1257s # const gchar *sender_name G_GNUC_UNUSED, 1257s # const gchar *signal_name, 1257s # GVariant *parameters) 1257s # { 1257s # _ExtendedGDBusSignalInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # gsize n; 1257s # guint signal_id; 1257s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1257s # if (info == NULL) 1257s # return; 1257s # num_params = g_variant_n_children (parameters); 1257s # paramv = g_new0 (GValue, num_params + 1); 1257s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[0], proxy); 1257s # g_variant_iter_init (&iter, parameters); 1257s # n = 1; 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_signal_emitv (paramv, signal_id, 0, NULL); 1257s # for (n = 0; n < num_params + 1; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1257s # GVariant *changed_properties, 1257s # const gchar *const *invalidated_properties) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1257s # guint n; 1257s # const gchar *key; 1257s # GVariantIter *iter; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # g_variant_get (changed_properties, "a{sv}", &iter); 1257s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1257s # g_datalist_remove_data (&proxy->priv->qdata, key); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # g_variant_iter_free (iter); 1257s # for (n = 0; invalidated_properties[n] != NULL; n++) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1257s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1257s # #else 1257s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1257s # #endif 1257s # 1257s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusProxyClass *proxy_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1257s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1257s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1257s # 1257s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1257s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1257s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_sync: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_sync ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new_for_bus ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeleton: 1257s # * 1257s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeletonClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1257s # { 1257s # GValue *properties; 1257s # GList *changed_properties; 1257s # GSource *changed_properties_idle_source; 1257s # GMainContext *context; 1257s # GMutex lock; 1257s # }; 1257s # 1257s # static void 1257s # _org_project_signaling_iface_skeleton_handle_method_call ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name, 1257s # const gchar *method_name, 1257s # GVariant *parameters, 1257s # GDBusMethodInvocation *invocation, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # _ExtendedGDBusMethodInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # guint num_extra; 1257s # gsize n; 1257s # guint signal_id; 1257s # GValue return_value = G_VALUE_INIT; 1257s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1257s # g_assert (info != NULL); 1257s # num_params = g_variant_n_children (parameters); 1257s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1257s # n = 0; 1257s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[n++], skeleton); 1257s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1257s # g_value_set_object (¶mv[n++], invocation); 1257s # if (info->pass_fdlist) 1257s # { 1257s # #ifdef G_OS_UNIX 1257s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1257s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1257s # #else 1257s # g_assert_not_reached (); 1257s # #endif 1257s # } 1257s # g_variant_iter_init (&iter, parameters); 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1257s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1257s # if (!g_value_get_boolean (&return_value)) 1257s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1257s # g_value_unset (&return_value); 1257s # for (n = 0; n < num_params + num_extra; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static GVariant * 1257s # _org_project_signaling_iface_skeleton_handle_get_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # GVariant *ret; 1257s # ret = NULL; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # g_value_init (&value, pspec->value_type); 1257s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1257s # g_value_unset (&value); 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _org_project_signaling_iface_skeleton_handle_set_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GVariant *variant, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # gboolean ret; 1257s # ret = FALSE; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # if (info->use_gvariant) 1257s # g_value_set_variant (&value, variant); 1257s # else 1257s # g_dbus_gvariant_to_gvalue (variant, &value); 1257s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # g_value_unset (&value); 1257s # ret = TRUE; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1257s # { 1257s # _org_project_signaling_iface_skeleton_handle_method_call, 1257s # _org_project_signaling_iface_skeleton_handle_get_property, 1257s # _org_project_signaling_iface_skeleton_handle_set_property, 1257s # {NULL} 1257s # }; 1257s # 1257s # static GDBusInterfaceInfo * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return org_project_signaling_iface_interface_info (); 1257s # } 1257s # 1257s # static GDBusInterfaceVTable * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1257s # } 1257s # 1257s # static GVariant * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1257s # 1257s # GVariantBuilder builder; 1257s # guint n; 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1257s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #else 1257s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #endif 1257s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1257s # goto out; 1257s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1257s # { 1257s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1257s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1257s # { 1257s # GVariant *value; 1257s # 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); 1257s # if (value != NULL) 1257s # { 1257s # g_variant_take_ref (value); 1257s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1257s # g_variant_unref (value); 1257s # } 1257s # } 1257s # } 1257s # out: 1257s # return g_variant_builder_end (&builder); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 1257s # OrgProjectSignalingIface *object, 1257s # const gchar *arg_arg_g) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 1257s # arg_arg_g)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1257s # if (skeleton->priv->changed_properties_idle_source != NULL) 1257s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1257s # g_main_context_unref (skeleton->priv->context); 1257s # g_mutex_clear (&skeleton->priv->lock); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1257s # #else 1257s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1257s # #endif 1257s # 1257s # g_mutex_init (&skeleton->priv->lock); 1257s # skeleton->priv->context = g_main_context_ref_thread_default (); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusInterfaceSkeletonClass *skeleton_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1257s # 1257s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1257s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1257s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1257s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1257s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1257s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_skeleton_new: 1257s # * 1257s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_skeleton_new (void) 1257s # { 1257s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1257s # } 1257s # Error: 1257s # 1257s # /tmp/tmpa1fjo27q/tmpri43f40g.xml: 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa1fjo27q/tmpri43f40g.xml', '--output', '-', '--body'] 1257s # Return code: 0 1257s # Output: 1257s # /* 1257s # * This file is generated by gdbus-codegen, do not modify it. 1257s # * 1257s # * The license of this code is the same as for the D-Bus interface description 1257s # * it was derived from. Note that it links to GLib, so must comply with the 1257s # * LGPL linking clauses. 1257s # */ 1257s # 1257s # #ifdef HAVE_CONFIG_H 1257s # # include "config.h" 1257s # #endif 1257s # 1257s # #include 1257s # #ifdef G_OS_UNIX 1257s # # include 1257s # #endif 1257s # 1257s # #ifdef G_ENABLE_DEBUG 1257s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1257s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1257s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1257s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1257s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1257s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1257s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1257s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1257s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1257s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1257s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1257s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1257s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1257s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1257s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1257s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1257s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1257s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1257s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1257s # #else /* !G_ENABLE_DEBUG */ 1257s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1257s # * Do not access GValues directly in your code. Instead, use the 1257s # * g_value_get_*() functions 1257s # */ 1257s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1257s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1257s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1257s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1257s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1257s # #endif /* !G_ENABLE_DEBUG */ 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusArgInfo parent_struct; 1257s # gboolean use_gvariant; 1257s # } _ExtendedGDBusArgInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusMethodInfo parent_struct; 1257s # const gchar *signal_name; 1257s # gboolean pass_fdlist; 1257s # } _ExtendedGDBusMethodInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusSignalInfo parent_struct; 1257s # const gchar *signal_name; 1257s # } _ExtendedGDBusSignalInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusPropertyInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # guint use_gvariant : 1; 1257s # guint emits_changed_signal : 1; 1257s # } _ExtendedGDBusPropertyInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusInterfaceInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # } _ExtendedGDBusInterfaceInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # const _ExtendedGDBusPropertyInfo *info; 1257s # guint prop_id; 1257s # GValue orig_value; /* the value before the change */ 1257s # } ChangedProperty; 1257s # 1257s # static void 1257s # _changed_property_free (ChangedProperty *data) 1257s # { 1257s # g_value_unset (&data->orig_value); 1257s # g_free (data); 1257s # } 1257s # 1257s # static gboolean 1257s # _g_strv_equal0 (gchar **a, gchar **b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # guint n; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # if (g_strv_length (a) != g_strv_length (b)) 1257s # goto out; 1257s # for (n = 0; a[n] != NULL; n++) 1257s # if (g_strcmp0 (a[n], b[n]) != 0) 1257s # goto out; 1257s # ret = TRUE; 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _g_variant_equal0 (GVariant *a, GVariant *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # ret = g_variant_equal (a, b); 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # G_GNUC_UNUSED static gboolean 1257s # _g_value_equal (const GValue *a, const GValue *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1257s # switch (G_VALUE_TYPE (a)) 1257s # { 1257s # case G_TYPE_BOOLEAN: 1257s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1257s # break; 1257s # case G_TYPE_UCHAR: 1257s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1257s # break; 1257s # case G_TYPE_INT: 1257s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1257s # break; 1257s # case G_TYPE_UINT: 1257s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1257s # break; 1257s # case G_TYPE_INT64: 1257s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1257s # break; 1257s # case G_TYPE_UINT64: 1257s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1257s # break; 1257s # case G_TYPE_DOUBLE: 1257s # { 1257s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1257s # gdouble da = g_value_get_double (a); 1257s # gdouble db = g_value_get_double (b); 1257s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1257s # } 1257s # break; 1257s # case G_TYPE_STRING: 1257s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1257s # break; 1257s # case G_TYPE_VARIANT: 1257s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1257s # break; 1257s # default: 1257s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1257s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1257s # else 1257s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1257s # break; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ 1257s # * Code for interface org.project.SignalingIface 1257s # * ------------------------------------------------------------------------ 1257s # */ 1257s # 1257s # /** 1257s # * SECTION:OrgProjectSignalingIface 1257s # * @title: OrgProjectSignalingIface 1257s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1257s # * 1257s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1257s # */ 1257s # 1257s # enum 1257s # { 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1257s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 1257s # }; 1257s # 1257s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1257s # 1257s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SimpleSignal", 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "simple-signal" 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "arg_h", 1257s # (gchar *) "h", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SingleArgSignalH", 1257s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 1257s # NULL 1257s # }, 1257s # "single-arg-signal-h" 1257s # }; 1257s # 1257s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "org.project.SignalingIface", 1257s # NULL, 1257s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "org-project-signaling-iface", 1257s # }; 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_interface_info: 1257s # * 1257s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1257s # * 1257s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1257s # */ 1257s # GDBusInterfaceInfo * 1257s # org_project_signaling_iface_interface_info (void) 1257s # { 1257s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_override_properties: 1257s # * @klass: The class structure for a #GObject derived class. 1257s # * @property_id_begin: The property id to assign to the first overridden property. 1257s # * 1257s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1257s # * The properties are overridden in the order they are defined. 1257s # * 1257s # * Returns: The last property id. 1257s # */ 1257s # guint 1257s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1257s # { 1257s # return property_id_begin - 1; 1257s # } 1257s # 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_simple_signal ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__VOID (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__VARIANT (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface: 1257s # * 1257s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceIface: 1257s # * @parent_iface: The parent interface. 1257s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1257s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 1257s # * 1257s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1257s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1257s # 1257s # static void 1257s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # /* GObject signals for received D-Bus signals: */ 1257s # /** 1257s # * OrgProjectSignalingIface::simple-signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1257s # g_signal_new ("simple-signal", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_simple_signal, 1257s # G_TYPE_NONE, 1257s # 0); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-h: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_h: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 1257s # g_signal_new ("single-arg-signal-h", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_VARIANT); 1257s # 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_simple_signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * Emits the "SimpleSignal" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_h: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_h: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalH" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_h ( 1257s # OrgProjectSignalingIface *object, 1257s # GVariant *arg_arg_h) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxy: 1257s # * 1257s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxyClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceProxy. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceProxyPrivate 1257s # { 1257s # GData *qdata; 1257s # }; 1257s # 1257s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_proxy_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1257s # g_datalist_clear (&proxy->priv->qdata); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # const GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1257s # const gchar *sender_name G_GNUC_UNUSED, 1257s # const gchar *signal_name, 1257s # GVariant *parameters) 1257s # { 1257s # _ExtendedGDBusSignalInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # gsize n; 1257s # guint signal_id; 1257s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1257s # if (info == NULL) 1257s # return; 1257s # num_params = g_variant_n_children (parameters); 1257s # paramv = g_new0 (GValue, num_params + 1); 1257s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[0], proxy); 1257s # g_variant_iter_init (&iter, parameters); 1257s # n = 1; 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_signal_emitv (paramv, signal_id, 0, NULL); 1257s # for (n = 0; n < num_params + 1; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1257s # GVariant *changed_properties, 1257s # const gchar *const *invalidated_properties) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1257s # guint n; 1257s # const gchar *key; 1257s # GVariantIter *iter; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # g_variant_get (changed_properties, "a{sv}", &iter); 1257s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1257s # g_datalist_remove_data (&proxy->priv->qdata, key); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # g_variant_iter_free (iter); 1257s # for (n = 0; invalidated_properties[n] != NULL; n++) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1257s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1257s # #else 1257s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1257s # #endif 1257s # 1257s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusProxyClass *proxy_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1257s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1257s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1257s # 1257s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1257s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1257s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_sync: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_sync ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new_for_bus ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeleton: 1257s # * 1257s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeletonClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1257s # { 1257s # GValue *properties; 1257s # GList *changed_properties; 1257s # GSource *changed_properties_idle_source; 1257s # GMainContext *context; 1257s # GMutex lock; 1257s # }; 1257s # 1257s # static void 1257s # _org_project_signaling_iface_skeleton_handle_method_call ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name, 1257s # const gchar *method_name, 1257s # GVariant *parameters, 1257s # GDBusMethodInvocation *invocation, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # _ExtendedGDBusMethodInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # guint num_extra; 1257s # gsize n; 1257s # guint signal_id; 1257s # GValue return_value = G_VALUE_INIT; 1257s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1257s # g_assert (info != NULL); 1257s # num_params = g_variant_n_children (parameters); 1257s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1257s # n = 0; 1257s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[n++], skeleton); 1257s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1257s # g_value_set_object (¶mv[n++], invocation); 1257s # if (info->pass_fdlist) 1257s # { 1257s # #ifdef G_OS_UNIX 1257s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1257s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1257s # #else 1257s # g_assert_not_reached (); 1257s # #endif 1257s # } 1257s # g_variant_iter_init (&iter, parameters); 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1257s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1257s # if (!g_value_get_boolean (&return_value)) 1257s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1257s # g_value_unset (&return_value); 1257s # for (n = 0; n < num_params + num_extra; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static GVariant * 1257s # _org_project_signaling_iface_skeleton_handle_get_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # GVariant *ret; 1257s # ret = NULL; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # g_value_init (&value, pspec->value_type); 1257s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1257s # g_value_unset (&value); 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _org_project_signaling_iface_skeleton_handle_set_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GVariant *variant, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # gboolean ret; 1257s # ret = FALSE; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # if (info->use_gvariant) 1257s # g_value_set_variant (&value, variant); 1257s # else 1257s # g_dbus_gvariant_to_gvalue (variant, &value); 1257s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # g_value_unset (&value); 1257s # ret = TRUE; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1257s # { 1257s # _org_project_signaling_iface_skeleton_handle_method_call, 1257s # _org_project_signaling_iface_skeleton_handle_get_property, 1257s # _org_project_signaling_iface_skeleton_handle_set_property, 1257s # {NULL} 1257s # }; 1257s # 1257s # static GDBusInterfaceInfo * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return org_project_signaling_iface_interface_info (); 1257s # } 1257s # 1257s # static GDBusInterfaceVTable * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1257s # } 1257s # 1257s # static GVariant * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1257s # 1257s # GVariantBuilder builder; 1257s # guint n; 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1257s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #else 1257s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #endif 1257s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1257s # goto out; 1257s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1257s # { 1257s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1257s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1257s # { 1257s # GVariant *value; 1257s # 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); 1257s # if (value != NULL) 1257s # { 1257s # g_variant_take_ref (value); 1257s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1257s # g_variant_unref (value); 1257s # } 1257s # } 1257s # } 1257s # out: 1257s # return g_variant_builder_end (&builder); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 1257s # OrgProjectSignalingIface *object, 1257s # GVariant *arg_arg_h) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 1257s # arg_arg_h)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1257s # if (skeleton->priv->changed_properties_idle_source != NULL) 1257s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1257s # g_main_context_unref (skeleton->priv->context); 1257s # g_mutex_clear (&skeleton->priv->lock); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1257s # #else 1257s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1257s # #endif 1257s # 1257s # g_mutex_init (&skeleton->priv->lock); 1257s # skeleton->priv->context = g_main_context_ref_thread_default (); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusInterfaceSkeletonClass *skeleton_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1257s # 1257s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1257s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1257s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1257s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1257s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1257s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_skeleton_new: 1257s # * 1257s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_skeleton_new (void) 1257s # { 1257s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1257s # } 1257s # Error: 1257s # 1257s # /tmp/tmpa1fjo27q/tmpn4grz8sv.xml: 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa1fjo27q/tmpn4grz8sv.xml', '--output', '-', '--body'] 1257s # Return code: 0 1257s # Output: 1257s # /* 1257s # * This file is generated by gdbus-codegen, do not modify it. 1257s # * 1257s # * The license of this code is the same as for the D-Bus interface description 1257s # * it was derived from. Note that it links to GLib, so must comply with the 1257s # * LGPL linking clauses. 1257s # */ 1257s # 1257s # #ifdef HAVE_CONFIG_H 1257s # # include "config.h" 1257s # #endif 1257s # 1257s # #include 1257s # #ifdef G_OS_UNIX 1257s # # include 1257s # #endif 1257s # 1257s # #ifdef G_ENABLE_DEBUG 1257s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1257s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1257s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1257s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1257s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1257s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1257s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1257s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1257s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1257s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1257s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1257s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1257s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1257s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1257s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1257s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1257s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1257s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1257s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1257s # #else /* !G_ENABLE_DEBUG */ 1257s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1257s # * Do not access GValues directly in your code. Instead, use the 1257s # * g_value_get_*() functions 1257s # */ 1257s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1257s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1257s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1257s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1257s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1257s # #endif /* !G_ENABLE_DEBUG */ 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusArgInfo parent_struct; 1257s # gboolean use_gvariant; 1257s # } _ExtendedGDBusArgInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusMethodInfo parent_struct; 1257s # const gchar *signal_name; 1257s # gboolean pass_fdlist; 1257s # } _ExtendedGDBusMethodInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusSignalInfo parent_struct; 1257s # const gchar *signal_name; 1257s # } _ExtendedGDBusSignalInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusPropertyInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # guint use_gvariant : 1; 1257s # guint emits_changed_signal : 1; 1257s # } _ExtendedGDBusPropertyInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusInterfaceInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # } _ExtendedGDBusInterfaceInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # const _ExtendedGDBusPropertyInfo *info; 1257s # guint prop_id; 1257s # GValue orig_value; /* the value before the change */ 1257s # } ChangedProperty; 1257s # 1257s # static void 1257s # _changed_property_free (ChangedProperty *data) 1257s # { 1257s # g_value_unset (&data->orig_value); 1257s # g_free (data); 1257s # } 1257s # 1257s # static gboolean 1257s # _g_strv_equal0 (gchar **a, gchar **b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # guint n; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # if (g_strv_length (a) != g_strv_length (b)) 1257s # goto out; 1257s # for (n = 0; a[n] != NULL; n++) 1257s # if (g_strcmp0 (a[n], b[n]) != 0) 1257s # goto out; 1257s # ret = TRUE; 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _g_variant_equal0 (GVariant *a, GVariant *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # ret = g_variant_equal (a, b); 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # G_GNUC_UNUSED static gboolean 1257s # _g_value_equal (const GValue *a, const GValue *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1257s # switch (G_VALUE_TYPE (a)) 1257s # { 1257s # case G_TYPE_BOOLEAN: 1257s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1257s # break; 1257s # case G_TYPE_UCHAR: 1257s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1257s # break; 1257s # case G_TYPE_INT: 1257s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1257s # break; 1257s # case G_TYPE_UINT: 1257s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1257s # break; 1257s # case G_TYPE_INT64: 1257s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1257s # break; 1257s # case G_TYPE_UINT64: 1257s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1257s # break; 1257s # case G_TYPE_DOUBLE: 1257s # { 1257s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1257s # gdouble da = g_value_get_double (a); 1257s # gdouble db = g_value_get_double (b); 1257s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1257s # } 1257s # break; 1257s # case G_TYPE_STRING: 1257s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1257s # break; 1257s # case G_TYPE_VARIANT: 1257s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1257s # break; 1257s # default: 1257s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1257s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1257s # else 1257s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1257s # break; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ 1257s # * Code for interface org.project.SignalingIface 1257s # * ------------------------------------------------------------------------ 1257s # */ 1257s # 1257s # /** 1257s # * SECTION:OrgProjectSignalingIface 1257s # * @title: OrgProjectSignalingIface 1257s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1257s # * 1257s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1257s # */ 1257s # 1257s # enum 1257s # { 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1257s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 1257s # }; 1257s # 1257s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1257s # 1257s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SimpleSignal", 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "simple-signal" 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "arg_ay", 1257s # (gchar *) "ay", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SingleArgSignalAy", 1257s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 1257s # NULL 1257s # }, 1257s # "single-arg-signal-ay" 1257s # }; 1257s # 1257s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "org.project.SignalingIface", 1257s # NULL, 1257s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "org-project-signaling-iface", 1257s # }; 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_interface_info: 1257s # * 1257s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1257s # * 1257s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1257s # */ 1257s # GDBusInterfaceInfo * 1257s # org_project_signaling_iface_interface_info (void) 1257s # { 1257s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_override_properties: 1257s # * @klass: The class structure for a #GObject derived class. 1257s # * @property_id_begin: The property id to assign to the first overridden property. 1257s # * 1257s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1257s # * The properties are overridden in the order they are defined. 1257s # * 1257s # * Returns: The last property id. 1257s # */ 1257s # guint 1257s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1257s # { 1257s # return property_id_begin - 1; 1257s # } 1257s # 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_simple_signal ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__VOID (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__STRING (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface: 1257s # * 1257s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceIface: 1257s # * @parent_iface: The parent interface. 1257s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1257s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 1257s # * 1257s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1257s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1257s # 1257s # static void 1257s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # /* GObject signals for received D-Bus signals: */ 1257s # /** 1257s # * OrgProjectSignalingIface::simple-signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1257s # g_signal_new ("simple-signal", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_simple_signal, 1257s # G_TYPE_NONE, 1257s # 0); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-ay: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_ay: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 1257s # g_signal_new ("single-arg-signal-ay", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_STRING); 1257s # 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_simple_signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * Emits the "SimpleSignal" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_ay: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_ay: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalAy" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_ay ( 1257s # OrgProjectSignalingIface *object, 1257s # const gchar *arg_arg_ay) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxy: 1257s # * 1257s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxyClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceProxy. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceProxyPrivate 1257s # { 1257s # GData *qdata; 1257s # }; 1257s # 1257s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_proxy_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1257s # g_datalist_clear (&proxy->priv->qdata); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # const GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1257s # const gchar *sender_name G_GNUC_UNUSED, 1257s # const gchar *signal_name, 1257s # GVariant *parameters) 1257s # { 1257s # _ExtendedGDBusSignalInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # gsize n; 1257s # guint signal_id; 1257s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1257s # if (info == NULL) 1257s # return; 1257s # num_params = g_variant_n_children (parameters); 1257s # paramv = g_new0 (GValue, num_params + 1); 1257s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[0], proxy); 1257s # g_variant_iter_init (&iter, parameters); 1257s # n = 1; 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_signal_emitv (paramv, signal_id, 0, NULL); 1257s # for (n = 0; n < num_params + 1; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1257s # GVariant *changed_properties, 1257s # const gchar *const *invalidated_properties) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1257s # guint n; 1257s # const gchar *key; 1257s # GVariantIter *iter; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # g_variant_get (changed_properties, "a{sv}", &iter); 1257s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1257s # g_datalist_remove_data (&proxy->priv->qdata, key); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # g_variant_iter_free (iter); 1257s # for (n = 0; invalidated_properties[n] != NULL; n++) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1257s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1257s # #else 1257s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1257s # #endif 1257s # 1257s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusProxyClass *proxy_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1257s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1257s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1257s # 1257s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1257s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1257s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_sync: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_sync ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new_for_bus ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeleton: 1257s # * 1257s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeletonClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1257s # { 1257s # GValue *properties; 1257s # GList *changed_properties; 1257s # GSource *changed_properties_idle_source; 1257s # GMainContext *context; 1257s # GMutex lock; 1257s # }; 1257s # 1257s # static void 1257s # _org_project_signaling_iface_skeleton_handle_method_call ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name, 1257s # const gchar *method_name, 1257s # GVariant *parameters, 1257s # GDBusMethodInvocation *invocation, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # _ExtendedGDBusMethodInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # guint num_extra; 1257s # gsize n; 1257s # guint signal_id; 1257s # GValue return_value = G_VALUE_INIT; 1257s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1257s # g_assert (info != NULL); 1257s # num_params = g_variant_n_children (parameters); 1257s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1257s # n = 0; 1257s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[n++], skeleton); 1257s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1257s # g_value_set_object (¶mv[n++], invocation); 1257s # if (info->pass_fdlist) 1257s # { 1257s # #ifdef G_OS_UNIX 1257s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1257s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1257s # #else 1257s # g_assert_not_reached (); 1257s # #endif 1257s # } 1257s # g_variant_iter_init (&iter, parameters); 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1257s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1257s # if (!g_value_get_boolean (&return_value)) 1257s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1257s # g_value_unset (&return_value); 1257s # for (n = 0; n < num_params + num_extra; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static GVariant * 1257s # _org_project_signaling_iface_skeleton_handle_get_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # GVariant *ret; 1257s # ret = NULL; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # g_value_init (&value, pspec->value_type); 1257s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1257s # g_value_unset (&value); 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _org_project_signaling_iface_skeleton_handle_set_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GVariant *variant, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # gboolean ret; 1257s # ret = FALSE; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # if (info->use_gvariant) 1257s # g_value_set_variant (&value, variant); 1257s # else 1257s # g_dbus_gvariant_to_gvalue (variant, &value); 1257s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # g_value_unset (&value); 1257s # ret = TRUE; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1257s # { 1257s # _org_project_signaling_iface_skeleton_handle_method_call, 1257s # _org_project_signaling_iface_skeleton_handle_get_property, 1257s # _org_project_signaling_iface_skeleton_handle_set_property, 1257s # {NULL} 1257s # }; 1257s # 1257s # static GDBusInterfaceInfo * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return org_project_signaling_iface_interface_info (); 1257s # } 1257s # 1257s # static GDBusInterfaceVTable * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1257s # } 1257s # 1257s # static GVariant * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1257s # 1257s # GVariantBuilder builder; 1257s # guint n; 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1257s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #else 1257s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #endif 1257s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1257s # goto out; 1257s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1257s # { 1257s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1257s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1257s # { 1257s # GVariant *value; 1257s # 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); 1257s # if (value != NULL) 1257s # { 1257s # g_variant_take_ref (value); 1257s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1257s # g_variant_unref (value); 1257s # } 1257s # } 1257s # } 1257s # out: 1257s # return g_variant_builder_end (&builder); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 1257s # OrgProjectSignalingIface *object, 1257s # const gchar *arg_arg_ay) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 1257s # arg_arg_ay)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1257s # if (skeleton->priv->changed_properties_idle_source != NULL) 1257s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1257s # g_main_context_unref (skeleton->priv->context); 1257s # g_mutex_clear (&skeleton->priv->lock); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1257s # #else 1257s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1257s # #endif 1257s # 1257s # g_mutex_init (&skeleton->priv->lock); 1257s # skeleton->priv->context = g_main_context_ref_thread_default (); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusInterfaceSkeletonClass *skeleton_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1257s # 1257s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1257s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1257s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1257s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1257s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1257s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_skeleton_new: 1257s # * 1257s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_skeleton_new (void) 1257s # { 1257s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1257s # } 1257s # Error: 1257s # 1257s # /tmp/tmpa1fjo27q/tmpi2h7rzlv.xml: 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa1fjo27q/tmpi2h7rzlv.xml', '--output', '-', '--body'] 1257s # Return code: 0 1257s # Output: 1257s # /* 1257s # * This file is generated by gdbus-codegen, do not modify it. 1257s # * 1257s # * The license of this code is the same as for the D-Bus interface description 1257s # * it was derived from. Note that it links to GLib, so must comply with the 1257s # * LGPL linking clauses. 1257s # */ 1257s # 1257s # #ifdef HAVE_CONFIG_H 1257s # # include "config.h" 1257s # #endif 1257s # 1257s # #include 1257s # #ifdef G_OS_UNIX 1257s # # include 1257s # #endif 1257s # 1257s # #ifdef G_ENABLE_DEBUG 1257s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1257s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1257s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1257s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1257s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1257s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1257s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1257s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1257s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1257s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1257s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1257s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1257s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1257s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1257s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1257s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1257s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1257s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1257s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1257s # #else /* !G_ENABLE_DEBUG */ 1257s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1257s # * Do not access GValues directly in your code. Instead, use the 1257s # * g_value_get_*() functions 1257s # */ 1257s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1257s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1257s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1257s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1257s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1257s # #endif /* !G_ENABLE_DEBUG */ 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusArgInfo parent_struct; 1257s # gboolean use_gvariant; 1257s # } _ExtendedGDBusArgInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusMethodInfo parent_struct; 1257s # const gchar *signal_name; 1257s # gboolean pass_fdlist; 1257s # } _ExtendedGDBusMethodInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusSignalInfo parent_struct; 1257s # const gchar *signal_name; 1257s # } _ExtendedGDBusSignalInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusPropertyInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # guint use_gvariant : 1; 1257s # guint emits_changed_signal : 1; 1257s # } _ExtendedGDBusPropertyInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusInterfaceInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # } _ExtendedGDBusInterfaceInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # const _ExtendedGDBusPropertyInfo *info; 1257s # guint prop_id; 1257s # GValue orig_value; /* the value before the change */ 1257s # } ChangedProperty; 1257s # 1257s # static void 1257s # _changed_property_free (ChangedProperty *data) 1257s # { 1257s # g_value_unset (&data->orig_value); 1257s # g_free (data); 1257s # } 1257s # 1257s # static gboolean 1257s # _g_strv_equal0 (gchar **a, gchar **b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # guint n; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # if (g_strv_length (a) != g_strv_length (b)) 1257s # goto out; 1257s # for (n = 0; a[n] != NULL; n++) 1257s # if (g_strcmp0 (a[n], b[n]) != 0) 1257s # goto out; 1257s # ret = TRUE; 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _g_variant_equal0 (GVariant *a, GVariant *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # ret = g_variant_equal (a, b); 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # G_GNUC_UNUSED static gboolean 1257s # _g_value_equal (const GValue *a, const GValue *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1257s # switch (G_VALUE_TYPE (a)) 1257s # { 1257s # case G_TYPE_BOOLEAN: 1257s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1257s # break; 1257s # case G_TYPE_UCHAR: 1257s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1257s # break; 1257s # case G_TYPE_INT: 1257s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1257s # break; 1257s # case G_TYPE_UINT: 1257s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1257s # break; 1257s # case G_TYPE_INT64: 1257s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1257s # break; 1257s # case G_TYPE_UINT64: 1257s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1257s # break; 1257s # case G_TYPE_DOUBLE: 1257s # { 1257s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1257s # gdouble da = g_value_get_double (a); 1257s # gdouble db = g_value_get_double (b); 1257s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1257s # } 1257s # break; 1257s # case G_TYPE_STRING: 1257s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1257s # break; 1257s # case G_TYPE_VARIANT: 1257s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1257s # break; 1257s # default: 1257s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1257s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1257s # else 1257s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1257s # break; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ 1257s # * Code for interface org.project.SignalingIface 1257s # * ------------------------------------------------------------------------ 1257s # */ 1257s # 1257s # /** 1257s # * SECTION:OrgProjectSignalingIface 1257s # * @title: OrgProjectSignalingIface 1257s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1257s # * 1257s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1257s # */ 1257s # 1257s # enum 1257s # { 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1257s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 1257s # }; 1257s # 1257s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1257s # 1257s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SimpleSignal", 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "simple-signal" 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "arg_as", 1257s # (gchar *) "as", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SingleArgSignalAs", 1257s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 1257s # NULL 1257s # }, 1257s # "single-arg-signal-as" 1257s # }; 1257s # 1257s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "org.project.SignalingIface", 1257s # NULL, 1257s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "org-project-signaling-iface", 1257s # }; 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_interface_info: 1257s # * 1257s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1257s # * 1257s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1257s # */ 1257s # GDBusInterfaceInfo * 1257s # org_project_signaling_iface_interface_info (void) 1257s # { 1257s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_override_properties: 1257s # * @klass: The class structure for a #GObject derived class. 1257s # * @property_id_begin: The property id to assign to the first overridden property. 1257s # * 1257s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1257s # * The properties are overridden in the order they are defined. 1257s # * 1257s # * Returns: The last property id. 1257s # */ 1257s # guint 1257s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1257s # { 1257s # return property_id_begin - 1; 1257s # } 1257s # 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_simple_signal ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__VOID (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__BOXED (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface: 1257s # * 1257s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceIface: 1257s # * @parent_iface: The parent interface. 1257s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1257s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 1257s # * 1257s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1257s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1257s # 1257s # static void 1257s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # /* GObject signals for received D-Bus signals: */ 1257s # /** 1257s # * OrgProjectSignalingIface::simple-signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1257s # g_signal_new ("simple-signal", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_simple_signal, 1257s # G_TYPE_NONE, 1257s # 0); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-as: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_as: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 1257s # g_signal_new ("single-arg-signal-as", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_STRV); 1257s # 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_simple_signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * Emits the "SimpleSignal" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_as: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_as: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalAs" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_as ( 1257s # OrgProjectSignalingIface *object, 1257s # const gchar *const *arg_arg_as) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxy: 1257s # * 1257s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxyClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceProxy. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceProxyPrivate 1257s # { 1257s # GData *qdata; 1257s # }; 1257s # 1257s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_proxy_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1257s # g_datalist_clear (&proxy->priv->qdata); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # const GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1257s # const gchar *sender_name G_GNUC_UNUSED, 1257s # const gchar *signal_name, 1257s # GVariant *parameters) 1257s # { 1257s # _ExtendedGDBusSignalInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # gsize n; 1257s # guint signal_id; 1257s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1257s # if (info == NULL) 1257s # return; 1257s # num_params = g_variant_n_children (parameters); 1257s # paramv = g_new0 (GValue, num_params + 1); 1257s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[0], proxy); 1257s # g_variant_iter_init (&iter, parameters); 1257s # n = 1; 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_signal_emitv (paramv, signal_id, 0, NULL); 1257s # for (n = 0; n < num_params + 1; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1257s # GVariant *changed_properties, 1257s # const gchar *const *invalidated_properties) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1257s # guint n; 1257s # const gchar *key; 1257s # GVariantIter *iter; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # g_variant_get (changed_properties, "a{sv}", &iter); 1257s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1257s # g_datalist_remove_data (&proxy->priv->qdata, key); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # g_variant_iter_free (iter); 1257s # for (n = 0; invalidated_properties[n] != NULL; n++) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1257s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1257s # #else 1257s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1257s # #endif 1257s # 1257s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusProxyClass *proxy_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1257s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1257s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1257s # 1257s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1257s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1257s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_sync: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_sync ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new_for_bus ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeleton: 1257s # * 1257s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeletonClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1257s # { 1257s # GValue *properties; 1257s # GList *changed_properties; 1257s # GSource *changed_properties_idle_source; 1257s # GMainContext *context; 1257s # GMutex lock; 1257s # }; 1257s # 1257s # static void 1257s # _org_project_signaling_iface_skeleton_handle_method_call ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name, 1257s # const gchar *method_name, 1257s # GVariant *parameters, 1257s # GDBusMethodInvocation *invocation, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # _ExtendedGDBusMethodInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # guint num_extra; 1257s # gsize n; 1257s # guint signal_id; 1257s # GValue return_value = G_VALUE_INIT; 1257s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1257s # g_assert (info != NULL); 1257s # num_params = g_variant_n_children (parameters); 1257s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1257s # n = 0; 1257s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[n++], skeleton); 1257s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1257s # g_value_set_object (¶mv[n++], invocation); 1257s # if (info->pass_fdlist) 1257s # { 1257s # #ifdef G_OS_UNIX 1257s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1257s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1257s # #else 1257s # g_assert_not_reached (); 1257s # #endif 1257s # } 1257s # g_variant_iter_init (&iter, parameters); 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1257s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1257s # if (!g_value_get_boolean (&return_value)) 1257s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1257s # g_value_unset (&return_value); 1257s # for (n = 0; n < num_params + num_extra; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static GVariant * 1257s # _org_project_signaling_iface_skeleton_handle_get_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # GVariant *ret; 1257s # ret = NULL; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # g_value_init (&value, pspec->value_type); 1257s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1257s # g_value_unset (&value); 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _org_project_signaling_iface_skeleton_handle_set_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GVariant *variant, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # gboolean ret; 1257s # ret = FALSE; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # if (info->use_gvariant) 1257s # g_value_set_variant (&value, variant); 1257s # else 1257s # g_dbus_gvariant_to_gvalue (variant, &value); 1257s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # g_value_unset (&value); 1257s # ret = TRUE; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1257s # { 1257s # _org_project_signaling_iface_skeleton_handle_method_call, 1257s # _org_project_signaling_iface_skeleton_handle_get_property, 1257s # _org_project_signaling_iface_skeleton_handle_set_property, 1257s # {NULL} 1257s # }; 1257s # 1257s # static GDBusInterfaceInfo * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return org_project_signaling_iface_interface_info (); 1257s # } 1257s # 1257s # static GDBusInterfaceVTable * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1257s # } 1257s # 1257s # static GVariant * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1257s # 1257s # GVariantBuilder builder; 1257s # guint n; 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1257s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #else 1257s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #endif 1257s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1257s # goto out; 1257s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1257s # { 1257s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1257s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1257s # { 1257s # GVariant *value; 1257s # 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); 1257s # if (value != NULL) 1257s # { 1257s # g_variant_take_ref (value); 1257s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1257s # g_variant_unref (value); 1257s # } 1257s # } 1257s # } 1257s # out: 1257s # return g_variant_builder_end (&builder); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 1257s # OrgProjectSignalingIface *object, 1257s # const gchar *const *arg_arg_as) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 1257s # arg_arg_as)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1257s # if (skeleton->priv->changed_properties_idle_source != NULL) 1257s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1257s # g_main_context_unref (skeleton->priv->context); 1257s # g_mutex_clear (&skeleton->priv->lock); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1257s # #else 1257s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1257s # #endif 1257s # 1257s # g_mutex_init (&skeleton->priv->lock); 1257s # skeleton->priv->context = g_main_context_ref_thread_default (); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusInterfaceSkeletonClass *skeleton_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1257s # 1257s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1257s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1257s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1257s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1257s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1257s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_skeleton_new: 1257s # * 1257s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_skeleton_new (void) 1257s # { 1257s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1257s # } 1257s # Error: 1257s # 1257s # /tmp/tmpa1fjo27q/tmp6czs40rn.xml: 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa1fjo27q/tmp6czs40rn.xml', '--output', '-', '--body'] 1257s # Return code: 0 1257s # Output: 1257s # /* 1257s # * This file is generated by gdbus-codegen, do not modify it. 1257s # * 1257s # * The license of this code is the same as for the D-Bus interface description 1257s # * it was derived from. Note that it links to GLib, so must comply with the 1257s # * LGPL linking clauses. 1257s # */ 1257s # 1257s # #ifdef HAVE_CONFIG_H 1257s # # include "config.h" 1257s # #endif 1257s # 1257s # #include 1257s # #ifdef G_OS_UNIX 1257s # # include 1257s # #endif 1257s # 1257s # #ifdef G_ENABLE_DEBUG 1257s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1257s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1257s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1257s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1257s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1257s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1257s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1257s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1257s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1257s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1257s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1257s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1257s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1257s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1257s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1257s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1257s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1257s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1257s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1257s # #else /* !G_ENABLE_DEBUG */ 1257s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1257s # * Do not access GValues directly in your code. Instead, use the 1257s # * g_value_get_*() functions 1257s # */ 1257s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1257s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1257s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1257s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1257s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1257s # #endif /* !G_ENABLE_DEBUG */ 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusArgInfo parent_struct; 1257s # gboolean use_gvariant; 1257s # } _ExtendedGDBusArgInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusMethodInfo parent_struct; 1257s # const gchar *signal_name; 1257s # gboolean pass_fdlist; 1257s # } _ExtendedGDBusMethodInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusSignalInfo parent_struct; 1257s # const gchar *signal_name; 1257s # } _ExtendedGDBusSignalInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusPropertyInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # guint use_gvariant : 1; 1257s # guint emits_changed_signal : 1; 1257s # } _ExtendedGDBusPropertyInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusInterfaceInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # } _ExtendedGDBusInterfaceInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # const _ExtendedGDBusPropertyInfo *info; 1257s # guint prop_id; 1257s # GValue orig_value; /* the value before the change */ 1257s # } ChangedProperty; 1257s # 1257s # static void 1257s # _changed_property_free (ChangedProperty *data) 1257s # { 1257s # g_value_unset (&data->orig_value); 1257s # g_free (data); 1257s # } 1257s # 1257s # static gboolean 1257s # _g_strv_equal0 (gchar **a, gchar **b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # guint n; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # if (g_strv_length (a) != g_strv_length (b)) 1257s # goto out; 1257s # for (n = 0; a[n] != NULL; n++) 1257s # if (g_strcmp0 (a[n], b[n]) != 0) 1257s # goto out; 1257s # ret = TRUE; 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _g_variant_equal0 (GVariant *a, GVariant *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # ret = g_variant_equal (a, b); 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # G_GNUC_UNUSED static gboolean 1257s # _g_value_equal (const GValue *a, const GValue *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1257s # switch (G_VALUE_TYPE (a)) 1257s # { 1257s # case G_TYPE_BOOLEAN: 1257s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1257s # break; 1257s # case G_TYPE_UCHAR: 1257s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1257s # break; 1257s # case G_TYPE_INT: 1257s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1257s # break; 1257s # case G_TYPE_UINT: 1257s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1257s # break; 1257s # case G_TYPE_INT64: 1257s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1257s # break; 1257s # case G_TYPE_UINT64: 1257s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1257s # break; 1257s # case G_TYPE_DOUBLE: 1257s # { 1257s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1257s # gdouble da = g_value_get_double (a); 1257s # gdouble db = g_value_get_double (b); 1257s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1257s # } 1257s # break; 1257s # case G_TYPE_STRING: 1257s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1257s # break; 1257s # case G_TYPE_VARIANT: 1257s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1257s # break; 1257s # default: 1257s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1257s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1257s # else 1257s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1257s # break; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ 1257s # * Code for interface org.project.SignalingIface 1257s # * ------------------------------------------------------------------------ 1257s # */ 1257s # 1257s # /** 1257s # * SECTION:OrgProjectSignalingIface 1257s # * @title: OrgProjectSignalingIface 1257s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1257s # * 1257s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1257s # */ 1257s # 1257s # enum 1257s # { 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1257s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 1257s # }; 1257s # 1257s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1257s # 1257s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SimpleSignal", 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "simple-signal" 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "arg_ao", 1257s # (gchar *) "ao", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SingleArgSignalAo", 1257s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 1257s # NULL 1257s # }, 1257s # "single-arg-signal-ao" 1257s # }; 1257s # 1257s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "org.project.SignalingIface", 1257s # NULL, 1257s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "org-project-signaling-iface", 1257s # }; 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_interface_info: 1257s # * 1257s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1257s # * 1257s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1257s # */ 1257s # GDBusInterfaceInfo * 1257s # org_project_signaling_iface_interface_info (void) 1257s # { 1257s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_override_properties: 1257s # * @klass: The class structure for a #GObject derived class. 1257s # * @property_id_begin: The property id to assign to the first overridden property. 1257s # * 1257s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1257s # * The properties are overridden in the order they are defined. 1257s # * 1257s # * Returns: The last property id. 1257s # */ 1257s # guint 1257s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1257s # { 1257s # return property_id_begin - 1; 1257s # } 1257s # 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_simple_signal ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__VOID (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__BOXED (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface: 1257s # * 1257s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceIface: 1257s # * @parent_iface: The parent interface. 1257s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1257s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 1257s # * 1257s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1257s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1257s # 1257s # static void 1257s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # /* GObject signals for received D-Bus signals: */ 1257s # /** 1257s # * OrgProjectSignalingIface::simple-signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1257s # g_signal_new ("simple-signal", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_simple_signal, 1257s # G_TYPE_NONE, 1257s # 0); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-ao: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_ao: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 1257s # g_signal_new ("single-arg-signal-ao", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_STRV); 1257s # 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_simple_signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * Emits the "SimpleSignal" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_ao: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_ao: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalAo" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_ao ( 1257s # OrgProjectSignalingIface *object, 1257s # const gchar *const *arg_arg_ao) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxy: 1257s # * 1257s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxyClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceProxy. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceProxyPrivate 1257s # { 1257s # GData *qdata; 1257s # }; 1257s # 1257s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_proxy_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1257s # g_datalist_clear (&proxy->priv->qdata); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # const GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1257s # const gchar *sender_name G_GNUC_UNUSED, 1257s # const gchar *signal_name, 1257s # GVariant *parameters) 1257s # { 1257s # _ExtendedGDBusSignalInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # gsize n; 1257s # guint signal_id; 1257s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1257s # if (info == NULL) 1257s # return; 1257s # num_params = g_variant_n_children (parameters); 1257s # paramv = g_new0 (GValue, num_params + 1); 1257s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[0], proxy); 1257s # g_variant_iter_init (&iter, parameters); 1257s # n = 1; 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_signal_emitv (paramv, signal_id, 0, NULL); 1257s # for (n = 0; n < num_params + 1; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1257s # GVariant *changed_properties, 1257s # const gchar *const *invalidated_properties) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1257s # guint n; 1257s # const gchar *key; 1257s # GVariantIter *iter; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # g_variant_get (changed_properties, "a{sv}", &iter); 1257s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1257s # g_datalist_remove_data (&proxy->priv->qdata, key); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # g_variant_iter_free (iter); 1257s # for (n = 0; invalidated_properties[n] != NULL; n++) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1257s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1257s # #else 1257s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1257s # #endif 1257s # 1257s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusProxyClass *proxy_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1257s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1257s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1257s # 1257s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1257s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1257s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_sync: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_sync ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new_for_bus ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeleton: 1257s # * 1257s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeletonClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1257s # { 1257s # GValue *properties; 1257s # GList *changed_properties; 1257s # GSource *changed_properties_idle_source; 1257s # GMainContext *context; 1257s # GMutex lock; 1257s # }; 1257s # 1257s # static void 1257s # _org_project_signaling_iface_skeleton_handle_method_call ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name, 1257s # const gchar *method_name, 1257s # GVariant *parameters, 1257s # GDBusMethodInvocation *invocation, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # _ExtendedGDBusMethodInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # guint num_extra; 1257s # gsize n; 1257s # guint signal_id; 1257s # GValue return_value = G_VALUE_INIT; 1257s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1257s # g_assert (info != NULL); 1257s # num_params = g_variant_n_children (parameters); 1257s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1257s # n = 0; 1257s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[n++], skeleton); 1257s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1257s # g_value_set_object (¶mv[n++], invocation); 1257s # if (info->pass_fdlist) 1257s # { 1257s # #ifdef G_OS_UNIX 1257s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1257s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1257s # #else 1257s # g_assert_not_reached (); 1257s # #endif 1257s # } 1257s # g_variant_iter_init (&iter, parameters); 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1257s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1257s # if (!g_value_get_boolean (&return_value)) 1257s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1257s # g_value_unset (&return_value); 1257s # for (n = 0; n < num_params + num_extra; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static GVariant * 1257s # _org_project_signaling_iface_skeleton_handle_get_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # GVariant *ret; 1257s # ret = NULL; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # g_value_init (&value, pspec->value_type); 1257s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1257s # g_value_unset (&value); 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _org_project_signaling_iface_skeleton_handle_set_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GVariant *variant, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # gboolean ret; 1257s # ret = FALSE; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # if (info->use_gvariant) 1257s # g_value_set_variant (&value, variant); 1257s # else 1257s # g_dbus_gvariant_to_gvalue (variant, &value); 1257s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # g_value_unset (&value); 1257s # ret = TRUE; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1257s # { 1257s # _org_project_signaling_iface_skeleton_handle_method_call, 1257s # _org_project_signaling_iface_skeleton_handle_get_property, 1257s # _org_project_signaling_iface_skeleton_handle_set_property, 1257s # {NULL} 1257s # }; 1257s # 1257s # static GDBusInterfaceInfo * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return org_project_signaling_iface_interface_info (); 1257s # } 1257s # 1257s # static GDBusInterfaceVTable * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1257s # } 1257s # 1257s # static GVariant * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1257s # 1257s # GVariantBuilder builder; 1257s # guint n; 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1257s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #else 1257s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #endif 1257s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1257s # goto out; 1257s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1257s # { 1257s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1257s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1257s # { 1257s # GVariant *value; 1257s # 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); 1257s # if (value != NULL) 1257s # { 1257s # g_variant_take_ref (value); 1257s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1257s # g_variant_unref (value); 1257s # } 1257s # } 1257s # } 1257s # out: 1257s # return g_variant_builder_end (&builder); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 1257s # OrgProjectSignalingIface *object, 1257s # const gchar *const *arg_arg_ao) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 1257s # arg_arg_ao)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1257s # if (skeleton->priv->changed_properties_idle_source != NULL) 1257s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1257s # g_main_context_unref (skeleton->priv->context); 1257s # g_mutex_clear (&skeleton->priv->lock); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1257s # #else 1257s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1257s # #endif 1257s # 1257s # g_mutex_init (&skeleton->priv->lock); 1257s # skeleton->priv->context = g_main_context_ref_thread_default (); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusInterfaceSkeletonClass *skeleton_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1257s # 1257s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1257s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1257s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1257s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1257s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1257s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_skeleton_new: 1257s # * 1257s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_skeleton_new (void) 1257s # { 1257s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1257s # } 1257s # Error: 1257s # 1257s # /tmp/tmpa1fjo27q/tmpj_nswzfc.xml: 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa1fjo27q/tmpj_nswzfc.xml', '--output', '-', '--body'] 1257s # Return code: 0 1257s # Output: 1257s # /* 1257s # * This file is generated by gdbus-codegen, do not modify it. 1257s # * 1257s # * The license of this code is the same as for the D-Bus interface description 1257s # * it was derived from. Note that it links to GLib, so must comply with the 1257s # * LGPL linking clauses. 1257s # */ 1257s # 1257s # #ifdef HAVE_CONFIG_H 1257s # # include "config.h" 1257s # #endif 1257s # 1257s # #include 1257s # #ifdef G_OS_UNIX 1257s # # include 1257s # #endif 1257s # 1257s # #ifdef G_ENABLE_DEBUG 1257s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1257s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1257s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1257s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1257s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1257s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1257s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1257s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1257s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1257s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1257s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1257s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1257s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1257s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1257s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1257s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1257s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1257s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1257s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1257s # #else /* !G_ENABLE_DEBUG */ 1257s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1257s # * Do not access GValues directly in your code. Instead, use the 1257s # * g_value_get_*() functions 1257s # */ 1257s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1257s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1257s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1257s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1257s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1257s # #endif /* !G_ENABLE_DEBUG */ 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusArgInfo parent_struct; 1257s # gboolean use_gvariant; 1257s # } _ExtendedGDBusArgInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusMethodInfo parent_struct; 1257s # const gchar *signal_name; 1257s # gboolean pass_fdlist; 1257s # } _ExtendedGDBusMethodInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusSignalInfo parent_struct; 1257s # const gchar *signal_name; 1257s # } _ExtendedGDBusSignalInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusPropertyInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # guint use_gvariant : 1; 1257s # guint emits_changed_signal : 1; 1257s # } _ExtendedGDBusPropertyInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusInterfaceInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # } _ExtendedGDBusInterfaceInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # const _ExtendedGDBusPropertyInfo *info; 1257s # guint prop_id; 1257s # GValue orig_value; /* the value before the change */ 1257s # } ChangedProperty; 1257s # 1257s # static void 1257s # _changed_property_free (ChangedProperty *data) 1257s # { 1257s # g_value_unset (&data->orig_value); 1257s # g_free (data); 1257s # } 1257s # 1257s # static gboolean 1257s # _g_strv_equal0 (gchar **a, gchar **b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # guint n; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # if (g_strv_length (a) != g_strv_length (b)) 1257s # goto out; 1257s # for (n = 0; a[n] != NULL; n++) 1257s # if (g_strcmp0 (a[n], b[n]) != 0) 1257s # goto out; 1257s # ret = TRUE; 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _g_variant_equal0 (GVariant *a, GVariant *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # ret = g_variant_equal (a, b); 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # G_GNUC_UNUSED static gboolean 1257s # _g_value_equal (const GValue *a, const GValue *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1257s # switch (G_VALUE_TYPE (a)) 1257s # { 1257s # case G_TYPE_BOOLEAN: 1257s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1257s # break; 1257s # case G_TYPE_UCHAR: 1257s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1257s # break; 1257s # case G_TYPE_INT: 1257s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1257s # break; 1257s # case G_TYPE_UINT: 1257s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1257s # break; 1257s # case G_TYPE_INT64: 1257s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1257s # break; 1257s # case G_TYPE_UINT64: 1257s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1257s # break; 1257s # case G_TYPE_DOUBLE: 1257s # { 1257s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1257s # gdouble da = g_value_get_double (a); 1257s # gdouble db = g_value_get_double (b); 1257s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1257s # } 1257s # break; 1257s # case G_TYPE_STRING: 1257s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1257s # break; 1257s # case G_TYPE_VARIANT: 1257s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1257s # break; 1257s # default: 1257s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1257s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1257s # else 1257s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1257s # break; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ 1257s # * Code for interface org.project.SignalingIface 1257s # * ------------------------------------------------------------------------ 1257s # */ 1257s # 1257s # /** 1257s # * SECTION:OrgProjectSignalingIface 1257s # * @title: OrgProjectSignalingIface 1257s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1257s # * 1257s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1257s # */ 1257s # 1257s # enum 1257s # { 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1257s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 1257s # }; 1257s # 1257s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1257s # 1257s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SimpleSignal", 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "simple-signal" 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "arg_aay", 1257s # (gchar *) "aay", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SingleArgSignalAay", 1257s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 1257s # NULL 1257s # }, 1257s # "single-arg-signal-aay" 1257s # }; 1257s # 1257s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "org.project.SignalingIface", 1257s # NULL, 1257s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "org-project-signaling-iface", 1257s # }; 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_interface_info: 1257s # * 1257s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1257s # * 1257s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1257s # */ 1257s # GDBusInterfaceInfo * 1257s # org_project_signaling_iface_interface_info (void) 1257s # { 1257s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_override_properties: 1257s # * @klass: The class structure for a #GObject derived class. 1257s # * @property_id_begin: The property id to assign to the first overridden property. 1257s # * 1257s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1257s # * The properties are overridden in the order they are defined. 1257s # * 1257s # * Returns: The last property id. 1257s # */ 1257s # guint 1257s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1257s # { 1257s # return property_id_begin - 1; 1257s # } 1257s # 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_simple_signal ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__VOID (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__BOXED (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface: 1257s # * 1257s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceIface: 1257s # * @parent_iface: The parent interface. 1257s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1257s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 1257s # * 1257s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1257s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1257s # 1257s # static void 1257s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # /* GObject signals for received D-Bus signals: */ 1257s # /** 1257s # * OrgProjectSignalingIface::simple-signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1257s # g_signal_new ("simple-signal", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_simple_signal, 1257s # G_TYPE_NONE, 1257s # 0); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-aay: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_aay: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 1257s # g_signal_new ("single-arg-signal-aay", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_STRV); 1257s # 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_simple_signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * Emits the "SimpleSignal" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_aay: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_aay: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalAay" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_aay ( 1257s # OrgProjectSignalingIface *object, 1257s # const gchar *const *arg_arg_aay) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxy: 1257s # * 1257s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxyClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceProxy. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceProxyPrivate 1257s # { 1257s # GData *qdata; 1257s # }; 1257s # 1257s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_proxy_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1257s # g_datalist_clear (&proxy->priv->qdata); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # const GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1257s # const gchar *sender_name G_GNUC_UNUSED, 1257s # const gchar *signal_name, 1257s # GVariant *parameters) 1257s # { 1257s # _ExtendedGDBusSignalInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # gsize n; 1257s # guint signal_id; 1257s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1257s # if (info == NULL) 1257s # return; 1257s # num_params = g_variant_n_children (parameters); 1257s # paramv = g_new0 (GValue, num_params + 1); 1257s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[0], proxy); 1257s # g_variant_iter_init (&iter, parameters); 1257s # n = 1; 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_signal_emitv (paramv, signal_id, 0, NULL); 1257s # for (n = 0; n < num_params + 1; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1257s # GVariant *changed_properties, 1257s # const gchar *const *invalidated_properties) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1257s # guint n; 1257s # const gchar *key; 1257s # GVariantIter *iter; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # g_variant_get (changed_properties, "a{sv}", &iter); 1257s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1257s # g_datalist_remove_data (&proxy->priv->qdata, key); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # g_variant_iter_free (iter); 1257s # for (n = 0; invalidated_properties[n] != NULL; n++) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1257s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1257s # #else 1257s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1257s # #endif 1257s # 1257s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusProxyClass *proxy_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1257s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1257s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1257s # 1257s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1257s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1257s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_sync: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_sync ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new_for_bus ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeleton: 1257s # * 1257s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeletonClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1257s # { 1257s # GValue *properties; 1257s # GList *changed_properties; 1257s # GSource *changed_properties_idle_source; 1257s # GMainContext *context; 1257s # GMutex lock; 1257s # }; 1257s # 1257s # static void 1257s # _org_project_signaling_iface_skeleton_handle_method_call ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name, 1257s # const gchar *method_name, 1257s # GVariant *parameters, 1257s # GDBusMethodInvocation *invocation, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # _ExtendedGDBusMethodInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # guint num_extra; 1257s # gsize n; 1257s # guint signal_id; 1257s # GValue return_value = G_VALUE_INIT; 1257s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1257s # g_assert (info != NULL); 1257s # num_params = g_variant_n_children (parameters); 1257s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1257s # n = 0; 1257s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[n++], skeleton); 1257s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1257s # g_value_set_object (¶mv[n++], invocation); 1257s # if (info->pass_fdlist) 1257s # { 1257s # #ifdef G_OS_UNIX 1257s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1257s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1257s # #else 1257s # g_assert_not_reached (); 1257s # #endif 1257s # } 1257s # g_variant_iter_init (&iter, parameters); 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1257s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1257s # if (!g_value_get_boolean (&return_value)) 1257s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1257s # g_value_unset (&return_value); 1257s # for (n = 0; n < num_params + num_extra; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static GVariant * 1257s # _org_project_signaling_iface_skeleton_handle_get_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # GVariant *ret; 1257s # ret = NULL; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # g_value_init (&value, pspec->value_type); 1257s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1257s # g_value_unset (&value); 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _org_project_signaling_iface_skeleton_handle_set_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GVariant *variant, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # gboolean ret; 1257s # ret = FALSE; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # if (info->use_gvariant) 1257s # g_value_set_variant (&value, variant); 1257s # else 1257s # g_dbus_gvariant_to_gvalue (variant, &value); 1257s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # g_value_unset (&value); 1257s # ret = TRUE; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1257s # { 1257s # _org_project_signaling_iface_skeleton_handle_method_call, 1257s # _org_project_signaling_iface_skeleton_handle_get_property, 1257s # _org_project_signaling_iface_skeleton_handle_set_property, 1257s # {NULL} 1257s # }; 1257s # 1257s # static GDBusInterfaceInfo * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return org_project_signaling_iface_interface_info (); 1257s # } 1257s # 1257s # static GDBusInterfaceVTable * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1257s # } 1257s # 1257s # static GVariant * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1257s # 1257s # GVariantBuilder builder; 1257s # guint n; 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1257s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #else 1257s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #endif 1257s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1257s # goto out; 1257s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1257s # { 1257s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1257s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1257s # { 1257s # GVariant *value; 1257s # 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); 1257s # if (value != NULL) 1257s # { 1257s # g_variant_take_ref (value); 1257s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1257s # g_variant_unref (value); 1257s # } 1257s # } 1257s # } 1257s # out: 1257s # return g_variant_builder_end (&builder); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 1257s # OrgProjectSignalingIface *object, 1257s # const gchar *const *arg_arg_aay) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 1257s # arg_arg_aay)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1257s # if (skeleton->priv->changed_properties_idle_source != NULL) 1257s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1257s # g_main_context_unref (skeleton->priv->context); 1257s # g_mutex_clear (&skeleton->priv->lock); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1257s # #else 1257s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1257s # #endif 1257s # 1257s # g_mutex_init (&skeleton->priv->lock); 1257s # skeleton->priv->context = g_main_context_ref_thread_default (); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusInterfaceSkeletonClass *skeleton_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1257s # 1257s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1257s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1257s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1257s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1257s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1257s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_skeleton_new: 1257s # * 1257s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_skeleton_new (void) 1257s # { 1257s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1257s # } 1257s # Error: 1257s # 1257s # /tmp/tmpa1fjo27q/tmpnlqpod3m.xml: 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa1fjo27q/tmpnlqpod3m.xml', '--output', '-', '--body'] 1257s # Return code: 0 1257s # Output: 1257s # /* 1257s # * This file is generated by gdbus-codegen, do not modify it. 1257s # * 1257s # * The license of this code is the same as for the D-Bus interface description 1257s # * it was derived from. Note that it links to GLib, so must comply with the 1257s # * LGPL linking clauses. 1257s # */ 1257s # 1257s # #ifdef HAVE_CONFIG_H 1257s # # include "config.h" 1257s # #endif 1257s # 1257s # #include 1257s # #ifdef G_OS_UNIX 1257s # # include 1257s # #endif 1257s # 1257s # #ifdef G_ENABLE_DEBUG 1257s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1257s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1257s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1257s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1257s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1257s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1257s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1257s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1257s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1257s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1257s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1257s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1257s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1257s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1257s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1257s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1257s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1257s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1257s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1257s # #else /* !G_ENABLE_DEBUG */ 1257s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1257s # * Do not access GValues directly in your code. Instead, use the 1257s # * g_value_get_*() functions 1257s # */ 1257s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1257s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1257s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1257s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1257s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1257s # #endif /* !G_ENABLE_DEBUG */ 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusArgInfo parent_struct; 1257s # gboolean use_gvariant; 1257s # } _ExtendedGDBusArgInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusMethodInfo parent_struct; 1257s # const gchar *signal_name; 1257s # gboolean pass_fdlist; 1257s # } _ExtendedGDBusMethodInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusSignalInfo parent_struct; 1257s # const gchar *signal_name; 1257s # } _ExtendedGDBusSignalInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusPropertyInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # guint use_gvariant : 1; 1257s # guint emits_changed_signal : 1; 1257s # } _ExtendedGDBusPropertyInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusInterfaceInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # } _ExtendedGDBusInterfaceInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # const _ExtendedGDBusPropertyInfo *info; 1257s # guint prop_id; 1257s # GValue orig_value; /* the value before the change */ 1257s # } ChangedProperty; 1257s # 1257s # static void 1257s # _changed_property_free (ChangedProperty *data) 1257s # { 1257s # g_value_unset (&data->orig_value); 1257s # g_free (data); 1257s # } 1257s # 1257s # static gboolean 1257s # _g_strv_equal0 (gchar **a, gchar **b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # guint n; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # if (g_strv_length (a) != g_strv_length (b)) 1257s # goto out; 1257s # for (n = 0; a[n] != NULL; n++) 1257s # if (g_strcmp0 (a[n], b[n]) != 0) 1257s # goto out; 1257s # ret = TRUE; 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _g_variant_equal0 (GVariant *a, GVariant *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # ret = g_variant_equal (a, b); 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # G_GNUC_UNUSED static gboolean 1257s # _g_value_equal (const GValue *a, const GValue *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1257s # switch (G_VALUE_TYPE (a)) 1257s # { 1257s # case G_TYPE_BOOLEAN: 1257s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1257s # break; 1257s # case G_TYPE_UCHAR: 1257s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1257s # break; 1257s # case G_TYPE_INT: 1257s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1257s # break; 1257s # case G_TYPE_UINT: 1257s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1257s # break; 1257s # case G_TYPE_INT64: 1257s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1257s # break; 1257s # case G_TYPE_UINT64: 1257s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1257s # break; 1257s # case G_TYPE_DOUBLE: 1257s # { 1257s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1257s # gdouble da = g_value_get_double (a); 1257s # gdouble db = g_value_get_double (b); 1257s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1257s # } 1257s # break; 1257s # case G_TYPE_STRING: 1257s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1257s # break; 1257s # case G_TYPE_VARIANT: 1257s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1257s # break; 1257s # default: 1257s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1257s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1257s # else 1257s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1257s # break; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ 1257s # * Code for interface org.project.SignalingIface 1257s # * ------------------------------------------------------------------------ 1257s # */ 1257s # 1257s # /** 1257s # * SECTION:OrgProjectSignalingIface 1257s # * @title: OrgProjectSignalingIface 1257s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1257s # * 1257s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1257s # */ 1257s # 1257s # enum 1257s # { 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1257s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 1257s # }; 1257s # 1257s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1257s # 1257s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SimpleSignal", 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "simple-signal" 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "arg_asv", 1257s # (gchar *) "a{sv}", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SingleArgSignalAsv", 1257s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 1257s # NULL 1257s # }, 1257s # "single-arg-signal-asv" 1257s # }; 1257s # 1257s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "org.project.SignalingIface", 1257s # NULL, 1257s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "org-project-signaling-iface", 1257s # }; 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_interface_info: 1257s # * 1257s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1257s # * 1257s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1257s # */ 1257s # GDBusInterfaceInfo * 1257s # org_project_signaling_iface_interface_info (void) 1257s # { 1257s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_override_properties: 1257s # * @klass: The class structure for a #GObject derived class. 1257s # * @property_id_begin: The property id to assign to the first overridden property. 1257s # * 1257s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1257s # * The properties are overridden in the order they are defined. 1257s # * 1257s # * Returns: The last property id. 1257s # */ 1257s # guint 1257s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1257s # { 1257s # return property_id_begin - 1; 1257s # } 1257s # 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_simple_signal ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__VOID (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__VARIANT (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface: 1257s # * 1257s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceIface: 1257s # * @parent_iface: The parent interface. 1257s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1257s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 1257s # * 1257s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1257s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1257s # 1257s # static void 1257s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # /* GObject signals for received D-Bus signals: */ 1257s # /** 1257s # * OrgProjectSignalingIface::simple-signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1257s # g_signal_new ("simple-signal", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_simple_signal, 1257s # G_TYPE_NONE, 1257s # 0); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::single-arg-signal-asv: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_asv: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 1257s # g_signal_new ("single-arg-signal-asv", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 1257s # G_TYPE_NONE, 1257s # 1, G_TYPE_VARIANT); 1257s # 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_simple_signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * Emits the "SimpleSignal" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_single_arg_signal_asv: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_arg_asv: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SingleArgSignalAsv" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_single_arg_signal_asv ( 1257s # OrgProjectSignalingIface *object, 1257s # GVariant *arg_arg_asv) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxy: 1257s # * 1257s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxyClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceProxy. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceProxyPrivate 1257s # { 1257s # GData *qdata; 1257s # }; 1257s # 1257s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_proxy_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1257s # g_datalist_clear (&proxy->priv->qdata); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # const GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1257s # const gchar *sender_name G_GNUC_UNUSED, 1257s # const gchar *signal_name, 1257s # GVariant *parameters) 1257s # { 1257s # _ExtendedGDBusSignalInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # gsize n; 1257s # guint signal_id; 1257s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1257s # if (info == NULL) 1257s # return; 1257s # num_params = g_variant_n_children (parameters); 1257s # paramv = g_new0 (GValue, num_params + 1); 1257s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[0], proxy); 1257s # g_variant_iter_init (&iter, parameters); 1257s # n = 1; 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_signal_emitv (paramv, signal_id, 0, NULL); 1257s # for (n = 0; n < num_params + 1; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1257s # GVariant *changed_properties, 1257s # const gchar *const *invalidated_properties) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1257s # guint n; 1257s # const gchar *key; 1257s # GVariantIter *iter; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # g_variant_get (changed_properties, "a{sv}", &iter); 1257s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1257s # g_datalist_remove_data (&proxy->priv->qdata, key); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # g_variant_iter_free (iter); 1257s # for (n = 0; invalidated_properties[n] != NULL; n++) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1257s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1257s # #else 1257s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1257s # #endif 1257s # 1257s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusProxyClass *proxy_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1257s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1257s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1257s # 1257s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1257s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1257s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_sync: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_sync ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new_for_bus ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeleton: 1257s # * 1257s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeletonClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1257s # { 1257s # GValue *properties; 1257s # GList *changed_properties; 1257s # GSource *changed_properties_idle_source; 1257s # GMainContext *context; 1257s # GMutex lock; 1257s # }; 1257s # 1257s # static void 1257s # _org_project_signaling_iface_skeleton_handle_method_call ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name, 1257s # const gchar *method_name, 1257s # GVariant *parameters, 1257s # GDBusMethodInvocation *invocation, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # _ExtendedGDBusMethodInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # guint num_extra; 1257s # gsize n; 1257s # guint signal_id; 1257s # GValue return_value = G_VALUE_INIT; 1257s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1257s # g_assert (info != NULL); 1257s # num_params = g_variant_n_children (parameters); 1257s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1257s # n = 0; 1257s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[n++], skeleton); 1257s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1257s # g_value_set_object (¶mv[n++], invocation); 1257s # if (info->pass_fdlist) 1257s # { 1257s # #ifdef G_OS_UNIX 1257s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1257s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1257s # #else 1257s # g_assert_not_reached (); 1257s # #endif 1257s # } 1257s # g_variant_iter_init (&iter, parameters); 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1257s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1257s # if (!g_value_get_boolean (&return_value)) 1257s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1257s # g_value_unset (&return_value); 1257s # for (n = 0; n < num_params + num_extra; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static GVariant * 1257s # _org_project_signaling_iface_skeleton_handle_get_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # GVariant *ret; 1257s # ret = NULL; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # g_value_init (&value, pspec->value_type); 1257s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1257s # g_value_unset (&value); 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _org_project_signaling_iface_skeleton_handle_set_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GVariant *variant, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # gboolean ret; 1257s # ret = FALSE; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # if (info->use_gvariant) 1257s # g_value_set_variant (&value, variant); 1257s # else 1257s # g_dbus_gvariant_to_gvalue (variant, &value); 1257s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # g_value_unset (&value); 1257s # ret = TRUE; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1257s # { 1257s # _org_project_signaling_iface_skeleton_handle_method_call, 1257s # _org_project_signaling_iface_skeleton_handle_get_property, 1257s # _org_project_signaling_iface_skeleton_handle_set_property, 1257s # {NULL} 1257s # }; 1257s # 1257s # static GDBusInterfaceInfo * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return org_project_signaling_iface_interface_info (); 1257s # } 1257s # 1257s # static GDBusInterfaceVTable * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1257s # } 1257s # 1257s # static GVariant * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1257s # 1257s # GVariantBuilder builder; 1257s # guint n; 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1257s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #else 1257s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #endif 1257s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1257s # goto out; 1257s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1257s # { 1257s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1257s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1257s # { 1257s # GVariant *value; 1257s # 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); 1257s # if (value != NULL) 1257s # { 1257s # g_variant_take_ref (value); 1257s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1257s # g_variant_unref (value); 1257s # } 1257s # } 1257s # } 1257s # out: 1257s # return g_variant_builder_end (&builder); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 1257s # OrgProjectSignalingIface *object, 1257s # GVariant *arg_arg_asv) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 1257s # arg_arg_asv)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1257s # if (skeleton->priv->changed_properties_idle_source != NULL) 1257s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1257s # g_main_context_unref (skeleton->priv->context); 1257s # g_mutex_clear (&skeleton->priv->lock); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1257s # #else 1257s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1257s # #endif 1257s # 1257s # g_mutex_init (&skeleton->priv->lock); 1257s # skeleton->priv->context = g_main_context_ref_thread_default (); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusInterfaceSkeletonClass *skeleton_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1257s # 1257s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1257s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1257s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1257s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1257s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1257s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_skeleton_new: 1257s # * 1257s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_skeleton_new (void) 1257s # { 1257s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1257s # } 1257s # Error: 1257s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 1257s # gdbus-codegen: /usr/bin/gdbus-codegen 1257s # tmpdir: /tmp/tmpu13zw0uc 1257s # /tmp/tmpu13zw0uc/tmpu6kbtmky.xml: 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu13zw0uc/tmpu6kbtmky.xml', '--output', '-', '--body'] 1257s # Return code: 0 1257s # Output: 1257s # /* 1257s # * This file is generated by gdbus-codegen, do not modify it. 1257s # * 1257s # * The license of this code is the same as for the D-Bus interface description 1257s # * it was derived from. Note that it links to GLib, so must comply with the 1257s # * LGPL linking clauses. 1257s # */ 1257s # 1257s # #ifdef HAVE_CONFIG_H 1257s # # include "config.h" 1257s # #endif 1257s # 1257s # #include 1257s # #ifdef G_OS_UNIX 1257s # # include 1257s # #endif 1257s # 1257s # #ifdef G_ENABLE_DEBUG 1257s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1257s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1257s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1257s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1257s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1257s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1257s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1257s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1257s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1257s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1257s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1257s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1257s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1257s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1257s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1257s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1257s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1257s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1257s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1257s # #else /* !G_ENABLE_DEBUG */ 1257s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1257s # * Do not access GValues directly in your code. Instead, use the 1257s # * g_value_get_*() functions 1257s # */ 1257s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1257s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1257s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1257s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1257s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1257s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1257s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1257s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1257s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1257s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1257s # #endif /* !G_ENABLE_DEBUG */ 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusArgInfo parent_struct; 1257s # gboolean use_gvariant; 1257s # } _ExtendedGDBusArgInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusMethodInfo parent_struct; 1257s # const gchar *signal_name; 1257s # gboolean pass_fdlist; 1257s # } _ExtendedGDBusMethodInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusSignalInfo parent_struct; 1257s # const gchar *signal_name; 1257s # } _ExtendedGDBusSignalInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusPropertyInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # guint use_gvariant : 1; 1257s # guint emits_changed_signal : 1; 1257s # } _ExtendedGDBusPropertyInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # GDBusInterfaceInfo parent_struct; 1257s # const gchar *hyphen_name; 1257s # } _ExtendedGDBusInterfaceInfo; 1257s # 1257s # typedef struct 1257s # { 1257s # const _ExtendedGDBusPropertyInfo *info; 1257s # guint prop_id; 1257s # GValue orig_value; /* the value before the change */ 1257s # } ChangedProperty; 1257s # 1257s # static void 1257s # _changed_property_free (ChangedProperty *data) 1257s # { 1257s # g_value_unset (&data->orig_value); 1257s # g_free (data); 1257s # } 1257s # 1257s # static gboolean 1257s # _g_strv_equal0 (gchar **a, gchar **b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # guint n; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # if (g_strv_length (a) != g_strv_length (b)) 1257s # goto out; 1257s # for (n = 0; a[n] != NULL; n++) 1257s # if (g_strcmp0 (a[n], b[n]) != 0) 1257s # goto out; 1257s # ret = TRUE; 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _g_variant_equal0 (GVariant *a, GVariant *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # if (a == NULL && b == NULL) 1257s # { 1257s # ret = TRUE; 1257s # goto out; 1257s # } 1257s # if (a == NULL || b == NULL) 1257s # goto out; 1257s # ret = g_variant_equal (a, b); 1257s # out: 1257s # return ret; 1257s # } 1257s # 1257s # G_GNUC_UNUSED static gboolean 1257s # _g_value_equal (const GValue *a, const GValue *b) 1257s # { 1257s # gboolean ret = FALSE; 1257s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1257s # switch (G_VALUE_TYPE (a)) 1257s # { 1257s # case G_TYPE_BOOLEAN: 1257s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1257s # break; 1257s # case G_TYPE_UCHAR: 1257s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1257s # break; 1257s # case G_TYPE_INT: 1257s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1257s # break; 1257s # case G_TYPE_UINT: 1257s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1257s # break; 1257s # case G_TYPE_INT64: 1257s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1257s # break; 1257s # case G_TYPE_UINT64: 1257s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1257s # break; 1257s # case G_TYPE_DOUBLE: 1257s # { 1257s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1257s # gdouble da = g_value_get_double (a); 1257s # gdouble db = g_value_get_double (b); 1257s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1257s # } 1257s # break; 1257s # case G_TYPE_STRING: 1257s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1257s # break; 1257s # case G_TYPE_VARIANT: 1257s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1257s # break; 1257s # default: 1257s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1257s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1257s # else 1257s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1257s # break; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static void 1257s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 1257s # GClosure *closure, 1257s # GValue *return_value G_GNUC_UNUSED, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint G_GNUC_UNUSED, 1257s # void *marshal_data) 1257s # { 1257s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1257s # (void *data1, 1257s # gboolean arg_an_b, 1257s # guchar arg_an_y, 1257s # gint16 arg_an_n, 1257s # guint16 arg_an_q, 1257s # gint arg_an_i, 1257s # guint arg_an_u, 1257s # gint64 arg_an_x, 1257s # guint64 arg_an_t, 1257s # gdouble arg_an_d, 1257s # const gchar *arg_an_s, 1257s # const gchar *arg_an_o, 1257s # const gchar *arg_an_g, 1257s # GVariant *arg_an_h, 1257s # const gchar *arg_an_ay, 1257s # const gchar *const *arg_an_as, 1257s # const gchar *const *arg_an_ao, 1257s # const gchar *const *arg_an_aay, 1257s # GVariant *arg_an_asv, 1257s # void *data2); 1257s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 1257s # GCClosure *cc = (GCClosure*) closure; 1257s # void *data1, *data2; 1257s # 1257s # g_return_if_fail (n_param_values == 19); 1257s # 1257s # if (G_CCLOSURE_SWAP_DATA (closure)) 1257s # { 1257s # data1 = closure->data; 1257s # data2 = g_value_peek_pointer (param_values + 0); 1257s # } 1257s # else 1257s # { 1257s # data1 = g_value_peek_pointer (param_values + 0); 1257s # data2 = closure->data; 1257s # } 1257s # 1257s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 1257s # (marshal_data ? marshal_data : cc->callback); 1257s # 1257s # callback (data1, 1257s # g_marshal_value_peek_boolean (param_values + 1), 1257s # g_marshal_value_peek_uchar (param_values + 2), 1257s # g_marshal_value_peek_int (param_values + 3), 1257s # g_marshal_value_peek_uint (param_values + 4), 1257s # g_marshal_value_peek_int (param_values + 5), 1257s # g_marshal_value_peek_uint (param_values + 6), 1257s # g_marshal_value_peek_int64 (param_values + 7), 1257s # g_marshal_value_peek_uint64 (param_values + 8), 1257s # g_marshal_value_peek_double (param_values + 9), 1257s # g_marshal_value_peek_string (param_values + 10), 1257s # g_marshal_value_peek_string (param_values + 11), 1257s # g_marshal_value_peek_string (param_values + 12), 1257s # g_marshal_value_peek_variant (param_values + 13), 1257s # g_marshal_value_peek_string (param_values + 14), 1257s # g_marshal_value_peek_boxed (param_values + 15), 1257s # g_marshal_value_peek_boxed (param_values + 16), 1257s # g_marshal_value_peek_boxed (param_values + 17), 1257s # g_marshal_value_peek_variant (param_values + 18), 1257s # data2); 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ 1257s # * Code for interface org.project.SignalingIface 1257s # * ------------------------------------------------------------------------ 1257s # */ 1257s # 1257s # /** 1257s # * SECTION:OrgProjectSignalingIface 1257s # * @title: OrgProjectSignalingIface 1257s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 1257s # * 1257s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 1257s # */ 1257s # 1257s # enum 1257s # { 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 1257s # }; 1257s # 1257s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 1257s # 1257s # /* ---- Introspection data for org.project.SignalingIface ---- */ 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SimpleSignal", 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "simple-signal" 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "an_b", 1257s # (gchar *) "b", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "an_y", 1257s # (gchar *) "y", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "an_n", 1257s # (gchar *) "n", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "an_q", 1257s # (gchar *) "q", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "an_i", 1257s # (gchar *) "i", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "an_u", 1257s # (gchar *) "u", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "an_x", 1257s # (gchar *) "x", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "an_t", 1257s # (gchar *) "t", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "an_d", 1257s # (gchar *) "d", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "an_s", 1257s # (gchar *) "s", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "an_o", 1257s # (gchar *) "o", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "an_g", 1257s # (gchar *) "g", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "an_h", 1257s # (gchar *) "h", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "an_ay", 1257s # (gchar *) "ay", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "an_as", 1257s # (gchar *) "as", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "an_ao", 1257s # (gchar *) "ao", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "an_aay", 1257s # (gchar *) "aay", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "an_asv", 1257s # (gchar *) "a{sv}", 1257s # NULL 1257s # }, 1257s # FALSE 1257s # }; 1257s # 1257s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "SignalWithManyArgs", 1257s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 1257s # NULL 1257s # }, 1257s # "signal-with-many-args" 1257s # }; 1257s # 1257s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 1257s # { 1257s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 1257s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 1257s # NULL 1257s # }; 1257s # 1257s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 1257s # { 1257s # { 1257s # -1, 1257s # (gchar *) "org.project.SignalingIface", 1257s # NULL, 1257s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 1257s # NULL, 1257s # NULL 1257s # }, 1257s # "org-project-signaling-iface", 1257s # }; 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_interface_info: 1257s # * 1257s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 1257s # * 1257s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1257s # */ 1257s # GDBusInterfaceInfo * 1257s # org_project_signaling_iface_interface_info (void) 1257s # { 1257s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_override_properties: 1257s # * @klass: The class structure for a #GObject derived class. 1257s # * @property_id_begin: The property id to assign to the first overridden property. 1257s # * 1257s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 1257s # * The properties are overridden in the order they are defined. 1257s # * 1257s # * Returns: The last property id. 1257s # */ 1257s # guint 1257s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1257s # { 1257s # return property_id_begin - 1; 1257s # } 1257s # 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_simple_signal ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # g_cclosure_marshal_VOID__VOID (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # inline static void 1257s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 1257s # GClosure *closure, 1257s # GValue *return_value, 1257s # unsigned int n_param_values, 1257s # const GValue *param_values, 1257s # void *invocation_hint, 1257s # void *marshal_data) 1257s # { 1257s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 1257s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1257s # } 1257s # 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface: 1257s # * 1257s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceIface: 1257s # * @parent_iface: The parent interface. 1257s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 1257s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 1257s # * 1257s # * Virtual table for the D-Bus interface org.project.SignalingIface. 1257s # */ 1257s # 1257s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 1257s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 1257s # 1257s # static void 1257s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # /* GObject signals for received D-Bus signals: */ 1257s # /** 1257s # * OrgProjectSignalingIface::simple-signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 1257s # g_signal_new ("simple-signal", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_simple_signal, 1257s # G_TYPE_NONE, 1257s # 0); 1257s # 1257s # /** 1257s # * OrgProjectSignalingIface::signal-with-many-args: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_b: Argument. 1257s # * @arg_an_y: Argument. 1257s # * @arg_an_n: Argument. 1257s # * @arg_an_q: Argument. 1257s # * @arg_an_i: Argument. 1257s # * @arg_an_u: Argument. 1257s # * @arg_an_x: Argument. 1257s # * @arg_an_t: Argument. 1257s # * @arg_an_d: Argument. 1257s # * @arg_an_s: Argument. 1257s # * @arg_an_o: Argument. 1257s # * @arg_an_g: Argument. 1257s # * @arg_an_h: Argument. 1257s # * @arg_an_ay: Argument. 1257s # * @arg_an_as: Argument. 1257s # * @arg_an_ao: Argument. 1257s # * @arg_an_aay: Argument. 1257s # * @arg_an_asv: Argument. 1257s # * 1257s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 1257s # * 1257s # * 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. 1257s # */ 1257s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 1257s # g_signal_new ("signal-with-many-args", 1257s # G_TYPE_FROM_INTERFACE (iface), 1257s # G_SIGNAL_RUN_LAST, 1257s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 1257s # NULL, 1257s # NULL, 1257s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 1257s # G_TYPE_NONE, 1257s # 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); 1257s # 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_simple_signal: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * 1257s # * Emits the "SimpleSignal" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_emit_signal_with_many_args: 1257s # * @object: A #OrgProjectSignalingIface. 1257s # * @arg_an_b: Argument to pass with the signal. 1257s # * @arg_an_y: Argument to pass with the signal. 1257s # * @arg_an_n: Argument to pass with the signal. 1257s # * @arg_an_q: Argument to pass with the signal. 1257s # * @arg_an_i: Argument to pass with the signal. 1257s # * @arg_an_u: Argument to pass with the signal. 1257s # * @arg_an_x: Argument to pass with the signal. 1257s # * @arg_an_t: Argument to pass with the signal. 1257s # * @arg_an_d: Argument to pass with the signal. 1257s # * @arg_an_s: Argument to pass with the signal. 1257s # * @arg_an_o: Argument to pass with the signal. 1257s # * @arg_an_g: Argument to pass with the signal. 1257s # * @arg_an_h: Argument to pass with the signal. 1257s # * @arg_an_ay: Argument to pass with the signal. 1257s # * @arg_an_as: Argument to pass with the signal. 1257s # * @arg_an_ao: Argument to pass with the signal. 1257s # * @arg_an_aay: Argument to pass with the signal. 1257s # * @arg_an_asv: Argument to pass with the signal. 1257s # * 1257s # * Emits the "SignalWithManyArgs" D-Bus signal. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_emit_signal_with_many_args ( 1257s # OrgProjectSignalingIface *object, 1257s # gboolean arg_an_b, 1257s # guchar arg_an_y, 1257s # gint16 arg_an_n, 1257s # guint16 arg_an_q, 1257s # gint arg_an_i, 1257s # guint arg_an_u, 1257s # gint64 arg_an_x, 1257s # guint64 arg_an_t, 1257s # gdouble arg_an_d, 1257s # const gchar *arg_an_s, 1257s # const gchar *arg_an_o, 1257s # const gchar *arg_an_g, 1257s # GVariant *arg_an_h, 1257s # const gchar *arg_an_ay, 1257s # const gchar *const *arg_an_as, 1257s # const gchar *const *arg_an_ao, 1257s # const gchar *const *arg_an_aay, 1257s # GVariant *arg_an_asv) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxy: 1257s # * 1257s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceProxyClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceProxy. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceProxyPrivate 1257s # { 1257s # GData *qdata; 1257s # }; 1257s # 1257s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_proxy_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 1257s # g_datalist_clear (&proxy->priv->qdata); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 1257s # guint prop_id G_GNUC_UNUSED, 1257s # const GValue *value G_GNUC_UNUSED, 1257s # GParamSpec *pspec G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 1257s # const gchar *sender_name G_GNUC_UNUSED, 1257s # const gchar *signal_name, 1257s # GVariant *parameters) 1257s # { 1257s # _ExtendedGDBusSignalInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # gsize n; 1257s # guint signal_id; 1257s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 1257s # if (info == NULL) 1257s # return; 1257s # num_params = g_variant_n_children (parameters); 1257s # paramv = g_new0 (GValue, num_params + 1); 1257s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[0], proxy); 1257s # g_variant_iter_init (&iter, parameters); 1257s # n = 1; 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_signal_emitv (paramv, signal_id, 0, NULL); 1257s # for (n = 0; n < num_params + 1; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 1257s # GVariant *changed_properties, 1257s # const gchar *const *invalidated_properties) 1257s # { 1257s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 1257s # guint n; 1257s # const gchar *key; 1257s # GVariantIter *iter; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # g_variant_get (changed_properties, "a{sv}", &iter); 1257s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 1257s # g_datalist_remove_data (&proxy->priv->qdata, key); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # g_variant_iter_free (iter); 1257s # for (n = 0; invalidated_properties[n] != NULL; n++) 1257s # { 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 1257s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1257s # if (info != NULL) 1257s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1257s # } 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 1257s # #else 1257s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 1257s # #endif 1257s # 1257s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusProxyClass *proxy_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 1257s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 1257s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 1257s # 1257s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1257s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 1257s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_sync: 1257s # * @connection: A #GDBusConnection. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_sync ( 1257s # GDBusConnection *connection, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1257s # * @user_data: User data to pass to @callback. 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1257s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1257s # */ 1257s # void 1257s # org_project_signaling_iface_proxy_new_for_bus ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GAsyncReadyCallback callback, 1257s # gpointer user_data) 1257s # { 1257s # 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); 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_finish: 1257s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_finish ( 1257s # GAsyncResult *res, 1257s # GError **error) 1257s # { 1257s # GObject *ret; 1257s # GObject *source_object; 1257s # source_object = g_async_result_get_source_object (res); 1257s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1257s # g_object_unref (source_object); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_proxy_new_for_bus_sync: 1257s # * @bus_type: A #GBusType. 1257s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1257s # * @name: A bus name (well-known or unique). 1257s # * @object_path: An object path. 1257s # * @cancellable: (nullable): A #GCancellable or %NULL. 1257s # * @error: Return location for error or %NULL 1257s # * 1257s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1257s # * 1257s # * The calling thread is blocked until a reply is received. 1257s # * 1257s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_proxy_new_for_bus_sync ( 1257s # GBusType bus_type, 1257s # GDBusProxyFlags flags, 1257s # const gchar *name, 1257s # const gchar *object_path, 1257s # GCancellable *cancellable, 1257s # GError **error) 1257s # { 1257s # GInitable *ret; 1257s # 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); 1257s # if (ret != NULL) 1257s # return ORG_PROJECT_SIGNALING_IFACE (ret); 1257s # else 1257s # return NULL; 1257s # } 1257s # 1257s # 1257s # /* ------------------------------------------------------------------------ */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeleton: 1257s # * 1257s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 1257s # */ 1257s # 1257s # /** 1257s # * OrgProjectSignalingIfaceSkeletonClass: 1257s # * @parent_class: The parent class. 1257s # * 1257s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 1257s # */ 1257s # 1257s # struct _OrgProjectSignalingIfaceSkeletonPrivate 1257s # { 1257s # GValue *properties; 1257s # GList *changed_properties; 1257s # GSource *changed_properties_idle_source; 1257s # GMainContext *context; 1257s # GMutex lock; 1257s # }; 1257s # 1257s # static void 1257s # _org_project_signaling_iface_skeleton_handle_method_call ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name, 1257s # const gchar *method_name, 1257s # GVariant *parameters, 1257s # GDBusMethodInvocation *invocation, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # _ExtendedGDBusMethodInfo *info; 1257s # GVariantIter iter; 1257s # GVariant *child; 1257s # GValue *paramv; 1257s # gsize num_params; 1257s # guint num_extra; 1257s # gsize n; 1257s # guint signal_id; 1257s # GValue return_value = G_VALUE_INIT; 1257s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1257s # g_assert (info != NULL); 1257s # num_params = g_variant_n_children (parameters); 1257s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1257s # n = 0; 1257s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_set_object (¶mv[n++], skeleton); 1257s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1257s # g_value_set_object (¶mv[n++], invocation); 1257s # if (info->pass_fdlist) 1257s # { 1257s # #ifdef G_OS_UNIX 1257s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1257s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1257s # #else 1257s # g_assert_not_reached (); 1257s # #endif 1257s # } 1257s # g_variant_iter_init (&iter, parameters); 1257s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1257s # { 1257s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1257s # if (arg_info->use_gvariant) 1257s # { 1257s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1257s # g_value_set_variant (¶mv[n], child); 1257s # n++; 1257s # } 1257s # else 1257s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1257s # g_variant_unref (child); 1257s # } 1257s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 1257s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1257s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1257s # if (!g_value_get_boolean (&return_value)) 1257s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1257s # g_value_unset (&return_value); 1257s # for (n = 0; n < num_params + num_extra; n++) 1257s # g_value_unset (¶mv[n]); 1257s # g_free (paramv); 1257s # } 1257s # 1257s # static GVariant * 1257s # _org_project_signaling_iface_skeleton_handle_get_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # GVariant *ret; 1257s # ret = NULL; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # g_value_init (&value, pspec->value_type); 1257s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1257s # g_value_unset (&value); 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static gboolean 1257s # _org_project_signaling_iface_skeleton_handle_set_property ( 1257s # GDBusConnection *connection G_GNUC_UNUSED, 1257s # const gchar *sender G_GNUC_UNUSED, 1257s # const gchar *object_path G_GNUC_UNUSED, 1257s # const gchar *interface_name G_GNUC_UNUSED, 1257s # const gchar *property_name, 1257s # GVariant *variant, 1257s # GError **error, 1257s # gpointer user_data) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 1257s # GValue value = G_VALUE_INIT; 1257s # GParamSpec *pspec; 1257s # _ExtendedGDBusPropertyInfo *info; 1257s # gboolean ret; 1257s # ret = FALSE; 1257s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 1257s # g_assert (info != NULL); 1257s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1257s # if (pspec == NULL) 1257s # { 1257s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1257s # } 1257s # else 1257s # { 1257s # if (info->use_gvariant) 1257s # g_value_set_variant (&value, variant); 1257s # else 1257s # g_dbus_gvariant_to_gvalue (variant, &value); 1257s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1257s # g_value_unset (&value); 1257s # ret = TRUE; 1257s # } 1257s # return ret; 1257s # } 1257s # 1257s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 1257s # { 1257s # _org_project_signaling_iface_skeleton_handle_method_call, 1257s # _org_project_signaling_iface_skeleton_handle_get_property, 1257s # _org_project_signaling_iface_skeleton_handle_set_property, 1257s # {NULL} 1257s # }; 1257s # 1257s # static GDBusInterfaceInfo * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return org_project_signaling_iface_interface_info (); 1257s # } 1257s # 1257s # static GDBusInterfaceVTable * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1257s # { 1257s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 1257s # } 1257s # 1257s # static GVariant * 1257s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 1257s # 1257s # GVariantBuilder builder; 1257s # guint n; 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1257s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #else 1257s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1257s # #endif 1257s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 1257s # goto out; 1257s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 1257s # { 1257s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 1257s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1257s # { 1257s # GVariant *value; 1257s # 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); 1257s # if (value != NULL) 1257s # { 1257s # g_variant_take_ref (value); 1257s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1257s # g_variant_unref (value); 1257s # } 1257s # } 1257s # } 1257s # out: 1257s # return g_variant_builder_end (&builder); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1257s # { 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_simple_signal ( 1257s # OrgProjectSignalingIface *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void 1257s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 1257s # OrgProjectSignalingIface *object, 1257s # gboolean arg_an_b, 1257s # guchar arg_an_y, 1257s # gint16 arg_an_n, 1257s # guint16 arg_an_q, 1257s # gint arg_an_i, 1257s # guint arg_an_u, 1257s # gint64 arg_an_x, 1257s # guint64 arg_an_t, 1257s # gdouble arg_an_d, 1257s # const gchar *arg_an_s, 1257s # const gchar *arg_an_o, 1257s # const gchar *arg_an_g, 1257s # GVariant *arg_an_h, 1257s # const gchar *arg_an_ay, 1257s # const gchar *const *arg_an_as, 1257s # const gchar *const *arg_an_ao, 1257s # const gchar *const *arg_an_aay, 1257s # GVariant *arg_an_asv) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # 1257s # GList *connections, *l; 1257s # GVariant *signal_variant; 1257s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1257s # 1257s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 1257s # arg_an_b, 1257s # arg_an_y, 1257s # arg_an_n, 1257s # arg_an_q, 1257s # arg_an_i, 1257s # arg_an_u, 1257s # arg_an_x, 1257s # arg_an_t, 1257s # arg_an_d, 1257s # arg_an_s, 1257s # arg_an_o, 1257s # arg_an_g, 1257s # arg_an_h, 1257s # arg_an_ay, 1257s # arg_an_as, 1257s # arg_an_ao, 1257s # arg_an_aay, 1257s # arg_an_asv)); 1257s # for (l = connections; l != NULL; l = l->next) 1257s # { 1257s # GDBusConnection *connection = l->data; 1257s # g_dbus_connection_emit_signal (connection, 1257s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 1257s # signal_variant, NULL); 1257s # } 1257s # g_variant_unref (signal_variant); 1257s # g_list_free_full (connections, g_object_unref); 1257s # } 1257s # 1257s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #else 1257s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1257s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 1257s # 1257s # #endif 1257s # static void 1257s # org_project_signaling_iface_skeleton_finalize (GObject *object) 1257s # { 1257s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 1257s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1257s # if (skeleton->priv->changed_properties_idle_source != NULL) 1257s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1257s # g_main_context_unref (skeleton->priv->context); 1257s # g_mutex_clear (&skeleton->priv->lock); 1257s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 1257s # { 1257s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1257s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 1257s # #else 1257s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 1257s # #endif 1257s # 1257s # g_mutex_init (&skeleton->priv->lock); 1257s # skeleton->priv->context = g_main_context_ref_thread_default (); 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 1257s # { 1257s # GObjectClass *gobject_class; 1257s # GDBusInterfaceSkeletonClass *skeleton_class; 1257s # 1257s # gobject_class = G_OBJECT_CLASS (klass); 1257s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 1257s # 1257s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1257s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 1257s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 1257s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 1257s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 1257s # 1257s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1257s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 1257s # #endif 1257s # } 1257s # 1257s # static void 1257s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 1257s # { 1257s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 1257s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 1257s # } 1257s # 1257s # /** 1257s # * org_project_signaling_iface_skeleton_new: 1257s # * 1257s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 1257s # * 1257s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 1257s # */ 1257s # OrgProjectSignalingIface * 1257s # org_project_signaling_iface_skeleton_new (void) 1257s # { 1257s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 1257s # } 1257s # Error: 1257s ok 25 __main__.TestCodegen.test_generate_valid_docbook 1257s # gdbus-codegen: /usr/bin/gdbus-codegen 1257s # tmpdir: /tmp/tmp8y4c_tsg 1257s # /tmp/tmp8y4c_tsg/tmpe3u_ec4h.xml: 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # 1257s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8y4c_tsg/tmpe3u_ec4h.xml', '--generate-docbook', 'test'] 1257s # Return code: 0 1257s # Output: 1257s # 1257s # Error: 1257s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 1257s # gdbus-codegen: /usr/bin/gdbus-codegen 1257s # tmpdir: /tmp/tmpuugl3lkf 1257s # /tmp/tmpuugl3lkf/tmpyrbhmcgm.xml: 1257s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpuugl3lkf/tmpyrbhmcgm.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 1257s # Return code: 1 1257s # Output: 1257s # 1257s # Error: 1257s # ERROR: Invalid versions: --glib-min-required ((2, 64)) must be less than or equal to --glib-max-allowed ((2, 62)) 1257s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 1257s # gdbus-codegen: /usr/bin/gdbus-codegen 1257s # tmpdir: /tmp/tmpc61ahhg1 1257s # /tmp/tmpc61ahhg1/tmps84nt7x4.xml: 1257s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpc61ahhg1/tmps84nt7x4.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 1257s # Return code: 0 1257s # Output: 1257s # /* 1257s # * This file is generated by gdbus-codegen, do not modify it. 1257s # * 1257s # * The license of this code is the same as for the D-Bus interface description 1257s # * it was derived from. Note that it links to GLib, so must comply with the 1257s # * LGPL linking clauses. 1257s # */ 1257s # 1257s # #ifndef __STDOUT__ 1257s # #define __STDOUT__ 1257s # 1257s # #include 1257s # 1257s # G_BEGIN_DECLS 1257s # 1257s # 1257s # G_END_DECLS 1257s # 1257s # #endif /* __STDOUT__ */ 1257s # Error: 1257s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 1257s # gdbus-codegen: /usr/bin/gdbus-codegen 1257s # tmpdir: /tmp/tmphjn409fx 1257s # /tmp/tmphjn409fx/tmpg_zf8e_9.xml: 1257s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphjn409fx/tmpg_zf8e_9.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 1257s # Return code: 1 1257s # Output: 1257s # 1257s # Error: 1257s # ERROR: Invalid versions: --glib-min-required ((2, 30)) must be less than or equal to --glib-max-allowed ((2, 6)) 1257s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 1257s # gdbus-codegen: /usr/bin/gdbus-codegen 1257s # tmpdir: /tmp/tmpebek4wvz 1257s # /tmp/tmpebek4wvz/tmpesv0v1ed.xml: 1257s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpebek4wvz/tmpesv0v1ed.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 1257s # Return code: 0 1257s # Output: 1257s # /* 1257s # * This file is generated by gdbus-codegen, do not modify it. 1257s # * 1257s # * The license of this code is the same as for the D-Bus interface description 1257s # * it was derived from. Note that it links to GLib, so must comply with the 1257s # * LGPL linking clauses. 1257s # */ 1257s # 1257s # #ifndef __STDOUT__ 1257s # #define __STDOUT__ 1257s # 1257s # #include 1257s # 1257s # G_BEGIN_DECLS 1257s # 1257s # 1257s # G_END_DECLS 1257s # 1257s # #endif /* __STDOUT__ */ 1257s # Error: 1257s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 1257s # gdbus-codegen: /usr/bin/gdbus-codegen 1257s # tmpdir: /tmp/tmpjisw4ziw 1257s # /tmp/tmpjisw4ziw/tmpnbkynkr4.xml: 1257s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjisw4ziw/tmpnbkynkr4.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 1257s # Return code: 0 1257s # Output: 1257s # /* 1257s # * This file is generated by gdbus-codegen, do not modify it. 1257s # * 1257s # * The license of this code is the same as for the D-Bus interface description 1257s # * it was derived from. Note that it links to GLib, so must comply with the 1257s # * LGPL linking clauses. 1257s # */ 1257s # 1257s # #ifndef __STDOUT__ 1257s # #define __STDOUT__ 1257s # 1257s # #include 1257s # 1257s # G_BEGIN_DECLS 1257s # 1257s # 1257s # G_END_DECLS 1257s # 1257s # #endif /* __STDOUT__ */ 1257s # Error: 1257s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 1257s # gdbus-codegen: /usr/bin/gdbus-codegen 1257s # tmpdir: /tmp/tmp2mzml1cm 1257s # /tmp/tmp2mzml1cm/tmpalbz63xs.xml: 1257s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2mzml1cm/tmpalbz63xs.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 1257s # Return code: 1 1257s # Output: 1257s # 1257s # Error: 1257s # ERROR: Unrecognized --glib-min-required string ‘hello mum’ 1257s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 1257s # gdbus-codegen: /usr/bin/gdbus-codegen 1257s # tmpdir: /tmp/tmpsaa47kti 1257s # /tmp/tmpsaa47kti/tmp6_wnr3mt.xml: 1257s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsaa47kti/tmp6_wnr3mt.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 1257s # Return code: 0 1257s # Output: 1257s # /* 1257s # * This file is generated by gdbus-codegen, do not modify it. 1257s # * 1257s # * The license of this code is the same as for the D-Bus interface description 1257s # * it was derived from. Note that it links to GLib, so must comply with the 1257s # * LGPL linking clauses. 1257s # */ 1257s # 1257s # #ifndef __STDOUT__ 1257s # #define __STDOUT__ 1257s # 1257s # #include 1257s # 1257s # G_BEGIN_DECLS 1257s # 1257s # 1257s # G_END_DECLS 1257s # 1257s # #endif /* __STDOUT__ */ 1257s # Error: 1257s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 1257s # gdbus-codegen: /usr/bin/gdbus-codegen 1257s # tmpdir: /tmp/tmpi6s5umbp 1257s # /tmp/tmpi6s5umbp/tmplsk9rt_8.xml: 1257s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi6s5umbp/tmplsk9rt_8.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 1257s # Return code: 1 1257s # Output: 1257s # 1257s # Error: 1257s # ERROR: Invalid --glib-min-required string ‘2.6’: minimum version is 2.30 1257s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 1257s # gdbus-codegen: /usr/bin/gdbus-codegen 1257s # tmpdir: /tmp/tmppfwqcqhp 1257s # /tmp/tmppfwqcqhp/tmp7p3zqtir.xml: 1257s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppfwqcqhp/tmp7p3zqtir.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 1257s # Return code: 0 1257s # Output: 1257s # /* 1257s # * This file is generated by gdbus-codegen, do not modify it. 1257s # * 1257s # * The license of this code is the same as for the D-Bus interface description 1257s # * it was derived from. Note that it links to GLib, so must comply with the 1257s # * LGPL linking clauses. 1257s # */ 1257s # 1257s # #ifndef __STDOUT__ 1257s # #define __STDOUT__ 1257s # 1257s # #include 1257s # 1257s # G_BEGIN_DECLS 1257s # 1257s # 1257s # G_END_DECLS 1257s # 1257s # #endif /* __STDOUT__ */ 1257s # Error: 1258s ok 35 __main__.TestCodegen.test_help 1258s # gdbus-codegen: /usr/bin/gdbus-codegen 1258s # tmpdir: /tmp/tmpsfqmbiah 1258s # Running: ['/usr/bin/gdbus-codegen', '--help'] 1258s # Return code: 0 1258s # Output: 1258s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1258s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1258s # [--c-generate-autocleanup {none,objects,all}] 1258s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1258s # [--generate-rst OUTFILES] [--pragma-once] 1258s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1258s # [--glib-min-required VERSION] 1258s # [--glib-max-allowed VERSION] 1258s # [--symbol-decorator SYMBOL_DECORATOR] 1258s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1258s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1258s # [--generate-c-code OUTFILES | --header | --body | 1258s # --interface-info-header | --interface-info-body] 1258s # [--output FILE | --output-directory OUTDIR] 1258s # FILE [FILE ...] 1258s # 1258s # D-Bus code and documentation generator 1258s # 1258s # positional arguments: 1258s # FILE D-Bus introspection XML file 1258s # 1258s # options: 1258s # -h, --help show this help message and exit 1258s # --interface-prefix PREFIX 1258s # String to strip from D-Bus interface names for code 1258s # and docs 1258s # --c-namespace NAMESPACE 1258s # The namespace to use for generated C code 1258s # --c-generate-object-manager 1258s # Generate a GDBusObjectManagerClient subclass when 1258s # generating C code 1258s # --c-generate-autocleanup {none,objects,all} 1258s # Generate autocleanup support 1258s # --generate-docbook OUTFILES 1258s # Generate Docbook in OUTFILES-org.Project.IFace.xml 1258s # --generate-md OUTFILES 1258s # Generate Markdown in OUTFILES-org.Project.IFace.md 1258s # --generate-rst OUTFILES 1258s # Generate reStructuredText in OUTFILES- 1258s # org.Project.IFace.rst 1258s # --pragma-once Use "pragma once" as the inclusion guard 1258s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1258s # Add annotation (may be used several times) 1258s # --glib-min-required VERSION 1258s # Minimum version of GLib to be supported by the 1258s # outputted code (default: 2.30) 1258s # --glib-max-allowed VERSION 1258s # Maximum version of GLib to be used by the outputted 1258s # code (default: current GLib version) 1258s # --symbol-decorator SYMBOL_DECORATOR 1258s # Macro used to decorate a symbol in the outputted 1258s # header, possibly to export symbols 1258s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1258s # Additional header required for decorator specified by 1258s # --symbol-decorator 1258s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1258s # Additional define required for decorator specified by 1258s # --symbol-decorator 1258s # --generate-c-code OUTFILES 1258s # Generate C code in OUTFILES.[ch] 1258s # --header Generate C headers 1258s # --body Generate C code 1258s # --interface-info-header 1258s # Generate GDBusInterfaceInfo C header 1258s # --interface-info-body 1258s # Generate GDBusInterfaceInfo C code 1258s # --output FILE Write output into the specified file 1258s # --output-directory OUTDIR 1258s # Location to output generated files 1258s # Error: 1258s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 1258s # gdbus-codegen: /usr/bin/gdbus-codegen 1258s # tmpdir: /tmp/tmppi8u92uy 1258s # /tmp/tmppi8u92uy/tmp7w3b_n9a.xml: 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppi8u92uy/tmp7w3b_n9a.xml', '--generate-rst', 'test'] 1258s # Return code: 0 1258s # Output: 1258s # 1258s # Error: 1258s # 1258s # /tmp/tmppi8u92uy/tmptt3t1b31.xml: 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppi8u92uy/tmptt3t1b31.xml', '--generate-md', 'test'] 1258s # Return code: 0 1258s # Output: 1258s # 1258s # Error: 1258s # 1258s # /tmp/tmppi8u92uy/tmpu9c7wih8.xml: 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppi8u92uy/tmpu9c7wih8.xml', '--generate-docbook', 'test'] 1258s # Return code: 0 1258s # Output: 1258s # 1258s # Error: 1258s ok 37 __main__.TestCodegen.test_no_args 1258s # gdbus-codegen: /usr/bin/gdbus-codegen 1258s # tmpdir: /tmp/tmpppbgf4ko 1258s # Running: ['/usr/bin/gdbus-codegen'] 1258s # Return code: 2 1258s # Output: 1258s # 1258s # Error: 1258s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1258s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 1258s # [--c-generate-autocleanup {none,objects,all}] 1258s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1258s # [--generate-rst OUTFILES] [--pragma-once] 1258s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1258s # [--glib-min-required VERSION] 1258s # [--glib-max-allowed VERSION] 1258s # [--symbol-decorator SYMBOL_DECORATOR] 1258s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1258s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1258s # [--generate-c-code OUTFILES | --header | --body | 1258s # --interface-info-header | --interface-info-body] 1258s # [--output FILE | --output-directory OUTDIR] 1258s # FILE [FILE ...] 1258s # gdbus-codegen: error: the following arguments are required: FILE 1258s ok 38 __main__.TestCodegen.test_reproducible 1258s # gdbus-codegen: /usr/bin/gdbus-codegen 1258s # tmpdir: /tmp/tmphwfphil_ 1258s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphwfphil_/tmpkn9w_5z51.xml', '/tmp/tmphwfphil_/tmp1zo06bil2.xml', '--output', '-', '--header'] 1258s # Return code: 0 1258s # Output: 1258s # /* 1258s # * This file is generated by gdbus-codegen, do not modify it. 1258s # * 1258s # * The license of this code is the same as for the D-Bus interface description 1258s # * it was derived from. Note that it links to GLib, so must comply with the 1258s # * LGPL linking clauses. 1258s # */ 1258s # 1258s # #ifndef __STDOUT__ 1258s # #define __STDOUT__ 1258s # 1258s # #include 1258s # 1258s # G_BEGIN_DECLS 1258s # 1258s # 1258s # /* ------------------------------------------------------------------------ */ 1258s # /* Declarations for org.project.Bar.Frobnicator */ 1258s # 1258s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1258s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1258s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1258s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1258s # 1258s # struct _OrgProjectBarFrobnicator; 1258s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1258s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1258s # 1258s # struct _OrgProjectBarFrobnicatorIface 1258s # { 1258s # GTypeInterface parent_iface; 1258s # 1258s # gboolean (*handle_random_method) ( 1258s # OrgProjectBarFrobnicator *object, 1258s # GDBusMethodInvocation *invocation); 1258s # 1258s # }; 1258s # 1258s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1258s # 1258s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1258s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1258s # 1258s # 1258s # /* D-Bus method call completion functions: */ 1258s # void org_project_bar_frobnicator_complete_random_method ( 1258s # OrgProjectBarFrobnicator *object, 1258s # GDBusMethodInvocation *invocation); 1258s # 1258s # 1258s # 1258s # /* D-Bus method calls: */ 1258s # void org_project_bar_frobnicator_call_random_method ( 1258s # OrgProjectBarFrobnicator *proxy, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data); 1258s # 1258s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1258s # OrgProjectBarFrobnicator *proxy, 1258s # GAsyncResult *res, 1258s # GError **error); 1258s # 1258s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1258s # OrgProjectBarFrobnicator *proxy, 1258s # GCancellable *cancellable, 1258s # GError **error); 1258s # 1258s # 1258s # 1258s # /* ---- */ 1258s # 1258s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1258s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1258s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1258s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1258s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1258s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1258s # 1258s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1258s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1258s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1258s # 1258s # struct _OrgProjectBarFrobnicatorProxy 1258s # { 1258s # /*< private >*/ 1258s # GDBusProxy parent_instance; 1258s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1258s # }; 1258s # 1258s # struct _OrgProjectBarFrobnicatorProxyClass 1258s # { 1258s # GDBusProxyClass parent_class; 1258s # }; 1258s # 1258s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1258s # 1258s # #if GLIB_CHECK_VERSION(2, 44, 0) 1258s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1258s # #endif 1258s # 1258s # void org_project_bar_frobnicator_proxy_new ( 1258s # GDBusConnection *connection, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data); 1258s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1258s # GAsyncResult *res, 1258s # GError **error); 1258s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1258s # GDBusConnection *connection, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GError **error); 1258s # 1258s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1258s # GBusType bus_type, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data); 1258s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1258s # GAsyncResult *res, 1258s # GError **error); 1258s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1258s # GBusType bus_type, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GError **error); 1258s # 1258s # 1258s # /* ---- */ 1258s # 1258s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1258s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1258s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1258s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1258s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1258s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1258s # 1258s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1258s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1258s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1258s # 1258s # struct _OrgProjectBarFrobnicatorSkeleton 1258s # { 1258s # /*< private >*/ 1258s # GDBusInterfaceSkeleton parent_instance; 1258s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1258s # }; 1258s # 1258s # struct _OrgProjectBarFrobnicatorSkeletonClass 1258s # { 1258s # GDBusInterfaceSkeletonClass parent_class; 1258s # }; 1258s # 1258s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1258s # 1258s # #if GLIB_CHECK_VERSION(2, 44, 0) 1258s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1258s # #endif 1258s # 1258s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1258s # 1258s # 1258s # /* ------------------------------------------------------------------------ */ 1258s # /* Declarations for com.acme.Coyote */ 1258s # 1258s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1258s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1258s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1258s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1258s # 1258s # struct _ComAcmeCoyote; 1258s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1258s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1258s # 1258s # struct _ComAcmeCoyoteIface 1258s # { 1258s # GTypeInterface parent_iface; 1258s # 1258s # 1258s # 1258s # gboolean (*handle_attack) ( 1258s # ComAcmeCoyote *object, 1258s # GDBusMethodInvocation *invocation); 1258s # 1258s # gboolean (*handle_run) ( 1258s # ComAcmeCoyote *object, 1258s # GDBusMethodInvocation *invocation); 1258s # 1258s # gboolean (*handle_sleep) ( 1258s # ComAcmeCoyote *object, 1258s # GDBusMethodInvocation *invocation); 1258s # 1258s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1258s # 1258s # void (*surprised) ( 1258s # ComAcmeCoyote *object); 1258s # 1258s # }; 1258s # 1258s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1258s # 1258s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1258s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1258s # 1258s # 1258s # /* D-Bus method call completion functions: */ 1258s # void com_acme_coyote_complete_run ( 1258s # ComAcmeCoyote *object, 1258s # GDBusMethodInvocation *invocation); 1258s # 1258s # void com_acme_coyote_complete_sleep ( 1258s # ComAcmeCoyote *object, 1258s # GDBusMethodInvocation *invocation); 1258s # 1258s # void com_acme_coyote_complete_attack ( 1258s # ComAcmeCoyote *object, 1258s # GDBusMethodInvocation *invocation); 1258s # 1258s # 1258s # 1258s # /* D-Bus signal emissions functions: */ 1258s # void com_acme_coyote_emit_surprised ( 1258s # ComAcmeCoyote *object); 1258s # 1258s # 1258s # 1258s # /* D-Bus method calls: */ 1258s # void com_acme_coyote_call_run ( 1258s # ComAcmeCoyote *proxy, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data); 1258s # 1258s # gboolean com_acme_coyote_call_run_finish ( 1258s # ComAcmeCoyote *proxy, 1258s # GAsyncResult *res, 1258s # GError **error); 1258s # 1258s # gboolean com_acme_coyote_call_run_sync ( 1258s # ComAcmeCoyote *proxy, 1258s # GCancellable *cancellable, 1258s # GError **error); 1258s # 1258s # void com_acme_coyote_call_sleep ( 1258s # ComAcmeCoyote *proxy, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data); 1258s # 1258s # gboolean com_acme_coyote_call_sleep_finish ( 1258s # ComAcmeCoyote *proxy, 1258s # GAsyncResult *res, 1258s # GError **error); 1258s # 1258s # gboolean com_acme_coyote_call_sleep_sync ( 1258s # ComAcmeCoyote *proxy, 1258s # GCancellable *cancellable, 1258s # GError **error); 1258s # 1258s # void com_acme_coyote_call_attack ( 1258s # ComAcmeCoyote *proxy, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data); 1258s # 1258s # gboolean com_acme_coyote_call_attack_finish ( 1258s # ComAcmeCoyote *proxy, 1258s # GAsyncResult *res, 1258s # GError **error); 1258s # 1258s # gboolean com_acme_coyote_call_attack_sync ( 1258s # ComAcmeCoyote *proxy, 1258s # GCancellable *cancellable, 1258s # GError **error); 1258s # 1258s # 1258s # 1258s # /* D-Bus property accessors: */ 1258s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1258s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1258s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1258s # 1258s # 1258s # /* ---- */ 1258s # 1258s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1258s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1258s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1258s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1258s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1258s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1258s # 1258s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1258s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1258s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1258s # 1258s # struct _ComAcmeCoyoteProxy 1258s # { 1258s # /*< private >*/ 1258s # GDBusProxy parent_instance; 1258s # ComAcmeCoyoteProxyPrivate *priv; 1258s # }; 1258s # 1258s # struct _ComAcmeCoyoteProxyClass 1258s # { 1258s # GDBusProxyClass parent_class; 1258s # }; 1258s # 1258s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1258s # 1258s # #if GLIB_CHECK_VERSION(2, 44, 0) 1258s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1258s # #endif 1258s # 1258s # void com_acme_coyote_proxy_new ( 1258s # GDBusConnection *connection, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data); 1258s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1258s # GAsyncResult *res, 1258s # GError **error); 1258s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1258s # GDBusConnection *connection, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GError **error); 1258s # 1258s # void com_acme_coyote_proxy_new_for_bus ( 1258s # GBusType bus_type, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data); 1258s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1258s # GAsyncResult *res, 1258s # GError **error); 1258s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1258s # GBusType bus_type, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GError **error); 1258s # 1258s # 1258s # /* ---- */ 1258s # 1258s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1258s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1258s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1258s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1258s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1258s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1258s # 1258s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1258s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1258s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1258s # 1258s # struct _ComAcmeCoyoteSkeleton 1258s # { 1258s # /*< private >*/ 1258s # GDBusInterfaceSkeleton parent_instance; 1258s # ComAcmeCoyoteSkeletonPrivate *priv; 1258s # }; 1258s # 1258s # struct _ComAcmeCoyoteSkeletonClass 1258s # { 1258s # GDBusInterfaceSkeletonClass parent_class; 1258s # }; 1258s # 1258s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1258s # 1258s # #if GLIB_CHECK_VERSION(2, 44, 0) 1258s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1258s # #endif 1258s # 1258s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1258s # 1258s # 1258s # G_END_DECLS 1258s # 1258s # #endif /* __STDOUT__ */ 1258s # Error: 1258s # 1258s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphwfphil_/tmp1zo06bil2.xml', '/tmp/tmphwfphil_/tmpkn9w_5z51.xml', '--output', '-', '--header'] 1258s # Return code: 0 1258s # Output: 1258s # /* 1258s # * This file is generated by gdbus-codegen, do not modify it. 1258s # * 1258s # * The license of this code is the same as for the D-Bus interface description 1258s # * it was derived from. Note that it links to GLib, so must comply with the 1258s # * LGPL linking clauses. 1258s # */ 1258s # 1258s # #ifndef __STDOUT__ 1258s # #define __STDOUT__ 1258s # 1258s # #include 1258s # 1258s # G_BEGIN_DECLS 1258s # 1258s # 1258s # /* ------------------------------------------------------------------------ */ 1258s # /* Declarations for org.project.Bar.Frobnicator */ 1258s # 1258s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 1258s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 1258s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 1258s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 1258s # 1258s # struct _OrgProjectBarFrobnicator; 1258s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 1258s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 1258s # 1258s # struct _OrgProjectBarFrobnicatorIface 1258s # { 1258s # GTypeInterface parent_iface; 1258s # 1258s # gboolean (*handle_random_method) ( 1258s # OrgProjectBarFrobnicator *object, 1258s # GDBusMethodInvocation *invocation); 1258s # 1258s # }; 1258s # 1258s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 1258s # 1258s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 1258s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 1258s # 1258s # 1258s # /* D-Bus method call completion functions: */ 1258s # void org_project_bar_frobnicator_complete_random_method ( 1258s # OrgProjectBarFrobnicator *object, 1258s # GDBusMethodInvocation *invocation); 1258s # 1258s # 1258s # 1258s # /* D-Bus method calls: */ 1258s # void org_project_bar_frobnicator_call_random_method ( 1258s # OrgProjectBarFrobnicator *proxy, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data); 1258s # 1258s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 1258s # OrgProjectBarFrobnicator *proxy, 1258s # GAsyncResult *res, 1258s # GError **error); 1258s # 1258s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 1258s # OrgProjectBarFrobnicator *proxy, 1258s # GCancellable *cancellable, 1258s # GError **error); 1258s # 1258s # 1258s # 1258s # /* ---- */ 1258s # 1258s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 1258s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 1258s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1258s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 1258s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1258s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 1258s # 1258s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 1258s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 1258s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 1258s # 1258s # struct _OrgProjectBarFrobnicatorProxy 1258s # { 1258s # /*< private >*/ 1258s # GDBusProxy parent_instance; 1258s # OrgProjectBarFrobnicatorProxyPrivate *priv; 1258s # }; 1258s # 1258s # struct _OrgProjectBarFrobnicatorProxyClass 1258s # { 1258s # GDBusProxyClass parent_class; 1258s # }; 1258s # 1258s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 1258s # 1258s # #if GLIB_CHECK_VERSION(2, 44, 0) 1258s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 1258s # #endif 1258s # 1258s # void org_project_bar_frobnicator_proxy_new ( 1258s # GDBusConnection *connection, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data); 1258s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 1258s # GAsyncResult *res, 1258s # GError **error); 1258s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 1258s # GDBusConnection *connection, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GError **error); 1258s # 1258s # void org_project_bar_frobnicator_proxy_new_for_bus ( 1258s # GBusType bus_type, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data); 1258s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1258s # GAsyncResult *res, 1258s # GError **error); 1258s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1258s # GBusType bus_type, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GError **error); 1258s # 1258s # 1258s # /* ---- */ 1258s # 1258s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 1258s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 1258s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1258s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 1258s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1258s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 1258s # 1258s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 1258s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 1258s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 1258s # 1258s # struct _OrgProjectBarFrobnicatorSkeleton 1258s # { 1258s # /*< private >*/ 1258s # GDBusInterfaceSkeleton parent_instance; 1258s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 1258s # }; 1258s # 1258s # struct _OrgProjectBarFrobnicatorSkeletonClass 1258s # { 1258s # GDBusInterfaceSkeletonClass parent_class; 1258s # }; 1258s # 1258s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 1258s # 1258s # #if GLIB_CHECK_VERSION(2, 44, 0) 1258s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 1258s # #endif 1258s # 1258s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 1258s # 1258s # 1258s # /* ------------------------------------------------------------------------ */ 1258s # /* Declarations for com.acme.Coyote */ 1258s # 1258s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 1258s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 1258s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 1258s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 1258s # 1258s # struct _ComAcmeCoyote; 1258s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 1258s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 1258s # 1258s # struct _ComAcmeCoyoteIface 1258s # { 1258s # GTypeInterface parent_iface; 1258s # 1258s # 1258s # 1258s # gboolean (*handle_attack) ( 1258s # ComAcmeCoyote *object, 1258s # GDBusMethodInvocation *invocation); 1258s # 1258s # gboolean (*handle_run) ( 1258s # ComAcmeCoyote *object, 1258s # GDBusMethodInvocation *invocation); 1258s # 1258s # gboolean (*handle_sleep) ( 1258s # ComAcmeCoyote *object, 1258s # GDBusMethodInvocation *invocation); 1258s # 1258s # const gchar * (*get_mood) (ComAcmeCoyote *object); 1258s # 1258s # void (*surprised) ( 1258s # ComAcmeCoyote *object); 1258s # 1258s # }; 1258s # 1258s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 1258s # 1258s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 1258s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 1258s # 1258s # 1258s # /* D-Bus method call completion functions: */ 1258s # void com_acme_coyote_complete_run ( 1258s # ComAcmeCoyote *object, 1258s # GDBusMethodInvocation *invocation); 1258s # 1258s # void com_acme_coyote_complete_sleep ( 1258s # ComAcmeCoyote *object, 1258s # GDBusMethodInvocation *invocation); 1258s # 1258s # void com_acme_coyote_complete_attack ( 1258s # ComAcmeCoyote *object, 1258s # GDBusMethodInvocation *invocation); 1258s # 1258s # 1258s # 1258s # /* D-Bus signal emissions functions: */ 1258s # void com_acme_coyote_emit_surprised ( 1258s # ComAcmeCoyote *object); 1258s # 1258s # 1258s # 1258s # /* D-Bus method calls: */ 1258s # void com_acme_coyote_call_run ( 1258s # ComAcmeCoyote *proxy, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data); 1258s # 1258s # gboolean com_acme_coyote_call_run_finish ( 1258s # ComAcmeCoyote *proxy, 1258s # GAsyncResult *res, 1258s # GError **error); 1258s # 1258s # gboolean com_acme_coyote_call_run_sync ( 1258s # ComAcmeCoyote *proxy, 1258s # GCancellable *cancellable, 1258s # GError **error); 1258s # 1258s # void com_acme_coyote_call_sleep ( 1258s # ComAcmeCoyote *proxy, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data); 1258s # 1258s # gboolean com_acme_coyote_call_sleep_finish ( 1258s # ComAcmeCoyote *proxy, 1258s # GAsyncResult *res, 1258s # GError **error); 1258s # 1258s # gboolean com_acme_coyote_call_sleep_sync ( 1258s # ComAcmeCoyote *proxy, 1258s # GCancellable *cancellable, 1258s # GError **error); 1258s # 1258s # void com_acme_coyote_call_attack ( 1258s # ComAcmeCoyote *proxy, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data); 1258s # 1258s # gboolean com_acme_coyote_call_attack_finish ( 1258s # ComAcmeCoyote *proxy, 1258s # GAsyncResult *res, 1258s # GError **error); 1258s # 1258s # gboolean com_acme_coyote_call_attack_sync ( 1258s # ComAcmeCoyote *proxy, 1258s # GCancellable *cancellable, 1258s # GError **error); 1258s # 1258s # 1258s # 1258s # /* D-Bus property accessors: */ 1258s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 1258s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 1258s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 1258s # 1258s # 1258s # /* ---- */ 1258s # 1258s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 1258s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 1258s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1258s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 1258s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 1258s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 1258s # 1258s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 1258s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 1258s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 1258s # 1258s # struct _ComAcmeCoyoteProxy 1258s # { 1258s # /*< private >*/ 1258s # GDBusProxy parent_instance; 1258s # ComAcmeCoyoteProxyPrivate *priv; 1258s # }; 1258s # 1258s # struct _ComAcmeCoyoteProxyClass 1258s # { 1258s # GDBusProxyClass parent_class; 1258s # }; 1258s # 1258s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 1258s # 1258s # #if GLIB_CHECK_VERSION(2, 44, 0) 1258s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 1258s # #endif 1258s # 1258s # void com_acme_coyote_proxy_new ( 1258s # GDBusConnection *connection, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data); 1258s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 1258s # GAsyncResult *res, 1258s # GError **error); 1258s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 1258s # GDBusConnection *connection, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GError **error); 1258s # 1258s # void com_acme_coyote_proxy_new_for_bus ( 1258s # GBusType bus_type, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data); 1258s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 1258s # GAsyncResult *res, 1258s # GError **error); 1258s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 1258s # GBusType bus_type, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GError **error); 1258s # 1258s # 1258s # /* ---- */ 1258s # 1258s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 1258s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 1258s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1258s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 1258s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 1258s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 1258s # 1258s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 1258s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 1258s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 1258s # 1258s # struct _ComAcmeCoyoteSkeleton 1258s # { 1258s # /*< private >*/ 1258s # GDBusInterfaceSkeleton parent_instance; 1258s # ComAcmeCoyoteSkeletonPrivate *priv; 1258s # }; 1258s # 1258s # struct _ComAcmeCoyoteSkeletonClass 1258s # { 1258s # GDBusInterfaceSkeletonClass parent_class; 1258s # }; 1258s # 1258s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 1258s # 1258s # #if GLIB_CHECK_VERSION(2, 44, 0) 1258s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 1258s # #endif 1258s # 1258s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 1258s # 1258s # 1258s # G_END_DECLS 1258s # 1258s # #endif /* __STDOUT__ */ 1258s # Error: 1258s # 1258s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphwfphil_/tmpkn9w_5z51.xml', '/tmp/tmphwfphil_/tmp1zo06bil2.xml', '--output', '-', '--body'] 1258s # Return code: 0 1258s # Output: 1258s # /* 1258s # * This file is generated by gdbus-codegen, do not modify it. 1258s # * 1258s # * The license of this code is the same as for the D-Bus interface description 1258s # * it was derived from. Note that it links to GLib, so must comply with the 1258s # * LGPL linking clauses. 1258s # */ 1258s # 1258s # #ifdef HAVE_CONFIG_H 1258s # # include "config.h" 1258s # #endif 1258s # 1258s # #include 1258s # #ifdef G_OS_UNIX 1258s # # include 1258s # #endif 1258s # 1258s # #ifdef G_ENABLE_DEBUG 1258s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1258s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1258s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1258s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1258s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1258s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1258s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1258s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1258s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1258s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1258s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1258s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1258s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1258s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1258s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1258s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1258s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1258s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1258s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1258s # #else /* !G_ENABLE_DEBUG */ 1258s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1258s # * Do not access GValues directly in your code. Instead, use the 1258s # * g_value_get_*() functions 1258s # */ 1258s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1258s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1258s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1258s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1258s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1258s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1258s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1258s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1258s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1258s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1258s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1258s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1258s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1258s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1258s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1258s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1258s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1258s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1258s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1258s # #endif /* !G_ENABLE_DEBUG */ 1258s # 1258s # typedef struct 1258s # { 1258s # GDBusArgInfo parent_struct; 1258s # gboolean use_gvariant; 1258s # } _ExtendedGDBusArgInfo; 1258s # 1258s # typedef struct 1258s # { 1258s # GDBusMethodInfo parent_struct; 1258s # const gchar *signal_name; 1258s # gboolean pass_fdlist; 1258s # } _ExtendedGDBusMethodInfo; 1258s # 1258s # typedef struct 1258s # { 1258s # GDBusSignalInfo parent_struct; 1258s # const gchar *signal_name; 1258s # } _ExtendedGDBusSignalInfo; 1258s # 1258s # typedef struct 1258s # { 1258s # GDBusPropertyInfo parent_struct; 1258s # const gchar *hyphen_name; 1258s # guint use_gvariant : 1; 1258s # guint emits_changed_signal : 1; 1258s # } _ExtendedGDBusPropertyInfo; 1258s # 1258s # typedef struct 1258s # { 1258s # GDBusInterfaceInfo parent_struct; 1258s # const gchar *hyphen_name; 1258s # } _ExtendedGDBusInterfaceInfo; 1258s # 1258s # typedef struct 1258s # { 1258s # const _ExtendedGDBusPropertyInfo *info; 1258s # guint prop_id; 1258s # GValue orig_value; /* the value before the change */ 1258s # } ChangedProperty; 1258s # 1258s # static void 1258s # _changed_property_free (ChangedProperty *data) 1258s # { 1258s # g_value_unset (&data->orig_value); 1258s # g_free (data); 1258s # } 1258s # 1258s # static gboolean 1258s # _g_strv_equal0 (gchar **a, gchar **b) 1258s # { 1258s # gboolean ret = FALSE; 1258s # guint n; 1258s # if (a == NULL && b == NULL) 1258s # { 1258s # ret = TRUE; 1258s # goto out; 1258s # } 1258s # if (a == NULL || b == NULL) 1258s # goto out; 1258s # if (g_strv_length (a) != g_strv_length (b)) 1258s # goto out; 1258s # for (n = 0; a[n] != NULL; n++) 1258s # if (g_strcmp0 (a[n], b[n]) != 0) 1258s # goto out; 1258s # ret = TRUE; 1258s # out: 1258s # return ret; 1258s # } 1258s # 1258s # static gboolean 1258s # _g_variant_equal0 (GVariant *a, GVariant *b) 1258s # { 1258s # gboolean ret = FALSE; 1258s # if (a == NULL && b == NULL) 1258s # { 1258s # ret = TRUE; 1258s # goto out; 1258s # } 1258s # if (a == NULL || b == NULL) 1258s # goto out; 1258s # ret = g_variant_equal (a, b); 1258s # out: 1258s # return ret; 1258s # } 1258s # 1258s # G_GNUC_UNUSED static gboolean 1258s # _g_value_equal (const GValue *a, const GValue *b) 1258s # { 1258s # gboolean ret = FALSE; 1258s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1258s # switch (G_VALUE_TYPE (a)) 1258s # { 1258s # case G_TYPE_BOOLEAN: 1258s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1258s # break; 1258s # case G_TYPE_UCHAR: 1258s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1258s # break; 1258s # case G_TYPE_INT: 1258s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1258s # break; 1258s # case G_TYPE_UINT: 1258s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1258s # break; 1258s # case G_TYPE_INT64: 1258s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1258s # break; 1258s # case G_TYPE_UINT64: 1258s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1258s # break; 1258s # case G_TYPE_DOUBLE: 1258s # { 1258s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1258s # gdouble da = g_value_get_double (a); 1258s # gdouble db = g_value_get_double (b); 1258s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1258s # } 1258s # break; 1258s # case G_TYPE_STRING: 1258s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1258s # break; 1258s # case G_TYPE_VARIANT: 1258s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1258s # break; 1258s # default: 1258s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1258s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1258s # else 1258s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1258s # break; 1258s # } 1258s # return ret; 1258s # } 1258s # 1258s # static void 1258s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1258s # GClosure *closure, 1258s # GValue *return_value, 1258s # unsigned int n_param_values, 1258s # const GValue *param_values, 1258s # void *invocation_hint G_GNUC_UNUSED, 1258s # void *marshal_data) 1258s # { 1258s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1258s # (void *data1, 1258s # GDBusMethodInvocation *arg_method_invocation, 1258s # void *data2); 1258s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1258s # GCClosure *cc = (GCClosure*) closure; 1258s # void *data1, *data2; 1258s # gboolean v_return; 1258s # 1258s # g_return_if_fail (return_value != NULL); 1258s # g_return_if_fail (n_param_values == 2); 1258s # 1258s # if (G_CCLOSURE_SWAP_DATA (closure)) 1258s # { 1258s # data1 = closure->data; 1258s # data2 = g_value_peek_pointer (param_values + 0); 1258s # } 1258s # else 1258s # { 1258s # data1 = g_value_peek_pointer (param_values + 0); 1258s # data2 = closure->data; 1258s # } 1258s # 1258s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1258s # (marshal_data ? marshal_data : cc->callback); 1258s # 1258s # v_return = 1258s # callback (data1, 1258s # g_marshal_value_peek_object (param_values + 1), 1258s # data2); 1258s # 1258s # g_value_set_boolean (return_value, v_return); 1258s # } 1258s # 1258s # /* ------------------------------------------------------------------------ 1258s # * Code for interface org.project.Bar.Frobnicator 1258s # * ------------------------------------------------------------------------ 1258s # */ 1258s # 1258s # /** 1258s # * SECTION:OrgProjectBarFrobnicator 1258s # * @title: OrgProjectBarFrobnicator 1258s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1258s # * 1258s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1258s # */ 1258s # 1258s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1258s # 1258s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1258s # { 1258s # { 1258s # -1, 1258s # (gchar *) "RandomMethod", 1258s # NULL, 1258s # NULL, 1258s # NULL 1258s # }, 1258s # "handle-random-method", 1258s # FALSE 1258s # }; 1258s # 1258s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1258s # { 1258s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1258s # NULL 1258s # }; 1258s # 1258s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1258s # { 1258s # { 1258s # -1, 1258s # (gchar *) "org.project.Bar.Frobnicator", 1258s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1258s # NULL, 1258s # NULL, 1258s # NULL 1258s # }, 1258s # "org-project-bar-frobnicator", 1258s # }; 1258s # 1258s # 1258s # /** 1258s # * org_project_bar_frobnicator_interface_info: 1258s # * 1258s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1258s # * 1258s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1258s # */ 1258s # GDBusInterfaceInfo * 1258s # org_project_bar_frobnicator_interface_info (void) 1258s # { 1258s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1258s # } 1258s # 1258s # /** 1258s # * org_project_bar_frobnicator_override_properties: 1258s # * @klass: The class structure for a #GObject derived class. 1258s # * @property_id_begin: The property id to assign to the first overridden property. 1258s # * 1258s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1258s # * The properties are overridden in the order they are defined. 1258s # * 1258s # * Returns: The last property id. 1258s # */ 1258s # guint 1258s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1258s # { 1258s # return property_id_begin - 1; 1258s # } 1258s # 1258s # 1258s # inline static void 1258s # org_project_bar_frobnicator_method_marshal_random_method ( 1258s # GClosure *closure, 1258s # GValue *return_value, 1258s # unsigned int n_param_values, 1258s # const GValue *param_values, 1258s # void *invocation_hint, 1258s # void *marshal_data) 1258s # { 1258s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1258s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1258s # } 1258s # 1258s # 1258s # /** 1258s # * OrgProjectBarFrobnicator: 1258s # * 1258s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1258s # */ 1258s # 1258s # /** 1258s # * OrgProjectBarFrobnicatorIface: 1258s # * @parent_iface: The parent interface. 1258s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1258s # * 1258s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1258s # */ 1258s # 1258s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1258s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1258s # 1258s # static void 1258s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1258s # { 1258s # /* GObject signals for incoming D-Bus method calls: */ 1258s # /** 1258s # * OrgProjectBarFrobnicator::handle-random-method: 1258s # * @object: A #OrgProjectBarFrobnicator. 1258s # * @invocation: A #GDBusMethodInvocation. 1258s # * 1258s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1258s # * 1258s # * 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. 1258s # * 1258s # * 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. 1258s # */ 1258s # g_signal_new ("handle-random-method", 1258s # G_TYPE_FROM_INTERFACE (iface), 1258s # G_SIGNAL_RUN_LAST, 1258s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1258s # g_signal_accumulator_true_handled, 1258s # NULL, 1258s # org_project_bar_frobnicator_method_marshal_random_method, 1258s # G_TYPE_BOOLEAN, 1258s # 1, 1258s # G_TYPE_DBUS_METHOD_INVOCATION); 1258s # 1258s # } 1258s # 1258s # /** 1258s # * org_project_bar_frobnicator_call_random_method: 1258s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1258s # * @cancellable: (nullable): A #GCancellable or %NULL. 1258s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1258s # * @user_data: User data to pass to @callback. 1258s # * 1258s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1258s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1258s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1258s # * 1258s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1258s # */ 1258s # void 1258s # org_project_bar_frobnicator_call_random_method ( 1258s # OrgProjectBarFrobnicator *proxy, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data) 1258s # { 1258s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1258s # "RandomMethod", 1258s # g_variant_new ("()"), 1258s # G_DBUS_CALL_FLAGS_NONE, 1258s # -1, 1258s # cancellable, 1258s # callback, 1258s # user_data); 1258s # } 1258s # 1258s # /** 1258s # * org_project_bar_frobnicator_call_random_method_finish: 1258s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1258s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1258s # * @error: Return location for error or %NULL. 1258s # * 1258s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1258s # * 1258s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1258s # */ 1258s # gboolean 1258s # org_project_bar_frobnicator_call_random_method_finish ( 1258s # OrgProjectBarFrobnicator *proxy, 1258s # GAsyncResult *res, 1258s # GError **error) 1258s # { 1258s # GVariant *_ret; 1258s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1258s # if (_ret == NULL) 1258s # goto _out; 1258s # g_variant_get (_ret, 1258s # "()"); 1258s # g_variant_unref (_ret); 1258s # _out: 1258s # return _ret != NULL; 1258s # } 1258s # 1258s # /** 1258s # * org_project_bar_frobnicator_call_random_method_sync: 1258s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1258s # * @cancellable: (nullable): A #GCancellable or %NULL. 1258s # * @error: Return location for error or %NULL. 1258s # * 1258s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1258s # * 1258s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1258s # * 1258s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1258s # */ 1258s # gboolean 1258s # org_project_bar_frobnicator_call_random_method_sync ( 1258s # OrgProjectBarFrobnicator *proxy, 1258s # GCancellable *cancellable, 1258s # GError **error) 1258s # { 1258s # GVariant *_ret; 1258s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1258s # "RandomMethod", 1258s # g_variant_new ("()"), 1258s # G_DBUS_CALL_FLAGS_NONE, 1258s # -1, 1258s # cancellable, 1258s # error); 1258s # if (_ret == NULL) 1258s # goto _out; 1258s # g_variant_get (_ret, 1258s # "()"); 1258s # g_variant_unref (_ret); 1258s # _out: 1258s # return _ret != NULL; 1258s # } 1258s # 1258s # /** 1258s # * org_project_bar_frobnicator_complete_random_method: 1258s # * @object: A #OrgProjectBarFrobnicator. 1258s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1258s # * 1258s # * 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. 1258s # * 1258s # * This method will free @invocation, you cannot use it afterwards. 1258s # */ 1258s # void 1258s # org_project_bar_frobnicator_complete_random_method ( 1258s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1258s # GDBusMethodInvocation *invocation) 1258s # { 1258s # g_dbus_method_invocation_return_value (invocation, 1258s # g_variant_new ("()")); 1258s # } 1258s # 1258s # /* ------------------------------------------------------------------------ */ 1258s # 1258s # /** 1258s # * OrgProjectBarFrobnicatorProxy: 1258s # * 1258s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1258s # */ 1258s # 1258s # /** 1258s # * OrgProjectBarFrobnicatorProxyClass: 1258s # * @parent_class: The parent class. 1258s # * 1258s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1258s # */ 1258s # 1258s # struct _OrgProjectBarFrobnicatorProxyPrivate 1258s # { 1258s # GData *qdata; 1258s # }; 1258s # 1258s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1258s # 1258s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1258s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1258s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1258s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1258s # 1258s # #else 1258s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1258s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1258s # 1258s # #endif 1258s # static void 1258s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1258s # { 1258s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1258s # g_datalist_clear (&proxy->priv->qdata); 1258s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1258s # } 1258s # 1258s # static void 1258s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1258s # guint prop_id G_GNUC_UNUSED, 1258s # GValue *value G_GNUC_UNUSED, 1258s # GParamSpec *pspec G_GNUC_UNUSED) 1258s # { 1258s # } 1258s # 1258s # static void 1258s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1258s # guint prop_id G_GNUC_UNUSED, 1258s # const GValue *value G_GNUC_UNUSED, 1258s # GParamSpec *pspec G_GNUC_UNUSED) 1258s # { 1258s # } 1258s # 1258s # static void 1258s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1258s # const gchar *sender_name G_GNUC_UNUSED, 1258s # const gchar *signal_name, 1258s # GVariant *parameters) 1258s # { 1258s # _ExtendedGDBusSignalInfo *info; 1258s # GVariantIter iter; 1258s # GVariant *child; 1258s # GValue *paramv; 1258s # gsize num_params; 1258s # gsize n; 1258s # guint signal_id; 1258s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1258s # if (info == NULL) 1258s # return; 1258s # num_params = g_variant_n_children (parameters); 1258s # paramv = g_new0 (GValue, num_params + 1); 1258s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1258s # g_value_set_object (¶mv[0], proxy); 1258s # g_variant_iter_init (&iter, parameters); 1258s # n = 1; 1258s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1258s # { 1258s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1258s # if (arg_info->use_gvariant) 1258s # { 1258s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1258s # g_value_set_variant (¶mv[n], child); 1258s # n++; 1258s # } 1258s # else 1258s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1258s # g_variant_unref (child); 1258s # } 1258s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1258s # g_signal_emitv (paramv, signal_id, 0, NULL); 1258s # for (n = 0; n < num_params + 1; n++) 1258s # g_value_unset (¶mv[n]); 1258s # g_free (paramv); 1258s # } 1258s # 1258s # static void 1258s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1258s # GVariant *changed_properties, 1258s # const gchar *const *invalidated_properties) 1258s # { 1258s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1258s # guint n; 1258s # const gchar *key; 1258s # GVariantIter *iter; 1258s # _ExtendedGDBusPropertyInfo *info; 1258s # g_variant_get (changed_properties, "a{sv}", &iter); 1258s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1258s # { 1258s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1258s # g_datalist_remove_data (&proxy->priv->qdata, key); 1258s # if (info != NULL) 1258s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1258s # } 1258s # g_variant_iter_free (iter); 1258s # for (n = 0; invalidated_properties[n] != NULL; n++) 1258s # { 1258s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1258s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1258s # if (info != NULL) 1258s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1258s # } 1258s # } 1258s # 1258s # static void 1258s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1258s # { 1258s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1258s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1258s # #else 1258s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1258s # #endif 1258s # 1258s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1258s # } 1258s # 1258s # static void 1258s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1258s # { 1258s # GObjectClass *gobject_class; 1258s # GDBusProxyClass *proxy_class; 1258s # 1258s # gobject_class = G_OBJECT_CLASS (klass); 1258s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1258s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1258s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1258s # 1258s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1258s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1258s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1258s # 1258s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1258s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1258s # #endif 1258s # } 1258s # 1258s # static void 1258s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1258s # { 1258s # } 1258s # 1258s # /** 1258s # * org_project_bar_frobnicator_proxy_new: 1258s # * @connection: A #GDBusConnection. 1258s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1258s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1258s # * @object_path: An object path. 1258s # * @cancellable: (nullable): A #GCancellable or %NULL. 1258s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1258s # * @user_data: User data to pass to @callback. 1258s # * 1258s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1258s # * 1258s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1258s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1258s # * 1258s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1258s # */ 1258s # void 1258s # org_project_bar_frobnicator_proxy_new ( 1258s # GDBusConnection *connection, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data) 1258s # { 1258s # 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); 1258s # } 1258s # 1258s # /** 1258s # * org_project_bar_frobnicator_proxy_new_finish: 1258s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1258s # * @error: Return location for error or %NULL 1258s # * 1258s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1258s # * 1258s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1258s # */ 1258s # OrgProjectBarFrobnicator * 1258s # org_project_bar_frobnicator_proxy_new_finish ( 1258s # GAsyncResult *res, 1258s # GError **error) 1258s # { 1258s # GObject *ret; 1258s # GObject *source_object; 1258s # source_object = g_async_result_get_source_object (res); 1258s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1258s # g_object_unref (source_object); 1258s # if (ret != NULL) 1258s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1258s # else 1258s # return NULL; 1258s # } 1258s # 1258s # /** 1258s # * org_project_bar_frobnicator_proxy_new_sync: 1258s # * @connection: A #GDBusConnection. 1258s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1258s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1258s # * @object_path: An object path. 1258s # * @cancellable: (nullable): A #GCancellable or %NULL. 1258s # * @error: Return location for error or %NULL 1258s # * 1258s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1258s # * 1258s # * The calling thread is blocked until a reply is received. 1258s # * 1258s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1258s # * 1258s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1258s # */ 1258s # OrgProjectBarFrobnicator * 1258s # org_project_bar_frobnicator_proxy_new_sync ( 1258s # GDBusConnection *connection, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GError **error) 1258s # { 1258s # GInitable *ret; 1258s # 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); 1258s # if (ret != NULL) 1258s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1258s # else 1258s # return NULL; 1258s # } 1258s # 1258s # 1258s # /** 1258s # * org_project_bar_frobnicator_proxy_new_for_bus: 1258s # * @bus_type: A #GBusType. 1258s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1258s # * @name: A bus name (well-known or unique). 1258s # * @object_path: An object path. 1258s # * @cancellable: (nullable): A #GCancellable or %NULL. 1258s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1258s # * @user_data: User data to pass to @callback. 1258s # * 1258s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1258s # * 1258s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1258s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1258s # * 1258s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1258s # */ 1258s # void 1258s # org_project_bar_frobnicator_proxy_new_for_bus ( 1258s # GBusType bus_type, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data) 1258s # { 1258s # 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); 1258s # } 1258s # 1258s # /** 1258s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1258s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1258s # * @error: Return location for error or %NULL 1258s # * 1258s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1258s # * 1258s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1258s # */ 1258s # OrgProjectBarFrobnicator * 1258s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1258s # GAsyncResult *res, 1258s # GError **error) 1258s # { 1258s # GObject *ret; 1258s # GObject *source_object; 1258s # source_object = g_async_result_get_source_object (res); 1258s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1258s # g_object_unref (source_object); 1258s # if (ret != NULL) 1258s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1258s # else 1258s # return NULL; 1258s # } 1258s # 1258s # /** 1258s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1258s # * @bus_type: A #GBusType. 1258s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1258s # * @name: A bus name (well-known or unique). 1258s # * @object_path: An object path. 1258s # * @cancellable: (nullable): A #GCancellable or %NULL. 1258s # * @error: Return location for error or %NULL 1258s # * 1258s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1258s # * 1258s # * The calling thread is blocked until a reply is received. 1258s # * 1258s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1258s # * 1258s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1258s # */ 1258s # OrgProjectBarFrobnicator * 1258s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1258s # GBusType bus_type, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GError **error) 1258s # { 1258s # GInitable *ret; 1258s # 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); 1258s # if (ret != NULL) 1258s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1258s # else 1258s # return NULL; 1258s # } 1258s # 1258s # 1258s # /* ------------------------------------------------------------------------ */ 1258s # 1258s # /** 1258s # * OrgProjectBarFrobnicatorSkeleton: 1258s # * 1258s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1258s # */ 1258s # 1258s # /** 1258s # * OrgProjectBarFrobnicatorSkeletonClass: 1258s # * @parent_class: The parent class. 1258s # * 1258s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1258s # */ 1258s # 1258s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1258s # { 1258s # GValue *properties; 1258s # GList *changed_properties; 1258s # GSource *changed_properties_idle_source; 1258s # GMainContext *context; 1258s # GMutex lock; 1258s # }; 1258s # 1258s # static void 1258s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1258s # GDBusConnection *connection G_GNUC_UNUSED, 1258s # const gchar *sender G_GNUC_UNUSED, 1258s # const gchar *object_path G_GNUC_UNUSED, 1258s # const gchar *interface_name, 1258s # const gchar *method_name, 1258s # GVariant *parameters, 1258s # GDBusMethodInvocation *invocation, 1258s # gpointer user_data) 1258s # { 1258s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1258s # _ExtendedGDBusMethodInfo *info; 1258s # GVariantIter iter; 1258s # GVariant *child; 1258s # GValue *paramv; 1258s # gsize num_params; 1258s # guint num_extra; 1258s # gsize n; 1258s # guint signal_id; 1258s # GValue return_value = G_VALUE_INIT; 1258s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1258s # g_assert (info != NULL); 1258s # num_params = g_variant_n_children (parameters); 1258s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1258s # n = 0; 1258s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1258s # g_value_set_object (¶mv[n++], skeleton); 1258s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1258s # g_value_set_object (¶mv[n++], invocation); 1258s # if (info->pass_fdlist) 1258s # { 1258s # #ifdef G_OS_UNIX 1258s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1258s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1258s # #else 1258s # g_assert_not_reached (); 1258s # #endif 1258s # } 1258s # g_variant_iter_init (&iter, parameters); 1258s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1258s # { 1258s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1258s # if (arg_info->use_gvariant) 1258s # { 1258s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1258s # g_value_set_variant (¶mv[n], child); 1258s # n++; 1258s # } 1258s # else 1258s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1258s # g_variant_unref (child); 1258s # } 1258s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1258s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1258s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1258s # if (!g_value_get_boolean (&return_value)) 1258s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1258s # g_value_unset (&return_value); 1258s # for (n = 0; n < num_params + num_extra; n++) 1258s # g_value_unset (¶mv[n]); 1258s # g_free (paramv); 1258s # } 1258s # 1258s # static GVariant * 1258s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1258s # GDBusConnection *connection G_GNUC_UNUSED, 1258s # const gchar *sender G_GNUC_UNUSED, 1258s # const gchar *object_path G_GNUC_UNUSED, 1258s # const gchar *interface_name G_GNUC_UNUSED, 1258s # const gchar *property_name, 1258s # GError **error, 1258s # gpointer user_data) 1258s # { 1258s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1258s # GValue value = G_VALUE_INIT; 1258s # GParamSpec *pspec; 1258s # _ExtendedGDBusPropertyInfo *info; 1258s # GVariant *ret; 1258s # ret = NULL; 1258s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1258s # g_assert (info != NULL); 1258s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1258s # if (pspec == NULL) 1258s # { 1258s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1258s # } 1258s # else 1258s # { 1258s # g_value_init (&value, pspec->value_type); 1258s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1258s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1258s # g_value_unset (&value); 1258s # } 1258s # return ret; 1258s # } 1258s # 1258s # static gboolean 1258s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1258s # GDBusConnection *connection G_GNUC_UNUSED, 1258s # const gchar *sender G_GNUC_UNUSED, 1258s # const gchar *object_path G_GNUC_UNUSED, 1258s # const gchar *interface_name G_GNUC_UNUSED, 1258s # const gchar *property_name, 1258s # GVariant *variant, 1258s # GError **error, 1258s # gpointer user_data) 1258s # { 1258s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1258s # GValue value = G_VALUE_INIT; 1258s # GParamSpec *pspec; 1258s # _ExtendedGDBusPropertyInfo *info; 1258s # gboolean ret; 1258s # ret = FALSE; 1258s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1258s # g_assert (info != NULL); 1258s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1258s # if (pspec == NULL) 1258s # { 1258s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1258s # } 1258s # else 1258s # { 1258s # if (info->use_gvariant) 1258s # g_value_set_variant (&value, variant); 1258s # else 1258s # g_dbus_gvariant_to_gvalue (variant, &value); 1258s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1258s # g_value_unset (&value); 1258s # ret = TRUE; 1258s # } 1258s # return ret; 1258s # } 1258s # 1258s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1258s # { 1258s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1258s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1258s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1258s # {NULL} 1258s # }; 1258s # 1258s # static GDBusInterfaceInfo * 1258s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1258s # { 1258s # return org_project_bar_frobnicator_interface_info (); 1258s # } 1258s # 1258s # static GDBusInterfaceVTable * 1258s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1258s # { 1258s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1258s # } 1258s # 1258s # static GVariant * 1258s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1258s # { 1258s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1258s # 1258s # GVariantBuilder builder; 1258s # guint n; 1258s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1258s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1258s # #else 1258s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1258s # #endif 1258s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1258s # goto out; 1258s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1258s # { 1258s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1258s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1258s # { 1258s # GVariant *value; 1258s # 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); 1258s # if (value != NULL) 1258s # { 1258s # g_variant_take_ref (value); 1258s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1258s # g_variant_unref (value); 1258s # } 1258s # } 1258s # } 1258s # out: 1258s # return g_variant_builder_end (&builder); 1258s # } 1258s # 1258s # static void 1258s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1258s # { 1258s # } 1258s # 1258s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1258s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1258s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1258s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1258s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1258s # 1258s # #else 1258s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1258s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1258s # 1258s # #endif 1258s # static void 1258s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1258s # { 1258s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1258s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1258s # if (skeleton->priv->changed_properties_idle_source != NULL) 1258s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1258s # g_main_context_unref (skeleton->priv->context); 1258s # g_mutex_clear (&skeleton->priv->lock); 1258s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1258s # } 1258s # 1258s # static void 1258s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1258s # { 1258s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1258s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1258s # #else 1258s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1258s # #endif 1258s # 1258s # g_mutex_init (&skeleton->priv->lock); 1258s # skeleton->priv->context = g_main_context_ref_thread_default (); 1258s # } 1258s # 1258s # static void 1258s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1258s # { 1258s # GObjectClass *gobject_class; 1258s # GDBusInterfaceSkeletonClass *skeleton_class; 1258s # 1258s # gobject_class = G_OBJECT_CLASS (klass); 1258s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1258s # 1258s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1258s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1258s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1258s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1258s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1258s # 1258s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1258s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1258s # #endif 1258s # } 1258s # 1258s # static void 1258s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1258s # { 1258s # } 1258s # 1258s # /** 1258s # * org_project_bar_frobnicator_skeleton_new: 1258s # * 1258s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1258s # * 1258s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1258s # */ 1258s # OrgProjectBarFrobnicator * 1258s # org_project_bar_frobnicator_skeleton_new (void) 1258s # { 1258s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1258s # } 1258s # 1258s # /* ------------------------------------------------------------------------ 1258s # * Code for interface com.acme.Coyote 1258s # * ------------------------------------------------------------------------ 1258s # */ 1258s # 1258s # /** 1258s # * SECTION:ComAcmeCoyote 1258s # * @title: ComAcmeCoyote 1258s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1258s # * 1258s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1258s # */ 1258s # 1258s # enum 1258s # { 1258s # _COM_ACME_COYOTE_SURPRISED, 1258s # }; 1258s # 1258s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1258s # 1258s # /* ---- Introspection data for com.acme.Coyote ---- */ 1258s # 1258s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1258s # { 1258s # { 1258s # -1, 1258s # (gchar *) "Run", 1258s # NULL, 1258s # NULL, 1258s # NULL 1258s # }, 1258s # "handle-run", 1258s # FALSE 1258s # }; 1258s # 1258s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1258s # { 1258s # { 1258s # -1, 1258s # (gchar *) "Sleep", 1258s # NULL, 1258s # NULL, 1258s # NULL 1258s # }, 1258s # "handle-sleep", 1258s # FALSE 1258s # }; 1258s # 1258s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1258s # { 1258s # { 1258s # -1, 1258s # (gchar *) "Attack", 1258s # NULL, 1258s # NULL, 1258s # NULL 1258s # }, 1258s # "handle-attack", 1258s # FALSE 1258s # }; 1258s # 1258s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1258s # { 1258s # &_com_acme_coyote_method_info_run.parent_struct, 1258s # &_com_acme_coyote_method_info_sleep.parent_struct, 1258s # &_com_acme_coyote_method_info_attack.parent_struct, 1258s # NULL 1258s # }; 1258s # 1258s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1258s # { 1258s # { 1258s # -1, 1258s # (gchar *) "Surprised", 1258s # NULL, 1258s # NULL 1258s # }, 1258s # "surprised" 1258s # }; 1258s # 1258s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1258s # { 1258s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1258s # NULL 1258s # }; 1258s # 1258s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1258s # { 1258s # { 1258s # -1, 1258s # (gchar *) "Mood", 1258s # (gchar *) "s", 1258s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1258s # NULL 1258s # }, 1258s # "mood", 1258s # FALSE, 1258s # TRUE 1258s # }; 1258s # 1258s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1258s # { 1258s # &_com_acme_coyote_property_info_mood.parent_struct, 1258s # NULL 1258s # }; 1258s # 1258s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1258s # { 1258s # { 1258s # -1, 1258s # (gchar *) "com.acme.Coyote", 1258s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1258s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1258s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1258s # NULL 1258s # }, 1258s # "com-acme-coyote", 1258s # }; 1258s # 1258s # 1258s # /** 1258s # * com_acme_coyote_interface_info: 1258s # * 1258s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1258s # * 1258s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1258s # */ 1258s # GDBusInterfaceInfo * 1258s # com_acme_coyote_interface_info (void) 1258s # { 1258s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_override_properties: 1258s # * @klass: The class structure for a #GObject derived class. 1258s # * @property_id_begin: The property id to assign to the first overridden property. 1258s # * 1258s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1258s # * The properties are overridden in the order they are defined. 1258s # * 1258s # * Returns: The last property id. 1258s # */ 1258s # guint 1258s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1258s # { 1258s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1258s # return property_id_begin - 1; 1258s # } 1258s # 1258s # 1258s # inline static void 1258s # com_acme_coyote_signal_marshal_surprised ( 1258s # GClosure *closure, 1258s # GValue *return_value, 1258s # unsigned int n_param_values, 1258s # const GValue *param_values, 1258s # void *invocation_hint, 1258s # void *marshal_data) 1258s # { 1258s # g_cclosure_marshal_VOID__VOID (closure, 1258s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1258s # } 1258s # 1258s # inline static void 1258s # com_acme_coyote_method_marshal_run ( 1258s # GClosure *closure, 1258s # GValue *return_value, 1258s # unsigned int n_param_values, 1258s # const GValue *param_values, 1258s # void *invocation_hint, 1258s # void *marshal_data) 1258s # { 1258s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1258s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1258s # } 1258s # 1258s # inline static void 1258s # com_acme_coyote_method_marshal_sleep ( 1258s # GClosure *closure, 1258s # GValue *return_value, 1258s # unsigned int n_param_values, 1258s # const GValue *param_values, 1258s # void *invocation_hint, 1258s # void *marshal_data) 1258s # { 1258s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1258s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1258s # } 1258s # 1258s # inline static void 1258s # com_acme_coyote_method_marshal_attack ( 1258s # GClosure *closure, 1258s # GValue *return_value, 1258s # unsigned int n_param_values, 1258s # const GValue *param_values, 1258s # void *invocation_hint, 1258s # void *marshal_data) 1258s # { 1258s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1258s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1258s # } 1258s # 1258s # 1258s # /** 1258s # * ComAcmeCoyote: 1258s # * 1258s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1258s # */ 1258s # 1258s # /** 1258s # * ComAcmeCoyoteIface: 1258s # * @parent_iface: The parent interface. 1258s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1258s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1258s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1258s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1258s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1258s # * 1258s # * Virtual table for the D-Bus interface com.acme.Coyote. 1258s # */ 1258s # 1258s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1258s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1258s # 1258s # static void 1258s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1258s # { 1258s # /* GObject signals for incoming D-Bus method calls: */ 1258s # /** 1258s # * ComAcmeCoyote::handle-run: 1258s # * @object: A #ComAcmeCoyote. 1258s # * @invocation: A #GDBusMethodInvocation. 1258s # * 1258s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1258s # * 1258s # * 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. 1258s # * 1258s # * 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. 1258s # */ 1258s # g_signal_new ("handle-run", 1258s # G_TYPE_FROM_INTERFACE (iface), 1258s # G_SIGNAL_RUN_LAST, 1258s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1258s # g_signal_accumulator_true_handled, 1258s # NULL, 1258s # com_acme_coyote_method_marshal_run, 1258s # G_TYPE_BOOLEAN, 1258s # 1, 1258s # G_TYPE_DBUS_METHOD_INVOCATION); 1258s # 1258s # /** 1258s # * ComAcmeCoyote::handle-sleep: 1258s # * @object: A #ComAcmeCoyote. 1258s # * @invocation: A #GDBusMethodInvocation. 1258s # * 1258s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1258s # * 1258s # * 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. 1258s # * 1258s # * 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. 1258s # */ 1258s # g_signal_new ("handle-sleep", 1258s # G_TYPE_FROM_INTERFACE (iface), 1258s # G_SIGNAL_RUN_LAST, 1258s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1258s # g_signal_accumulator_true_handled, 1258s # NULL, 1258s # com_acme_coyote_method_marshal_sleep, 1258s # G_TYPE_BOOLEAN, 1258s # 1, 1258s # G_TYPE_DBUS_METHOD_INVOCATION); 1258s # 1258s # /** 1258s # * ComAcmeCoyote::handle-attack: 1258s # * @object: A #ComAcmeCoyote. 1258s # * @invocation: A #GDBusMethodInvocation. 1258s # * 1258s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1258s # * 1258s # * 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. 1258s # * 1258s # * 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. 1258s # */ 1258s # g_signal_new ("handle-attack", 1258s # G_TYPE_FROM_INTERFACE (iface), 1258s # G_SIGNAL_RUN_LAST, 1258s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1258s # g_signal_accumulator_true_handled, 1258s # NULL, 1258s # com_acme_coyote_method_marshal_attack, 1258s # G_TYPE_BOOLEAN, 1258s # 1, 1258s # G_TYPE_DBUS_METHOD_INVOCATION); 1258s # 1258s # /* GObject signals for received D-Bus signals: */ 1258s # /** 1258s # * ComAcmeCoyote::surprised: 1258s # * @object: A #ComAcmeCoyote. 1258s # * 1258s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1258s # * 1258s # * 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. 1258s # */ 1258s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1258s # g_signal_new ("surprised", 1258s # G_TYPE_FROM_INTERFACE (iface), 1258s # G_SIGNAL_RUN_LAST, 1258s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1258s # NULL, 1258s # NULL, 1258s # com_acme_coyote_signal_marshal_surprised, 1258s # G_TYPE_NONE, 1258s # 0); 1258s # 1258s # /* GObject properties for D-Bus properties: */ 1258s # /** 1258s # * ComAcmeCoyote:mood: 1258s # * 1258s # * Represents the D-Bus property "Mood". 1258s # * 1258s # * 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. 1258s # */ 1258s # g_object_interface_install_property (iface, 1258s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_get_mood: (skip) 1258s # * @object: A #ComAcmeCoyote. 1258s # * 1258s # * Gets the value of the "Mood" D-Bus property. 1258s # * 1258s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1258s # * 1258s # * 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. 1258s # * 1258s # * 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. 1258s # */ 1258s # const gchar * 1258s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1258s # { 1258s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1258s # 1258s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_dup_mood: (skip) 1258s # * @object: A #ComAcmeCoyote. 1258s # * 1258s # * Gets a copy of the "Mood" D-Bus property. 1258s # * 1258s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1258s # * 1258s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1258s # */ 1258s # gchar * 1258s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1258s # { 1258s # gchar *value; 1258s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1258s # return value; 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_set_mood: (skip) 1258s # * @object: A #ComAcmeCoyote. 1258s # * @value: The value to set. 1258s # * 1258s # * Sets the "Mood" D-Bus property to @value. 1258s # * 1258s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1258s # */ 1258s # void 1258s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1258s # { 1258s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_emit_surprised: 1258s # * @object: A #ComAcmeCoyote. 1258s # * 1258s # * Emits the "Surprised" D-Bus signal. 1258s # */ 1258s # void 1258s # com_acme_coyote_emit_surprised ( 1258s # ComAcmeCoyote *object) 1258s # { 1258s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_call_run: 1258s # * @proxy: A #ComAcmeCoyoteProxy. 1258s # * @cancellable: (nullable): A #GCancellable or %NULL. 1258s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1258s # * @user_data: User data to pass to @callback. 1258s # * 1258s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1258s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1258s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1258s # * 1258s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1258s # */ 1258s # void 1258s # com_acme_coyote_call_run ( 1258s # ComAcmeCoyote *proxy, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data) 1258s # { 1258s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1258s # "Run", 1258s # g_variant_new ("()"), 1258s # G_DBUS_CALL_FLAGS_NONE, 1258s # -1, 1258s # cancellable, 1258s # callback, 1258s # user_data); 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_call_run_finish: 1258s # * @proxy: A #ComAcmeCoyoteProxy. 1258s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1258s # * @error: Return location for error or %NULL. 1258s # * 1258s # * Finishes an operation started with com_acme_coyote_call_run(). 1258s # * 1258s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1258s # */ 1258s # gboolean 1258s # com_acme_coyote_call_run_finish ( 1258s # ComAcmeCoyote *proxy, 1258s # GAsyncResult *res, 1258s # GError **error) 1258s # { 1258s # GVariant *_ret; 1258s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1258s # if (_ret == NULL) 1258s # goto _out; 1258s # g_variant_get (_ret, 1258s # "()"); 1258s # g_variant_unref (_ret); 1258s # _out: 1258s # return _ret != NULL; 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_call_run_sync: 1258s # * @proxy: A #ComAcmeCoyoteProxy. 1258s # * @cancellable: (nullable): A #GCancellable or %NULL. 1258s # * @error: Return location for error or %NULL. 1258s # * 1258s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1258s # * 1258s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1258s # * 1258s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1258s # */ 1258s # gboolean 1258s # com_acme_coyote_call_run_sync ( 1258s # ComAcmeCoyote *proxy, 1258s # GCancellable *cancellable, 1258s # GError **error) 1258s # { 1258s # GVariant *_ret; 1258s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1258s # "Run", 1258s # g_variant_new ("()"), 1258s # G_DBUS_CALL_FLAGS_NONE, 1258s # -1, 1258s # cancellable, 1258s # error); 1258s # if (_ret == NULL) 1258s # goto _out; 1258s # g_variant_get (_ret, 1258s # "()"); 1258s # g_variant_unref (_ret); 1258s # _out: 1258s # return _ret != NULL; 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_call_sleep: 1258s # * @proxy: A #ComAcmeCoyoteProxy. 1258s # * @cancellable: (nullable): A #GCancellable or %NULL. 1258s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1258s # * @user_data: User data to pass to @callback. 1258s # * 1258s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1258s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1258s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1258s # * 1258s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1258s # */ 1258s # void 1258s # com_acme_coyote_call_sleep ( 1258s # ComAcmeCoyote *proxy, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data) 1258s # { 1258s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1258s # "Sleep", 1258s # g_variant_new ("()"), 1258s # G_DBUS_CALL_FLAGS_NONE, 1258s # -1, 1258s # cancellable, 1258s # callback, 1258s # user_data); 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_call_sleep_finish: 1258s # * @proxy: A #ComAcmeCoyoteProxy. 1258s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1258s # * @error: Return location for error or %NULL. 1258s # * 1258s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1258s # * 1258s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1258s # */ 1258s # gboolean 1258s # com_acme_coyote_call_sleep_finish ( 1258s # ComAcmeCoyote *proxy, 1258s # GAsyncResult *res, 1258s # GError **error) 1258s # { 1258s # GVariant *_ret; 1258s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1258s # if (_ret == NULL) 1258s # goto _out; 1258s # g_variant_get (_ret, 1258s # "()"); 1258s # g_variant_unref (_ret); 1258s # _out: 1258s # return _ret != NULL; 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_call_sleep_sync: 1258s # * @proxy: A #ComAcmeCoyoteProxy. 1258s # * @cancellable: (nullable): A #GCancellable or %NULL. 1258s # * @error: Return location for error or %NULL. 1258s # * 1258s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1258s # * 1258s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1258s # * 1258s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1258s # */ 1258s # gboolean 1258s # com_acme_coyote_call_sleep_sync ( 1258s # ComAcmeCoyote *proxy, 1258s # GCancellable *cancellable, 1258s # GError **error) 1258s # { 1258s # GVariant *_ret; 1258s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1258s # "Sleep", 1258s # g_variant_new ("()"), 1258s # G_DBUS_CALL_FLAGS_NONE, 1258s # -1, 1258s # cancellable, 1258s # error); 1258s # if (_ret == NULL) 1258s # goto _out; 1258s # g_variant_get (_ret, 1258s # "()"); 1258s # g_variant_unref (_ret); 1258s # _out: 1258s # return _ret != NULL; 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_call_attack: 1258s # * @proxy: A #ComAcmeCoyoteProxy. 1258s # * @cancellable: (nullable): A #GCancellable or %NULL. 1258s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1258s # * @user_data: User data to pass to @callback. 1258s # * 1258s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1258s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1258s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1258s # * 1258s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1258s # */ 1258s # void 1258s # com_acme_coyote_call_attack ( 1258s # ComAcmeCoyote *proxy, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data) 1258s # { 1258s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1258s # "Attack", 1258s # g_variant_new ("()"), 1258s # G_DBUS_CALL_FLAGS_NONE, 1258s # -1, 1258s # cancellable, 1258s # callback, 1258s # user_data); 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_call_attack_finish: 1258s # * @proxy: A #ComAcmeCoyoteProxy. 1258s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1258s # * @error: Return location for error or %NULL. 1258s # * 1258s # * Finishes an operation started with com_acme_coyote_call_attack(). 1258s # * 1258s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1258s # */ 1258s # gboolean 1258s # com_acme_coyote_call_attack_finish ( 1258s # ComAcmeCoyote *proxy, 1258s # GAsyncResult *res, 1258s # GError **error) 1258s # { 1258s # GVariant *_ret; 1258s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1258s # if (_ret == NULL) 1258s # goto _out; 1258s # g_variant_get (_ret, 1258s # "()"); 1258s # g_variant_unref (_ret); 1258s # _out: 1258s # return _ret != NULL; 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_call_attack_sync: 1258s # * @proxy: A #ComAcmeCoyoteProxy. 1258s # * @cancellable: (nullable): A #GCancellable or %NULL. 1258s # * @error: Return location for error or %NULL. 1258s # * 1258s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1258s # * 1258s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1258s # * 1258s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1258s # */ 1258s # gboolean 1258s # com_acme_coyote_call_attack_sync ( 1258s # ComAcmeCoyote *proxy, 1258s # GCancellable *cancellable, 1258s # GError **error) 1258s # { 1258s # GVariant *_ret; 1258s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1258s # "Attack", 1258s # g_variant_new ("()"), 1258s # G_DBUS_CALL_FLAGS_NONE, 1258s # -1, 1258s # cancellable, 1258s # error); 1258s # if (_ret == NULL) 1258s # goto _out; 1258s # g_variant_get (_ret, 1258s # "()"); 1258s # g_variant_unref (_ret); 1258s # _out: 1258s # return _ret != NULL; 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_complete_run: 1258s # * @object: A #ComAcmeCoyote. 1258s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1258s # * 1258s # * 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. 1258s # * 1258s # * This method will free @invocation, you cannot use it afterwards. 1258s # */ 1258s # void 1258s # com_acme_coyote_complete_run ( 1258s # ComAcmeCoyote *object G_GNUC_UNUSED, 1258s # GDBusMethodInvocation *invocation) 1258s # { 1258s # g_dbus_method_invocation_return_value (invocation, 1258s # g_variant_new ("()")); 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_complete_sleep: 1258s # * @object: A #ComAcmeCoyote. 1258s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1258s # * 1258s # * 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. 1258s # * 1258s # * This method will free @invocation, you cannot use it afterwards. 1258s # */ 1258s # void 1258s # com_acme_coyote_complete_sleep ( 1258s # ComAcmeCoyote *object G_GNUC_UNUSED, 1258s # GDBusMethodInvocation *invocation) 1258s # { 1258s # g_dbus_method_invocation_return_value (invocation, 1258s # g_variant_new ("()")); 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_complete_attack: 1258s # * @object: A #ComAcmeCoyote. 1258s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1258s # * 1258s # * 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. 1258s # * 1258s # * This method will free @invocation, you cannot use it afterwards. 1258s # */ 1258s # void 1258s # com_acme_coyote_complete_attack ( 1258s # ComAcmeCoyote *object G_GNUC_UNUSED, 1258s # GDBusMethodInvocation *invocation) 1258s # { 1258s # g_dbus_method_invocation_return_value (invocation, 1258s # g_variant_new ("()")); 1258s # } 1258s # 1258s # /* ------------------------------------------------------------------------ */ 1258s # 1258s # /** 1258s # * ComAcmeCoyoteProxy: 1258s # * 1258s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1258s # */ 1258s # 1258s # /** 1258s # * ComAcmeCoyoteProxyClass: 1258s # * @parent_class: The parent class. 1258s # * 1258s # * Class structure for #ComAcmeCoyoteProxy. 1258s # */ 1258s # 1258s # struct _ComAcmeCoyoteProxyPrivate 1258s # { 1258s # GData *qdata; 1258s # }; 1258s # 1258s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1258s # 1258s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1258s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1258s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1258s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1258s # 1258s # #else 1258s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1258s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1258s # 1258s # #endif 1258s # static void 1258s # com_acme_coyote_proxy_finalize (GObject *object) 1258s # { 1258s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1258s # g_datalist_clear (&proxy->priv->qdata); 1258s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1258s # } 1258s # 1258s # static void 1258s # com_acme_coyote_proxy_get_property (GObject *object, 1258s # guint prop_id, 1258s # GValue *value, 1258s # GParamSpec *pspec G_GNUC_UNUSED) 1258s # { 1258s # const _ExtendedGDBusPropertyInfo *info; 1258s # GVariant *variant; 1258s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1258s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1258s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1258s # if (info->use_gvariant) 1258s # { 1258s # g_value_set_variant (value, variant); 1258s # } 1258s # else 1258s # { 1258s # if (variant != NULL) 1258s # g_dbus_gvariant_to_gvalue (variant, value); 1258s # } 1258s # if (variant != NULL) 1258s # g_variant_unref (variant); 1258s # } 1258s # 1258s # static void 1258s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1258s # GAsyncResult *res, 1258s # gpointer user_data) 1258s # { 1258s # const _ExtendedGDBusPropertyInfo *info = user_data; 1258s # GError *error; 1258s # GVariant *_ret; 1258s # error = NULL; 1258s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1258s # if (!_ret) 1258s # { 1258s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1258s # info->parent_struct.name, 1258s # error->message, g_quark_to_string (error->domain), error->code); 1258s # g_error_free (error); 1258s # } 1258s # else 1258s # { 1258s # g_variant_unref (_ret); 1258s # } 1258s # } 1258s # 1258s # static void 1258s # com_acme_coyote_proxy_set_property (GObject *object, 1258s # guint prop_id, 1258s # const GValue *value, 1258s # GParamSpec *pspec G_GNUC_UNUSED) 1258s # { 1258s # const _ExtendedGDBusPropertyInfo *info; 1258s # GVariant *variant; 1258s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1258s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1258s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1258s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1258s # "org.freedesktop.DBus.Properties.Set", 1258s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1258s # G_DBUS_CALL_FLAGS_NONE, 1258s # -1, 1258s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1258s # g_variant_unref (variant); 1258s # } 1258s # 1258s # static void 1258s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1258s # const gchar *sender_name G_GNUC_UNUSED, 1258s # const gchar *signal_name, 1258s # GVariant *parameters) 1258s # { 1258s # _ExtendedGDBusSignalInfo *info; 1258s # GVariantIter iter; 1258s # GVariant *child; 1258s # GValue *paramv; 1258s # gsize num_params; 1258s # gsize n; 1258s # guint signal_id; 1258s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1258s # if (info == NULL) 1258s # return; 1258s # num_params = g_variant_n_children (parameters); 1258s # paramv = g_new0 (GValue, num_params + 1); 1258s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1258s # g_value_set_object (¶mv[0], proxy); 1258s # g_variant_iter_init (&iter, parameters); 1258s # n = 1; 1258s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1258s # { 1258s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1258s # if (arg_info->use_gvariant) 1258s # { 1258s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1258s # g_value_set_variant (¶mv[n], child); 1258s # n++; 1258s # } 1258s # else 1258s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1258s # g_variant_unref (child); 1258s # } 1258s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1258s # g_signal_emitv (paramv, signal_id, 0, NULL); 1258s # for (n = 0; n < num_params + 1; n++) 1258s # g_value_unset (¶mv[n]); 1258s # g_free (paramv); 1258s # } 1258s # 1258s # static void 1258s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1258s # GVariant *changed_properties, 1258s # const gchar *const *invalidated_properties) 1258s # { 1258s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1258s # guint n; 1258s # const gchar *key; 1258s # GVariantIter *iter; 1258s # _ExtendedGDBusPropertyInfo *info; 1258s # g_variant_get (changed_properties, "a{sv}", &iter); 1258s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1258s # { 1258s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1258s # g_datalist_remove_data (&proxy->priv->qdata, key); 1258s # if (info != NULL) 1258s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1258s # } 1258s # g_variant_iter_free (iter); 1258s # for (n = 0; invalidated_properties[n] != NULL; n++) 1258s # { 1258s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1258s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1258s # if (info != NULL) 1258s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1258s # } 1258s # } 1258s # 1258s # static const gchar * 1258s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1258s # { 1258s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1258s # GVariant *variant; 1258s # const gchar *value = NULL; 1258s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1258s # if (variant != NULL) 1258s # { 1258s # value = g_variant_get_string (variant, NULL); 1258s # g_variant_unref (variant); 1258s # } 1258s # return value; 1258s # } 1258s # 1258s # static void 1258s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1258s # { 1258s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1258s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1258s # #else 1258s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1258s # #endif 1258s # 1258s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1258s # } 1258s # 1258s # static void 1258s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1258s # { 1258s # GObjectClass *gobject_class; 1258s # GDBusProxyClass *proxy_class; 1258s # 1258s # gobject_class = G_OBJECT_CLASS (klass); 1258s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1258s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1258s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1258s # 1258s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1258s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1258s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1258s # 1258s # com_acme_coyote_override_properties (gobject_class, 1); 1258s # 1258s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1258s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1258s # #endif 1258s # } 1258s # 1258s # static void 1258s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1258s # { 1258s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_proxy_new: 1258s # * @connection: A #GDBusConnection. 1258s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1258s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1258s # * @object_path: An object path. 1258s # * @cancellable: (nullable): A #GCancellable or %NULL. 1258s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1258s # * @user_data: User data to pass to @callback. 1258s # * 1258s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1258s # * 1258s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1258s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1258s # * 1258s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1258s # */ 1258s # void 1258s # com_acme_coyote_proxy_new ( 1258s # GDBusConnection *connection, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data) 1258s # { 1258s # 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); 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_proxy_new_finish: 1258s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1258s # * @error: Return location for error or %NULL 1258s # * 1258s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1258s # * 1258s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1258s # */ 1258s # ComAcmeCoyote * 1258s # com_acme_coyote_proxy_new_finish ( 1258s # GAsyncResult *res, 1258s # GError **error) 1258s # { 1258s # GObject *ret; 1258s # GObject *source_object; 1258s # source_object = g_async_result_get_source_object (res); 1258s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1258s # g_object_unref (source_object); 1258s # if (ret != NULL) 1258s # return COM_ACME_COYOTE (ret); 1258s # else 1258s # return NULL; 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_proxy_new_sync: 1258s # * @connection: A #GDBusConnection. 1258s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1258s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1258s # * @object_path: An object path. 1258s # * @cancellable: (nullable): A #GCancellable or %NULL. 1258s # * @error: Return location for error or %NULL 1258s # * 1258s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1258s # * 1258s # * The calling thread is blocked until a reply is received. 1258s # * 1258s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1258s # * 1258s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1258s # */ 1258s # ComAcmeCoyote * 1258s # com_acme_coyote_proxy_new_sync ( 1258s # GDBusConnection *connection, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GError **error) 1258s # { 1258s # GInitable *ret; 1258s # 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); 1258s # if (ret != NULL) 1258s # return COM_ACME_COYOTE (ret); 1258s # else 1258s # return NULL; 1258s # } 1258s # 1258s # 1258s # /** 1258s # * com_acme_coyote_proxy_new_for_bus: 1258s # * @bus_type: A #GBusType. 1258s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1258s # * @name: A bus name (well-known or unique). 1258s # * @object_path: An object path. 1258s # * @cancellable: (nullable): A #GCancellable or %NULL. 1258s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1258s # * @user_data: User data to pass to @callback. 1258s # * 1258s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1258s # * 1258s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1258s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1258s # * 1258s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1258s # */ 1258s # void 1258s # com_acme_coyote_proxy_new_for_bus ( 1258s # GBusType bus_type, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data) 1258s # { 1258s # 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); 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_proxy_new_for_bus_finish: 1258s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1258s # * @error: Return location for error or %NULL 1258s # * 1258s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1258s # * 1258s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1258s # */ 1258s # ComAcmeCoyote * 1258s # com_acme_coyote_proxy_new_for_bus_finish ( 1258s # GAsyncResult *res, 1258s # GError **error) 1258s # { 1258s # GObject *ret; 1258s # GObject *source_object; 1258s # source_object = g_async_result_get_source_object (res); 1258s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1258s # g_object_unref (source_object); 1258s # if (ret != NULL) 1258s # return COM_ACME_COYOTE (ret); 1258s # else 1258s # return NULL; 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_proxy_new_for_bus_sync: 1258s # * @bus_type: A #GBusType. 1258s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1258s # * @name: A bus name (well-known or unique). 1258s # * @object_path: An object path. 1258s # * @cancellable: (nullable): A #GCancellable or %NULL. 1258s # * @error: Return location for error or %NULL 1258s # * 1258s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1258s # * 1258s # * The calling thread is blocked until a reply is received. 1258s # * 1258s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1258s # * 1258s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1258s # */ 1258s # ComAcmeCoyote * 1258s # com_acme_coyote_proxy_new_for_bus_sync ( 1258s # GBusType bus_type, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GError **error) 1258s # { 1258s # GInitable *ret; 1258s # 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); 1258s # if (ret != NULL) 1258s # return COM_ACME_COYOTE (ret); 1258s # else 1258s # return NULL; 1258s # } 1258s # 1258s # 1258s # /* ------------------------------------------------------------------------ */ 1258s # 1258s # /** 1258s # * ComAcmeCoyoteSkeleton: 1258s # * 1258s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1258s # */ 1258s # 1258s # /** 1258s # * ComAcmeCoyoteSkeletonClass: 1258s # * @parent_class: The parent class. 1258s # * 1258s # * Class structure for #ComAcmeCoyoteSkeleton. 1258s # */ 1258s # 1258s # struct _ComAcmeCoyoteSkeletonPrivate 1258s # { 1258s # GValue *properties; 1258s # GList *changed_properties; 1258s # GSource *changed_properties_idle_source; 1258s # GMainContext *context; 1258s # GMutex lock; 1258s # }; 1258s # 1258s # static void 1258s # _com_acme_coyote_skeleton_handle_method_call ( 1258s # GDBusConnection *connection G_GNUC_UNUSED, 1258s # const gchar *sender G_GNUC_UNUSED, 1258s # const gchar *object_path G_GNUC_UNUSED, 1258s # const gchar *interface_name, 1258s # const gchar *method_name, 1258s # GVariant *parameters, 1258s # GDBusMethodInvocation *invocation, 1258s # gpointer user_data) 1258s # { 1258s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1258s # _ExtendedGDBusMethodInfo *info; 1258s # GVariantIter iter; 1258s # GVariant *child; 1258s # GValue *paramv; 1258s # gsize num_params; 1258s # guint num_extra; 1258s # gsize n; 1258s # guint signal_id; 1258s # GValue return_value = G_VALUE_INIT; 1258s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1258s # g_assert (info != NULL); 1258s # num_params = g_variant_n_children (parameters); 1258s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1258s # n = 0; 1258s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1258s # g_value_set_object (¶mv[n++], skeleton); 1258s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1258s # g_value_set_object (¶mv[n++], invocation); 1258s # if (info->pass_fdlist) 1258s # { 1258s # #ifdef G_OS_UNIX 1258s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1258s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1258s # #else 1258s # g_assert_not_reached (); 1258s # #endif 1258s # } 1258s # g_variant_iter_init (&iter, parameters); 1258s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1258s # { 1258s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1258s # if (arg_info->use_gvariant) 1258s # { 1258s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1258s # g_value_set_variant (¶mv[n], child); 1258s # n++; 1258s # } 1258s # else 1258s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1258s # g_variant_unref (child); 1258s # } 1258s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1258s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1258s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1258s # if (!g_value_get_boolean (&return_value)) 1258s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1258s # g_value_unset (&return_value); 1258s # for (n = 0; n < num_params + num_extra; n++) 1258s # g_value_unset (¶mv[n]); 1258s # g_free (paramv); 1258s # } 1258s # 1258s # static GVariant * 1258s # _com_acme_coyote_skeleton_handle_get_property ( 1258s # GDBusConnection *connection G_GNUC_UNUSED, 1258s # const gchar *sender G_GNUC_UNUSED, 1258s # const gchar *object_path G_GNUC_UNUSED, 1258s # const gchar *interface_name G_GNUC_UNUSED, 1258s # const gchar *property_name, 1258s # GError **error, 1258s # gpointer user_data) 1258s # { 1258s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1258s # GValue value = G_VALUE_INIT; 1258s # GParamSpec *pspec; 1258s # _ExtendedGDBusPropertyInfo *info; 1258s # GVariant *ret; 1258s # ret = NULL; 1258s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1258s # g_assert (info != NULL); 1258s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1258s # if (pspec == NULL) 1258s # { 1258s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1258s # } 1258s # else 1258s # { 1258s # g_value_init (&value, pspec->value_type); 1258s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1258s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1258s # g_value_unset (&value); 1258s # } 1258s # return ret; 1258s # } 1258s # 1258s # static gboolean 1258s # _com_acme_coyote_skeleton_handle_set_property ( 1258s # GDBusConnection *connection G_GNUC_UNUSED, 1258s # const gchar *sender G_GNUC_UNUSED, 1258s # const gchar *object_path G_GNUC_UNUSED, 1258s # const gchar *interface_name G_GNUC_UNUSED, 1258s # const gchar *property_name, 1258s # GVariant *variant, 1258s # GError **error, 1258s # gpointer user_data) 1258s # { 1258s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1258s # GValue value = G_VALUE_INIT; 1258s # GParamSpec *pspec; 1258s # _ExtendedGDBusPropertyInfo *info; 1258s # gboolean ret; 1258s # ret = FALSE; 1258s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1258s # g_assert (info != NULL); 1258s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1258s # if (pspec == NULL) 1258s # { 1258s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1258s # } 1258s # else 1258s # { 1258s # if (info->use_gvariant) 1258s # g_value_set_variant (&value, variant); 1258s # else 1258s # g_dbus_gvariant_to_gvalue (variant, &value); 1258s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1258s # g_value_unset (&value); 1258s # ret = TRUE; 1258s # } 1258s # return ret; 1258s # } 1258s # 1258s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1258s # { 1258s # _com_acme_coyote_skeleton_handle_method_call, 1258s # _com_acme_coyote_skeleton_handle_get_property, 1258s # _com_acme_coyote_skeleton_handle_set_property, 1258s # {NULL} 1258s # }; 1258s # 1258s # static GDBusInterfaceInfo * 1258s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1258s # { 1258s # return com_acme_coyote_interface_info (); 1258s # } 1258s # 1258s # static GDBusInterfaceVTable * 1258s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1258s # { 1258s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1258s # } 1258s # 1258s # static GVariant * 1258s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1258s # { 1258s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1258s # 1258s # GVariantBuilder builder; 1258s # guint n; 1258s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1258s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1258s # #else 1258s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1258s # #endif 1258s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1258s # goto out; 1258s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1258s # { 1258s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1258s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1258s # { 1258s # GVariant *value; 1258s # 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); 1258s # if (value != NULL) 1258s # { 1258s # g_variant_take_ref (value); 1258s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1258s # g_variant_unref (value); 1258s # } 1258s # } 1258s # } 1258s # out: 1258s # return g_variant_builder_end (&builder); 1258s # } 1258s # 1258s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1258s # 1258s # static void 1258s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1258s # { 1258s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1258s # gboolean emit_changed = FALSE; 1258s # 1258s # g_mutex_lock (&skeleton->priv->lock); 1258s # if (skeleton->priv->changed_properties_idle_source != NULL) 1258s # { 1258s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1258s # skeleton->priv->changed_properties_idle_source = NULL; 1258s # emit_changed = TRUE; 1258s # } 1258s # g_mutex_unlock (&skeleton->priv->lock); 1258s # 1258s # if (emit_changed) 1258s # _com_acme_coyote_emit_changed (skeleton); 1258s # } 1258s # 1258s # static void 1258s # _com_acme_coyote_on_signal_surprised ( 1258s # ComAcmeCoyote *object) 1258s # { 1258s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1258s # 1258s # GList *connections, *l; 1258s # GVariant *signal_variant; 1258s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1258s # 1258s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1258s # for (l = connections; l != NULL; l = l->next) 1258s # { 1258s # GDBusConnection *connection = l->data; 1258s # g_dbus_connection_emit_signal (connection, 1258s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1258s # signal_variant, NULL); 1258s # } 1258s # g_variant_unref (signal_variant); 1258s # g_list_free_full (connections, g_object_unref); 1258s # } 1258s # 1258s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1258s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1258s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1258s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1258s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1258s # 1258s # #else 1258s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1258s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1258s # 1258s # #endif 1258s # static void 1258s # com_acme_coyote_skeleton_finalize (GObject *object) 1258s # { 1258s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1258s # guint n; 1258s # for (n = 0; n < 1; n++) 1258s # g_value_unset (&skeleton->priv->properties[n]); 1258s # g_free (skeleton->priv->properties); 1258s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1258s # if (skeleton->priv->changed_properties_idle_source != NULL) 1258s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1258s # g_main_context_unref (skeleton->priv->context); 1258s # g_mutex_clear (&skeleton->priv->lock); 1258s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1258s # } 1258s # 1258s # static void 1258s # com_acme_coyote_skeleton_get_property (GObject *object, 1258s # guint prop_id, 1258s # GValue *value, 1258s # GParamSpec *pspec G_GNUC_UNUSED) 1258s # { 1258s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1258s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1258s # g_mutex_lock (&skeleton->priv->lock); 1258s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1258s # g_mutex_unlock (&skeleton->priv->lock); 1258s # } 1258s # 1258s # static gboolean 1258s # _com_acme_coyote_emit_changed (gpointer user_data) 1258s # { 1258s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1258s # GList *l; 1258s # GVariantBuilder builder; 1258s # GVariantBuilder invalidated_builder; 1258s # guint num_changes; 1258s # 1258s # g_mutex_lock (&skeleton->priv->lock); 1258s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1258s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1258s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1258s # #else 1258s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1258s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1258s # #endif 1258s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1258s # { 1258s # ChangedProperty *cp = l->data; 1258s # GVariant *variant; 1258s # const GValue *cur_value; 1258s # 1258s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1258s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1258s # { 1258s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1258s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1258s # g_variant_unref (variant); 1258s # num_changes++; 1258s # } 1258s # } 1258s # if (num_changes > 0) 1258s # { 1258s # GList *connections, *ll; 1258s # GVariant *signal_variant; 1258s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1258s # &builder, &invalidated_builder)); 1258s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1258s # for (ll = connections; ll != NULL; ll = ll->next) 1258s # { 1258s # GDBusConnection *connection = ll->data; 1258s # 1258s # g_dbus_connection_emit_signal (connection, 1258s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1258s # "org.freedesktop.DBus.Properties", 1258s # "PropertiesChanged", 1258s # signal_variant, 1258s # NULL); 1258s # } 1258s # g_variant_unref (signal_variant); 1258s # g_list_free_full (connections, g_object_unref); 1258s # } 1258s # else 1258s # { 1258s # g_variant_builder_clear (&builder); 1258s # g_variant_builder_clear (&invalidated_builder); 1258s # } 1258s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1258s # skeleton->priv->changed_properties = NULL; 1258s # skeleton->priv->changed_properties_idle_source = NULL; 1258s # g_mutex_unlock (&skeleton->priv->lock); 1258s # return FALSE; 1258s # } 1258s # 1258s # static void 1258s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1258s # { 1258s # ChangedProperty *cp; 1258s # GList *l; 1258s # cp = NULL; 1258s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1258s # { 1258s # ChangedProperty *i_cp = l->data; 1258s # if (i_cp->info == info) 1258s # { 1258s # cp = i_cp; 1258s # break; 1258s # } 1258s # } 1258s # if (cp == NULL) 1258s # { 1258s # cp = g_new0 (ChangedProperty, 1); 1258s # cp->prop_id = prop_id; 1258s # cp->info = info; 1258s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1258s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1258s # g_value_copy (orig_value, &cp->orig_value); 1258s # } 1258s # } 1258s # 1258s # static void 1258s # com_acme_coyote_skeleton_notify (GObject *object, 1258s # GParamSpec *pspec G_GNUC_UNUSED) 1258s # { 1258s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1258s # g_mutex_lock (&skeleton->priv->lock); 1258s # if (skeleton->priv->changed_properties != NULL && 1258s # skeleton->priv->changed_properties_idle_source == NULL) 1258s # { 1258s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1258s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1258s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1258s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1258s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1258s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1258s # } 1258s # g_mutex_unlock (&skeleton->priv->lock); 1258s # } 1258s # 1258s # static void 1258s # com_acme_coyote_skeleton_set_property (GObject *object, 1258s # guint prop_id, 1258s # const GValue *value, 1258s # GParamSpec *pspec) 1258s # { 1258s # const _ExtendedGDBusPropertyInfo *info; 1258s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1258s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1258s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1258s # g_mutex_lock (&skeleton->priv->lock); 1258s # g_object_freeze_notify (object); 1258s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1258s # { 1258s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1258s # info->emits_changed_signal) 1258s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1258s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1258s # g_object_notify_by_pspec (object, pspec); 1258s # } 1258s # g_mutex_unlock (&skeleton->priv->lock); 1258s # g_object_thaw_notify (object); 1258s # } 1258s # 1258s # static void 1258s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1258s # { 1258s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1258s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1258s # #else 1258s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1258s # #endif 1258s # 1258s # g_mutex_init (&skeleton->priv->lock); 1258s # skeleton->priv->context = g_main_context_ref_thread_default (); 1258s # skeleton->priv->properties = g_new0 (GValue, 1); 1258s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1258s # } 1258s # 1258s # static const gchar * 1258s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1258s # { 1258s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1258s # const gchar *value; 1258s # g_mutex_lock (&skeleton->priv->lock); 1258s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1258s # g_mutex_unlock (&skeleton->priv->lock); 1258s # return value; 1258s # } 1258s # 1258s # static void 1258s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1258s # { 1258s # GObjectClass *gobject_class; 1258s # GDBusInterfaceSkeletonClass *skeleton_class; 1258s # 1258s # gobject_class = G_OBJECT_CLASS (klass); 1258s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1258s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1258s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1258s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1258s # 1258s # 1258s # com_acme_coyote_override_properties (gobject_class, 1); 1258s # 1258s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1258s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1258s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1258s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1258s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1258s # 1258s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1258s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1258s # #endif 1258s # } 1258s # 1258s # static void 1258s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1258s # { 1258s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1258s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_skeleton_new: 1258s # * 1258s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1258s # * 1258s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1258s # */ 1258s # ComAcmeCoyote * 1258s # com_acme_coyote_skeleton_new (void) 1258s # { 1258s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1258s # } 1258s # Error: 1258s # 1258s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphwfphil_/tmp1zo06bil2.xml', '/tmp/tmphwfphil_/tmpkn9w_5z51.xml', '--output', '-', '--body'] 1258s # Return code: 0 1258s # Output: 1258s # /* 1258s # * This file is generated by gdbus-codegen, do not modify it. 1258s # * 1258s # * The license of this code is the same as for the D-Bus interface description 1258s # * it was derived from. Note that it links to GLib, so must comply with the 1258s # * LGPL linking clauses. 1258s # */ 1258s # 1258s # #ifdef HAVE_CONFIG_H 1258s # # include "config.h" 1258s # #endif 1258s # 1258s # #include 1258s # #ifdef G_OS_UNIX 1258s # # include 1258s # #endif 1258s # 1258s # #ifdef G_ENABLE_DEBUG 1258s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1258s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1258s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1258s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1258s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1258s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1258s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1258s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1258s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1258s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1258s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1258s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1258s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1258s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1258s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1258s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1258s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1258s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1258s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1258s # #else /* !G_ENABLE_DEBUG */ 1258s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1258s # * Do not access GValues directly in your code. Instead, use the 1258s # * g_value_get_*() functions 1258s # */ 1258s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1258s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1258s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1258s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1258s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1258s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1258s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1258s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1258s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1258s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1258s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1258s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1258s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1258s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1258s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1258s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1258s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1258s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1258s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1258s # #endif /* !G_ENABLE_DEBUG */ 1258s # 1258s # typedef struct 1258s # { 1258s # GDBusArgInfo parent_struct; 1258s # gboolean use_gvariant; 1258s # } _ExtendedGDBusArgInfo; 1258s # 1258s # typedef struct 1258s # { 1258s # GDBusMethodInfo parent_struct; 1258s # const gchar *signal_name; 1258s # gboolean pass_fdlist; 1258s # } _ExtendedGDBusMethodInfo; 1258s # 1258s # typedef struct 1258s # { 1258s # GDBusSignalInfo parent_struct; 1258s # const gchar *signal_name; 1258s # } _ExtendedGDBusSignalInfo; 1258s # 1258s # typedef struct 1258s # { 1258s # GDBusPropertyInfo parent_struct; 1258s # const gchar *hyphen_name; 1258s # guint use_gvariant : 1; 1258s # guint emits_changed_signal : 1; 1258s # } _ExtendedGDBusPropertyInfo; 1258s # 1258s # typedef struct 1258s # { 1258s # GDBusInterfaceInfo parent_struct; 1258s # const gchar *hyphen_name; 1258s # } _ExtendedGDBusInterfaceInfo; 1258s # 1258s # typedef struct 1258s # { 1258s # const _ExtendedGDBusPropertyInfo *info; 1258s # guint prop_id; 1258s # GValue orig_value; /* the value before the change */ 1258s # } ChangedProperty; 1258s # 1258s # static void 1258s # _changed_property_free (ChangedProperty *data) 1258s # { 1258s # g_value_unset (&data->orig_value); 1258s # g_free (data); 1258s # } 1258s # 1258s # static gboolean 1258s # _g_strv_equal0 (gchar **a, gchar **b) 1258s # { 1258s # gboolean ret = FALSE; 1258s # guint n; 1258s # if (a == NULL && b == NULL) 1258s # { 1258s # ret = TRUE; 1258s # goto out; 1258s # } 1258s # if (a == NULL || b == NULL) 1258s # goto out; 1258s # if (g_strv_length (a) != g_strv_length (b)) 1258s # goto out; 1258s # for (n = 0; a[n] != NULL; n++) 1258s # if (g_strcmp0 (a[n], b[n]) != 0) 1258s # goto out; 1258s # ret = TRUE; 1258s # out: 1258s # return ret; 1258s # } 1258s # 1258s # static gboolean 1258s # _g_variant_equal0 (GVariant *a, GVariant *b) 1258s # { 1258s # gboolean ret = FALSE; 1258s # if (a == NULL && b == NULL) 1258s # { 1258s # ret = TRUE; 1258s # goto out; 1258s # } 1258s # if (a == NULL || b == NULL) 1258s # goto out; 1258s # ret = g_variant_equal (a, b); 1258s # out: 1258s # return ret; 1258s # } 1258s # 1258s # G_GNUC_UNUSED static gboolean 1258s # _g_value_equal (const GValue *a, const GValue *b) 1258s # { 1258s # gboolean ret = FALSE; 1258s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 1258s # switch (G_VALUE_TYPE (a)) 1258s # { 1258s # case G_TYPE_BOOLEAN: 1258s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 1258s # break; 1258s # case G_TYPE_UCHAR: 1258s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 1258s # break; 1258s # case G_TYPE_INT: 1258s # ret = (g_value_get_int (a) == g_value_get_int (b)); 1258s # break; 1258s # case G_TYPE_UINT: 1258s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 1258s # break; 1258s # case G_TYPE_INT64: 1258s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 1258s # break; 1258s # case G_TYPE_UINT64: 1258s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 1258s # break; 1258s # case G_TYPE_DOUBLE: 1258s # { 1258s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 1258s # gdouble da = g_value_get_double (a); 1258s # gdouble db = g_value_get_double (b); 1258s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 1258s # } 1258s # break; 1258s # case G_TYPE_STRING: 1258s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 1258s # break; 1258s # case G_TYPE_VARIANT: 1258s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 1258s # break; 1258s # default: 1258s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 1258s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 1258s # else 1258s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 1258s # break; 1258s # } 1258s # return ret; 1258s # } 1258s # 1258s # static void 1258s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 1258s # GClosure *closure, 1258s # GValue *return_value, 1258s # unsigned int n_param_values, 1258s # const GValue *param_values, 1258s # void *invocation_hint G_GNUC_UNUSED, 1258s # void *marshal_data) 1258s # { 1258s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 1258s # (void *data1, 1258s # GDBusMethodInvocation *arg_method_invocation, 1258s # void *data2); 1258s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 1258s # GCClosure *cc = (GCClosure*) closure; 1258s # void *data1, *data2; 1258s # gboolean v_return; 1258s # 1258s # g_return_if_fail (return_value != NULL); 1258s # g_return_if_fail (n_param_values == 2); 1258s # 1258s # if (G_CCLOSURE_SWAP_DATA (closure)) 1258s # { 1258s # data1 = closure->data; 1258s # data2 = g_value_peek_pointer (param_values + 0); 1258s # } 1258s # else 1258s # { 1258s # data1 = g_value_peek_pointer (param_values + 0); 1258s # data2 = closure->data; 1258s # } 1258s # 1258s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 1258s # (marshal_data ? marshal_data : cc->callback); 1258s # 1258s # v_return = 1258s # callback (data1, 1258s # g_marshal_value_peek_object (param_values + 1), 1258s # data2); 1258s # 1258s # g_value_set_boolean (return_value, v_return); 1258s # } 1258s # 1258s # /* ------------------------------------------------------------------------ 1258s # * Code for interface org.project.Bar.Frobnicator 1258s # * ------------------------------------------------------------------------ 1258s # */ 1258s # 1258s # /** 1258s # * SECTION:OrgProjectBarFrobnicator 1258s # * @title: OrgProjectBarFrobnicator 1258s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 1258s # * 1258s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 1258s # */ 1258s # 1258s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 1258s # 1258s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 1258s # { 1258s # { 1258s # -1, 1258s # (gchar *) "RandomMethod", 1258s # NULL, 1258s # NULL, 1258s # NULL 1258s # }, 1258s # "handle-random-method", 1258s # FALSE 1258s # }; 1258s # 1258s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 1258s # { 1258s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 1258s # NULL 1258s # }; 1258s # 1258s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 1258s # { 1258s # { 1258s # -1, 1258s # (gchar *) "org.project.Bar.Frobnicator", 1258s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 1258s # NULL, 1258s # NULL, 1258s # NULL 1258s # }, 1258s # "org-project-bar-frobnicator", 1258s # }; 1258s # 1258s # 1258s # /** 1258s # * org_project_bar_frobnicator_interface_info: 1258s # * 1258s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 1258s # * 1258s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1258s # */ 1258s # GDBusInterfaceInfo * 1258s # org_project_bar_frobnicator_interface_info (void) 1258s # { 1258s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 1258s # } 1258s # 1258s # /** 1258s # * org_project_bar_frobnicator_override_properties: 1258s # * @klass: The class structure for a #GObject derived class. 1258s # * @property_id_begin: The property id to assign to the first overridden property. 1258s # * 1258s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 1258s # * The properties are overridden in the order they are defined. 1258s # * 1258s # * Returns: The last property id. 1258s # */ 1258s # guint 1258s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 1258s # { 1258s # return property_id_begin - 1; 1258s # } 1258s # 1258s # 1258s # inline static void 1258s # org_project_bar_frobnicator_method_marshal_random_method ( 1258s # GClosure *closure, 1258s # GValue *return_value, 1258s # unsigned int n_param_values, 1258s # const GValue *param_values, 1258s # void *invocation_hint, 1258s # void *marshal_data) 1258s # { 1258s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1258s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1258s # } 1258s # 1258s # 1258s # /** 1258s # * OrgProjectBarFrobnicator: 1258s # * 1258s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 1258s # */ 1258s # 1258s # /** 1258s # * OrgProjectBarFrobnicatorIface: 1258s # * @parent_iface: The parent interface. 1258s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 1258s # * 1258s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 1258s # */ 1258s # 1258s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 1258s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 1258s # 1258s # static void 1258s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 1258s # { 1258s # /* GObject signals for incoming D-Bus method calls: */ 1258s # /** 1258s # * OrgProjectBarFrobnicator::handle-random-method: 1258s # * @object: A #OrgProjectBarFrobnicator. 1258s # * @invocation: A #GDBusMethodInvocation. 1258s # * 1258s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 1258s # * 1258s # * 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. 1258s # * 1258s # * 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. 1258s # */ 1258s # g_signal_new ("handle-random-method", 1258s # G_TYPE_FROM_INTERFACE (iface), 1258s # G_SIGNAL_RUN_LAST, 1258s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 1258s # g_signal_accumulator_true_handled, 1258s # NULL, 1258s # org_project_bar_frobnicator_method_marshal_random_method, 1258s # G_TYPE_BOOLEAN, 1258s # 1, 1258s # G_TYPE_DBUS_METHOD_INVOCATION); 1258s # 1258s # } 1258s # 1258s # /** 1258s # * org_project_bar_frobnicator_call_random_method: 1258s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1258s # * @cancellable: (nullable): A #GCancellable or %NULL. 1258s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1258s # * @user_data: User data to pass to @callback. 1258s # * 1258s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 1258s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1258s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 1258s # * 1258s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 1258s # */ 1258s # void 1258s # org_project_bar_frobnicator_call_random_method ( 1258s # OrgProjectBarFrobnicator *proxy, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data) 1258s # { 1258s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1258s # "RandomMethod", 1258s # g_variant_new ("()"), 1258s # G_DBUS_CALL_FLAGS_NONE, 1258s # -1, 1258s # cancellable, 1258s # callback, 1258s # user_data); 1258s # } 1258s # 1258s # /** 1258s # * org_project_bar_frobnicator_call_random_method_finish: 1258s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1258s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 1258s # * @error: Return location for error or %NULL. 1258s # * 1258s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 1258s # * 1258s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1258s # */ 1258s # gboolean 1258s # org_project_bar_frobnicator_call_random_method_finish ( 1258s # OrgProjectBarFrobnicator *proxy, 1258s # GAsyncResult *res, 1258s # GError **error) 1258s # { 1258s # GVariant *_ret; 1258s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1258s # if (_ret == NULL) 1258s # goto _out; 1258s # g_variant_get (_ret, 1258s # "()"); 1258s # g_variant_unref (_ret); 1258s # _out: 1258s # return _ret != NULL; 1258s # } 1258s # 1258s # /** 1258s # * org_project_bar_frobnicator_call_random_method_sync: 1258s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 1258s # * @cancellable: (nullable): A #GCancellable or %NULL. 1258s # * @error: Return location for error or %NULL. 1258s # * 1258s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1258s # * 1258s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 1258s # * 1258s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1258s # */ 1258s # gboolean 1258s # org_project_bar_frobnicator_call_random_method_sync ( 1258s # OrgProjectBarFrobnicator *proxy, 1258s # GCancellable *cancellable, 1258s # GError **error) 1258s # { 1258s # GVariant *_ret; 1258s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1258s # "RandomMethod", 1258s # g_variant_new ("()"), 1258s # G_DBUS_CALL_FLAGS_NONE, 1258s # -1, 1258s # cancellable, 1258s # error); 1258s # if (_ret == NULL) 1258s # goto _out; 1258s # g_variant_get (_ret, 1258s # "()"); 1258s # g_variant_unref (_ret); 1258s # _out: 1258s # return _ret != NULL; 1258s # } 1258s # 1258s # /** 1258s # * org_project_bar_frobnicator_complete_random_method: 1258s # * @object: A #OrgProjectBarFrobnicator. 1258s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1258s # * 1258s # * 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. 1258s # * 1258s # * This method will free @invocation, you cannot use it afterwards. 1258s # */ 1258s # void 1258s # org_project_bar_frobnicator_complete_random_method ( 1258s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 1258s # GDBusMethodInvocation *invocation) 1258s # { 1258s # g_dbus_method_invocation_return_value (invocation, 1258s # g_variant_new ("()")); 1258s # } 1258s # 1258s # /* ------------------------------------------------------------------------ */ 1258s # 1258s # /** 1258s # * OrgProjectBarFrobnicatorProxy: 1258s # * 1258s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 1258s # */ 1258s # 1258s # /** 1258s # * OrgProjectBarFrobnicatorProxyClass: 1258s # * @parent_class: The parent class. 1258s # * 1258s # * Class structure for #OrgProjectBarFrobnicatorProxy. 1258s # */ 1258s # 1258s # struct _OrgProjectBarFrobnicatorProxyPrivate 1258s # { 1258s # GData *qdata; 1258s # }; 1258s # 1258s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 1258s # 1258s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1258s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1258s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 1258s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1258s # 1258s # #else 1258s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 1258s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 1258s # 1258s # #endif 1258s # static void 1258s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 1258s # { 1258s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 1258s # g_datalist_clear (&proxy->priv->qdata); 1258s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 1258s # } 1258s # 1258s # static void 1258s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 1258s # guint prop_id G_GNUC_UNUSED, 1258s # GValue *value G_GNUC_UNUSED, 1258s # GParamSpec *pspec G_GNUC_UNUSED) 1258s # { 1258s # } 1258s # 1258s # static void 1258s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 1258s # guint prop_id G_GNUC_UNUSED, 1258s # const GValue *value G_GNUC_UNUSED, 1258s # GParamSpec *pspec G_GNUC_UNUSED) 1258s # { 1258s # } 1258s # 1258s # static void 1258s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 1258s # const gchar *sender_name G_GNUC_UNUSED, 1258s # const gchar *signal_name, 1258s # GVariant *parameters) 1258s # { 1258s # _ExtendedGDBusSignalInfo *info; 1258s # GVariantIter iter; 1258s # GVariant *child; 1258s # GValue *paramv; 1258s # gsize num_params; 1258s # gsize n; 1258s # guint signal_id; 1258s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 1258s # if (info == NULL) 1258s # return; 1258s # num_params = g_variant_n_children (parameters); 1258s # paramv = g_new0 (GValue, num_params + 1); 1258s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1258s # g_value_set_object (¶mv[0], proxy); 1258s # g_variant_iter_init (&iter, parameters); 1258s # n = 1; 1258s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1258s # { 1258s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1258s # if (arg_info->use_gvariant) 1258s # { 1258s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1258s # g_value_set_variant (¶mv[n], child); 1258s # n++; 1258s # } 1258s # else 1258s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1258s # g_variant_unref (child); 1258s # } 1258s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1258s # g_signal_emitv (paramv, signal_id, 0, NULL); 1258s # for (n = 0; n < num_params + 1; n++) 1258s # g_value_unset (¶mv[n]); 1258s # g_free (paramv); 1258s # } 1258s # 1258s # static void 1258s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 1258s # GVariant *changed_properties, 1258s # const gchar *const *invalidated_properties) 1258s # { 1258s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 1258s # guint n; 1258s # const gchar *key; 1258s # GVariantIter *iter; 1258s # _ExtendedGDBusPropertyInfo *info; 1258s # g_variant_get (changed_properties, "a{sv}", &iter); 1258s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1258s # { 1258s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 1258s # g_datalist_remove_data (&proxy->priv->qdata, key); 1258s # if (info != NULL) 1258s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1258s # } 1258s # g_variant_iter_free (iter); 1258s # for (n = 0; invalidated_properties[n] != NULL; n++) 1258s # { 1258s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 1258s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1258s # if (info != NULL) 1258s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1258s # } 1258s # } 1258s # 1258s # static void 1258s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 1258s # { 1258s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1258s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 1258s # #else 1258s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 1258s # #endif 1258s # 1258s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 1258s # } 1258s # 1258s # static void 1258s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 1258s # { 1258s # GObjectClass *gobject_class; 1258s # GDBusProxyClass *proxy_class; 1258s # 1258s # gobject_class = G_OBJECT_CLASS (klass); 1258s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 1258s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 1258s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 1258s # 1258s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1258s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 1258s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 1258s # 1258s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1258s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 1258s # #endif 1258s # } 1258s # 1258s # static void 1258s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1258s # { 1258s # } 1258s # 1258s # /** 1258s # * org_project_bar_frobnicator_proxy_new: 1258s # * @connection: A #GDBusConnection. 1258s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1258s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1258s # * @object_path: An object path. 1258s # * @cancellable: (nullable): A #GCancellable or %NULL. 1258s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1258s # * @user_data: User data to pass to @callback. 1258s # * 1258s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 1258s # * 1258s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1258s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 1258s # * 1258s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 1258s # */ 1258s # void 1258s # org_project_bar_frobnicator_proxy_new ( 1258s # GDBusConnection *connection, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data) 1258s # { 1258s # 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); 1258s # } 1258s # 1258s # /** 1258s # * org_project_bar_frobnicator_proxy_new_finish: 1258s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 1258s # * @error: Return location for error or %NULL 1258s # * 1258s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 1258s # * 1258s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1258s # */ 1258s # OrgProjectBarFrobnicator * 1258s # org_project_bar_frobnicator_proxy_new_finish ( 1258s # GAsyncResult *res, 1258s # GError **error) 1258s # { 1258s # GObject *ret; 1258s # GObject *source_object; 1258s # source_object = g_async_result_get_source_object (res); 1258s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1258s # g_object_unref (source_object); 1258s # if (ret != NULL) 1258s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1258s # else 1258s # return NULL; 1258s # } 1258s # 1258s # /** 1258s # * org_project_bar_frobnicator_proxy_new_sync: 1258s # * @connection: A #GDBusConnection. 1258s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1258s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1258s # * @object_path: An object path. 1258s # * @cancellable: (nullable): A #GCancellable or %NULL. 1258s # * @error: Return location for error or %NULL 1258s # * 1258s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 1258s # * 1258s # * The calling thread is blocked until a reply is received. 1258s # * 1258s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 1258s # * 1258s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1258s # */ 1258s # OrgProjectBarFrobnicator * 1258s # org_project_bar_frobnicator_proxy_new_sync ( 1258s # GDBusConnection *connection, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GError **error) 1258s # { 1258s # GInitable *ret; 1258s # 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); 1258s # if (ret != NULL) 1258s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1258s # else 1258s # return NULL; 1258s # } 1258s # 1258s # 1258s # /** 1258s # * org_project_bar_frobnicator_proxy_new_for_bus: 1258s # * @bus_type: A #GBusType. 1258s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1258s # * @name: A bus name (well-known or unique). 1258s # * @object_path: An object path. 1258s # * @cancellable: (nullable): A #GCancellable or %NULL. 1258s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1258s # * @user_data: User data to pass to @callback. 1258s # * 1258s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1258s # * 1258s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1258s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 1258s # * 1258s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1258s # */ 1258s # void 1258s # org_project_bar_frobnicator_proxy_new_for_bus ( 1258s # GBusType bus_type, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data) 1258s # { 1258s # 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); 1258s # } 1258s # 1258s # /** 1258s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 1258s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 1258s # * @error: Return location for error or %NULL 1258s # * 1258s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 1258s # * 1258s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1258s # */ 1258s # OrgProjectBarFrobnicator * 1258s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 1258s # GAsyncResult *res, 1258s # GError **error) 1258s # { 1258s # GObject *ret; 1258s # GObject *source_object; 1258s # source_object = g_async_result_get_source_object (res); 1258s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1258s # g_object_unref (source_object); 1258s # if (ret != NULL) 1258s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1258s # else 1258s # return NULL; 1258s # } 1258s # 1258s # /** 1258s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 1258s # * @bus_type: A #GBusType. 1258s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1258s # * @name: A bus name (well-known or unique). 1258s # * @object_path: An object path. 1258s # * @cancellable: (nullable): A #GCancellable or %NULL. 1258s # * @error: Return location for error or %NULL 1258s # * 1258s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1258s # * 1258s # * The calling thread is blocked until a reply is received. 1258s # * 1258s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 1258s # * 1258s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 1258s # */ 1258s # OrgProjectBarFrobnicator * 1258s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 1258s # GBusType bus_type, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GError **error) 1258s # { 1258s # GInitable *ret; 1258s # 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); 1258s # if (ret != NULL) 1258s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 1258s # else 1258s # return NULL; 1258s # } 1258s # 1258s # 1258s # /* ------------------------------------------------------------------------ */ 1258s # 1258s # /** 1258s # * OrgProjectBarFrobnicatorSkeleton: 1258s # * 1258s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 1258s # */ 1258s # 1258s # /** 1258s # * OrgProjectBarFrobnicatorSkeletonClass: 1258s # * @parent_class: The parent class. 1258s # * 1258s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 1258s # */ 1258s # 1258s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 1258s # { 1258s # GValue *properties; 1258s # GList *changed_properties; 1258s # GSource *changed_properties_idle_source; 1258s # GMainContext *context; 1258s # GMutex lock; 1258s # }; 1258s # 1258s # static void 1258s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 1258s # GDBusConnection *connection G_GNUC_UNUSED, 1258s # const gchar *sender G_GNUC_UNUSED, 1258s # const gchar *object_path G_GNUC_UNUSED, 1258s # const gchar *interface_name, 1258s # const gchar *method_name, 1258s # GVariant *parameters, 1258s # GDBusMethodInvocation *invocation, 1258s # gpointer user_data) 1258s # { 1258s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1258s # _ExtendedGDBusMethodInfo *info; 1258s # GVariantIter iter; 1258s # GVariant *child; 1258s # GValue *paramv; 1258s # gsize num_params; 1258s # guint num_extra; 1258s # gsize n; 1258s # guint signal_id; 1258s # GValue return_value = G_VALUE_INIT; 1258s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1258s # g_assert (info != NULL); 1258s # num_params = g_variant_n_children (parameters); 1258s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1258s # n = 0; 1258s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1258s # g_value_set_object (¶mv[n++], skeleton); 1258s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1258s # g_value_set_object (¶mv[n++], invocation); 1258s # if (info->pass_fdlist) 1258s # { 1258s # #ifdef G_OS_UNIX 1258s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1258s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1258s # #else 1258s # g_assert_not_reached (); 1258s # #endif 1258s # } 1258s # g_variant_iter_init (&iter, parameters); 1258s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1258s # { 1258s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1258s # if (arg_info->use_gvariant) 1258s # { 1258s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1258s # g_value_set_variant (¶mv[n], child); 1258s # n++; 1258s # } 1258s # else 1258s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1258s # g_variant_unref (child); 1258s # } 1258s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 1258s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1258s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1258s # if (!g_value_get_boolean (&return_value)) 1258s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1258s # g_value_unset (&return_value); 1258s # for (n = 0; n < num_params + num_extra; n++) 1258s # g_value_unset (¶mv[n]); 1258s # g_free (paramv); 1258s # } 1258s # 1258s # static GVariant * 1258s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 1258s # GDBusConnection *connection G_GNUC_UNUSED, 1258s # const gchar *sender G_GNUC_UNUSED, 1258s # const gchar *object_path G_GNUC_UNUSED, 1258s # const gchar *interface_name G_GNUC_UNUSED, 1258s # const gchar *property_name, 1258s # GError **error, 1258s # gpointer user_data) 1258s # { 1258s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1258s # GValue value = G_VALUE_INIT; 1258s # GParamSpec *pspec; 1258s # _ExtendedGDBusPropertyInfo *info; 1258s # GVariant *ret; 1258s # ret = NULL; 1258s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1258s # g_assert (info != NULL); 1258s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1258s # if (pspec == NULL) 1258s # { 1258s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1258s # } 1258s # else 1258s # { 1258s # g_value_init (&value, pspec->value_type); 1258s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1258s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1258s # g_value_unset (&value); 1258s # } 1258s # return ret; 1258s # } 1258s # 1258s # static gboolean 1258s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 1258s # GDBusConnection *connection G_GNUC_UNUSED, 1258s # const gchar *sender G_GNUC_UNUSED, 1258s # const gchar *object_path G_GNUC_UNUSED, 1258s # const gchar *interface_name G_GNUC_UNUSED, 1258s # const gchar *property_name, 1258s # GVariant *variant, 1258s # GError **error, 1258s # gpointer user_data) 1258s # { 1258s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 1258s # GValue value = G_VALUE_INIT; 1258s # GParamSpec *pspec; 1258s # _ExtendedGDBusPropertyInfo *info; 1258s # gboolean ret; 1258s # ret = FALSE; 1258s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 1258s # g_assert (info != NULL); 1258s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1258s # if (pspec == NULL) 1258s # { 1258s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1258s # } 1258s # else 1258s # { 1258s # if (info->use_gvariant) 1258s # g_value_set_variant (&value, variant); 1258s # else 1258s # g_dbus_gvariant_to_gvalue (variant, &value); 1258s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1258s # g_value_unset (&value); 1258s # ret = TRUE; 1258s # } 1258s # return ret; 1258s # } 1258s # 1258s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 1258s # { 1258s # _org_project_bar_frobnicator_skeleton_handle_method_call, 1258s # _org_project_bar_frobnicator_skeleton_handle_get_property, 1258s # _org_project_bar_frobnicator_skeleton_handle_set_property, 1258s # {NULL} 1258s # }; 1258s # 1258s # static GDBusInterfaceInfo * 1258s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1258s # { 1258s # return org_project_bar_frobnicator_interface_info (); 1258s # } 1258s # 1258s # static GDBusInterfaceVTable * 1258s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1258s # { 1258s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 1258s # } 1258s # 1258s # static GVariant * 1258s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1258s # { 1258s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 1258s # 1258s # GVariantBuilder builder; 1258s # guint n; 1258s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1258s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1258s # #else 1258s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1258s # #endif 1258s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 1258s # goto out; 1258s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 1258s # { 1258s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 1258s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1258s # { 1258s # GVariant *value; 1258s # 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); 1258s # if (value != NULL) 1258s # { 1258s # g_variant_take_ref (value); 1258s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1258s # g_variant_unref (value); 1258s # } 1258s # } 1258s # } 1258s # out: 1258s # return g_variant_builder_end (&builder); 1258s # } 1258s # 1258s # static void 1258s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 1258s # { 1258s # } 1258s # 1258s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 1258s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1258s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1258s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 1258s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1258s # 1258s # #else 1258s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1258s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 1258s # 1258s # #endif 1258s # static void 1258s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 1258s # { 1258s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 1258s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1258s # if (skeleton->priv->changed_properties_idle_source != NULL) 1258s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1258s # g_main_context_unref (skeleton->priv->context); 1258s # g_mutex_clear (&skeleton->priv->lock); 1258s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 1258s # } 1258s # 1258s # static void 1258s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 1258s # { 1258s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1258s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 1258s # #else 1258s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 1258s # #endif 1258s # 1258s # g_mutex_init (&skeleton->priv->lock); 1258s # skeleton->priv->context = g_main_context_ref_thread_default (); 1258s # } 1258s # 1258s # static void 1258s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 1258s # { 1258s # GObjectClass *gobject_class; 1258s # GDBusInterfaceSkeletonClass *skeleton_class; 1258s # 1258s # gobject_class = G_OBJECT_CLASS (klass); 1258s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 1258s # 1258s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1258s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 1258s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 1258s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 1258s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 1258s # 1258s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1258s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 1258s # #endif 1258s # } 1258s # 1258s # static void 1258s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 1258s # { 1258s # } 1258s # 1258s # /** 1258s # * org_project_bar_frobnicator_skeleton_new: 1258s # * 1258s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 1258s # * 1258s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 1258s # */ 1258s # OrgProjectBarFrobnicator * 1258s # org_project_bar_frobnicator_skeleton_new (void) 1258s # { 1258s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 1258s # } 1258s # 1258s # /* ------------------------------------------------------------------------ 1258s # * Code for interface com.acme.Coyote 1258s # * ------------------------------------------------------------------------ 1258s # */ 1258s # 1258s # /** 1258s # * SECTION:ComAcmeCoyote 1258s # * @title: ComAcmeCoyote 1258s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 1258s # * 1258s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 1258s # */ 1258s # 1258s # enum 1258s # { 1258s # _COM_ACME_COYOTE_SURPRISED, 1258s # }; 1258s # 1258s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 1258s # 1258s # /* ---- Introspection data for com.acme.Coyote ---- */ 1258s # 1258s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 1258s # { 1258s # { 1258s # -1, 1258s # (gchar *) "Run", 1258s # NULL, 1258s # NULL, 1258s # NULL 1258s # }, 1258s # "handle-run", 1258s # FALSE 1258s # }; 1258s # 1258s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 1258s # { 1258s # { 1258s # -1, 1258s # (gchar *) "Sleep", 1258s # NULL, 1258s # NULL, 1258s # NULL 1258s # }, 1258s # "handle-sleep", 1258s # FALSE 1258s # }; 1258s # 1258s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 1258s # { 1258s # { 1258s # -1, 1258s # (gchar *) "Attack", 1258s # NULL, 1258s # NULL, 1258s # NULL 1258s # }, 1258s # "handle-attack", 1258s # FALSE 1258s # }; 1258s # 1258s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 1258s # { 1258s # &_com_acme_coyote_method_info_run.parent_struct, 1258s # &_com_acme_coyote_method_info_sleep.parent_struct, 1258s # &_com_acme_coyote_method_info_attack.parent_struct, 1258s # NULL 1258s # }; 1258s # 1258s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 1258s # { 1258s # { 1258s # -1, 1258s # (gchar *) "Surprised", 1258s # NULL, 1258s # NULL 1258s # }, 1258s # "surprised" 1258s # }; 1258s # 1258s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 1258s # { 1258s # &_com_acme_coyote_signal_info_surprised.parent_struct, 1258s # NULL 1258s # }; 1258s # 1258s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 1258s # { 1258s # { 1258s # -1, 1258s # (gchar *) "Mood", 1258s # (gchar *) "s", 1258s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 1258s # NULL 1258s # }, 1258s # "mood", 1258s # FALSE, 1258s # TRUE 1258s # }; 1258s # 1258s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 1258s # { 1258s # &_com_acme_coyote_property_info_mood.parent_struct, 1258s # NULL 1258s # }; 1258s # 1258s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 1258s # { 1258s # { 1258s # -1, 1258s # (gchar *) "com.acme.Coyote", 1258s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 1258s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 1258s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 1258s # NULL 1258s # }, 1258s # "com-acme-coyote", 1258s # }; 1258s # 1258s # 1258s # /** 1258s # * com_acme_coyote_interface_info: 1258s # * 1258s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 1258s # * 1258s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 1258s # */ 1258s # GDBusInterfaceInfo * 1258s # com_acme_coyote_interface_info (void) 1258s # { 1258s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_override_properties: 1258s # * @klass: The class structure for a #GObject derived class. 1258s # * @property_id_begin: The property id to assign to the first overridden property. 1258s # * 1258s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 1258s # * The properties are overridden in the order they are defined. 1258s # * 1258s # * Returns: The last property id. 1258s # */ 1258s # guint 1258s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 1258s # { 1258s # g_object_class_override_property (klass, property_id_begin++, "mood"); 1258s # return property_id_begin - 1; 1258s # } 1258s # 1258s # 1258s # inline static void 1258s # com_acme_coyote_signal_marshal_surprised ( 1258s # GClosure *closure, 1258s # GValue *return_value, 1258s # unsigned int n_param_values, 1258s # const GValue *param_values, 1258s # void *invocation_hint, 1258s # void *marshal_data) 1258s # { 1258s # g_cclosure_marshal_VOID__VOID (closure, 1258s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1258s # } 1258s # 1258s # inline static void 1258s # com_acme_coyote_method_marshal_run ( 1258s # GClosure *closure, 1258s # GValue *return_value, 1258s # unsigned int n_param_values, 1258s # const GValue *param_values, 1258s # void *invocation_hint, 1258s # void *marshal_data) 1258s # { 1258s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1258s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1258s # } 1258s # 1258s # inline static void 1258s # com_acme_coyote_method_marshal_sleep ( 1258s # GClosure *closure, 1258s # GValue *return_value, 1258s # unsigned int n_param_values, 1258s # const GValue *param_values, 1258s # void *invocation_hint, 1258s # void *marshal_data) 1258s # { 1258s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1258s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1258s # } 1258s # 1258s # inline static void 1258s # com_acme_coyote_method_marshal_attack ( 1258s # GClosure *closure, 1258s # GValue *return_value, 1258s # unsigned int n_param_values, 1258s # const GValue *param_values, 1258s # void *invocation_hint, 1258s # void *marshal_data) 1258s # { 1258s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 1258s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 1258s # } 1258s # 1258s # 1258s # /** 1258s # * ComAcmeCoyote: 1258s # * 1258s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 1258s # */ 1258s # 1258s # /** 1258s # * ComAcmeCoyoteIface: 1258s # * @parent_iface: The parent interface. 1258s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 1258s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 1258s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 1258s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 1258s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 1258s # * 1258s # * Virtual table for the D-Bus interface com.acme.Coyote. 1258s # */ 1258s # 1258s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 1258s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 1258s # 1258s # static void 1258s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 1258s # { 1258s # /* GObject signals for incoming D-Bus method calls: */ 1258s # /** 1258s # * ComAcmeCoyote::handle-run: 1258s # * @object: A #ComAcmeCoyote. 1258s # * @invocation: A #GDBusMethodInvocation. 1258s # * 1258s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 1258s # * 1258s # * 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. 1258s # * 1258s # * 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. 1258s # */ 1258s # g_signal_new ("handle-run", 1258s # G_TYPE_FROM_INTERFACE (iface), 1258s # G_SIGNAL_RUN_LAST, 1258s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 1258s # g_signal_accumulator_true_handled, 1258s # NULL, 1258s # com_acme_coyote_method_marshal_run, 1258s # G_TYPE_BOOLEAN, 1258s # 1, 1258s # G_TYPE_DBUS_METHOD_INVOCATION); 1258s # 1258s # /** 1258s # * ComAcmeCoyote::handle-sleep: 1258s # * @object: A #ComAcmeCoyote. 1258s # * @invocation: A #GDBusMethodInvocation. 1258s # * 1258s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 1258s # * 1258s # * 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. 1258s # * 1258s # * 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. 1258s # */ 1258s # g_signal_new ("handle-sleep", 1258s # G_TYPE_FROM_INTERFACE (iface), 1258s # G_SIGNAL_RUN_LAST, 1258s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 1258s # g_signal_accumulator_true_handled, 1258s # NULL, 1258s # com_acme_coyote_method_marshal_sleep, 1258s # G_TYPE_BOOLEAN, 1258s # 1, 1258s # G_TYPE_DBUS_METHOD_INVOCATION); 1258s # 1258s # /** 1258s # * ComAcmeCoyote::handle-attack: 1258s # * @object: A #ComAcmeCoyote. 1258s # * @invocation: A #GDBusMethodInvocation. 1258s # * 1258s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 1258s # * 1258s # * 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. 1258s # * 1258s # * 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. 1258s # */ 1258s # g_signal_new ("handle-attack", 1258s # G_TYPE_FROM_INTERFACE (iface), 1258s # G_SIGNAL_RUN_LAST, 1258s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 1258s # g_signal_accumulator_true_handled, 1258s # NULL, 1258s # com_acme_coyote_method_marshal_attack, 1258s # G_TYPE_BOOLEAN, 1258s # 1, 1258s # G_TYPE_DBUS_METHOD_INVOCATION); 1258s # 1258s # /* GObject signals for received D-Bus signals: */ 1258s # /** 1258s # * ComAcmeCoyote::surprised: 1258s # * @object: A #ComAcmeCoyote. 1258s # * 1258s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 1258s # * 1258s # * 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. 1258s # */ 1258s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 1258s # g_signal_new ("surprised", 1258s # G_TYPE_FROM_INTERFACE (iface), 1258s # G_SIGNAL_RUN_LAST, 1258s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 1258s # NULL, 1258s # NULL, 1258s # com_acme_coyote_signal_marshal_surprised, 1258s # G_TYPE_NONE, 1258s # 0); 1258s # 1258s # /* GObject properties for D-Bus properties: */ 1258s # /** 1258s # * ComAcmeCoyote:mood: 1258s # * 1258s # * Represents the D-Bus property "Mood". 1258s # * 1258s # * 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. 1258s # */ 1258s # g_object_interface_install_property (iface, 1258s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_get_mood: (skip) 1258s # * @object: A #ComAcmeCoyote. 1258s # * 1258s # * Gets the value of the "Mood" D-Bus property. 1258s # * 1258s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1258s # * 1258s # * 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. 1258s # * 1258s # * 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. 1258s # */ 1258s # const gchar * 1258s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 1258s # { 1258s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 1258s # 1258s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_dup_mood: (skip) 1258s # * @object: A #ComAcmeCoyote. 1258s # * 1258s # * Gets a copy of the "Mood" D-Bus property. 1258s # * 1258s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 1258s # * 1258s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 1258s # */ 1258s # gchar * 1258s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 1258s # { 1258s # gchar *value; 1258s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 1258s # return value; 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_set_mood: (skip) 1258s # * @object: A #ComAcmeCoyote. 1258s # * @value: The value to set. 1258s # * 1258s # * Sets the "Mood" D-Bus property to @value. 1258s # * 1258s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 1258s # */ 1258s # void 1258s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 1258s # { 1258s # g_object_set (G_OBJECT (object), "mood", value, NULL); 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_emit_surprised: 1258s # * @object: A #ComAcmeCoyote. 1258s # * 1258s # * Emits the "Surprised" D-Bus signal. 1258s # */ 1258s # void 1258s # com_acme_coyote_emit_surprised ( 1258s # ComAcmeCoyote *object) 1258s # { 1258s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_call_run: 1258s # * @proxy: A #ComAcmeCoyoteProxy. 1258s # * @cancellable: (nullable): A #GCancellable or %NULL. 1258s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1258s # * @user_data: User data to pass to @callback. 1258s # * 1258s # * Asynchronously invokes the Run() D-Bus method on @proxy. 1258s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1258s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 1258s # * 1258s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 1258s # */ 1258s # void 1258s # com_acme_coyote_call_run ( 1258s # ComAcmeCoyote *proxy, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data) 1258s # { 1258s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1258s # "Run", 1258s # g_variant_new ("()"), 1258s # G_DBUS_CALL_FLAGS_NONE, 1258s # -1, 1258s # cancellable, 1258s # callback, 1258s # user_data); 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_call_run_finish: 1258s # * @proxy: A #ComAcmeCoyoteProxy. 1258s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 1258s # * @error: Return location for error or %NULL. 1258s # * 1258s # * Finishes an operation started with com_acme_coyote_call_run(). 1258s # * 1258s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1258s # */ 1258s # gboolean 1258s # com_acme_coyote_call_run_finish ( 1258s # ComAcmeCoyote *proxy, 1258s # GAsyncResult *res, 1258s # GError **error) 1258s # { 1258s # GVariant *_ret; 1258s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1258s # if (_ret == NULL) 1258s # goto _out; 1258s # g_variant_get (_ret, 1258s # "()"); 1258s # g_variant_unref (_ret); 1258s # _out: 1258s # return _ret != NULL; 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_call_run_sync: 1258s # * @proxy: A #ComAcmeCoyoteProxy. 1258s # * @cancellable: (nullable): A #GCancellable or %NULL. 1258s # * @error: Return location for error or %NULL. 1258s # * 1258s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1258s # * 1258s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 1258s # * 1258s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1258s # */ 1258s # gboolean 1258s # com_acme_coyote_call_run_sync ( 1258s # ComAcmeCoyote *proxy, 1258s # GCancellable *cancellable, 1258s # GError **error) 1258s # { 1258s # GVariant *_ret; 1258s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1258s # "Run", 1258s # g_variant_new ("()"), 1258s # G_DBUS_CALL_FLAGS_NONE, 1258s # -1, 1258s # cancellable, 1258s # error); 1258s # if (_ret == NULL) 1258s # goto _out; 1258s # g_variant_get (_ret, 1258s # "()"); 1258s # g_variant_unref (_ret); 1258s # _out: 1258s # return _ret != NULL; 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_call_sleep: 1258s # * @proxy: A #ComAcmeCoyoteProxy. 1258s # * @cancellable: (nullable): A #GCancellable or %NULL. 1258s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1258s # * @user_data: User data to pass to @callback. 1258s # * 1258s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 1258s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1258s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 1258s # * 1258s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 1258s # */ 1258s # void 1258s # com_acme_coyote_call_sleep ( 1258s # ComAcmeCoyote *proxy, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data) 1258s # { 1258s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1258s # "Sleep", 1258s # g_variant_new ("()"), 1258s # G_DBUS_CALL_FLAGS_NONE, 1258s # -1, 1258s # cancellable, 1258s # callback, 1258s # user_data); 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_call_sleep_finish: 1258s # * @proxy: A #ComAcmeCoyoteProxy. 1258s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 1258s # * @error: Return location for error or %NULL. 1258s # * 1258s # * Finishes an operation started with com_acme_coyote_call_sleep(). 1258s # * 1258s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1258s # */ 1258s # gboolean 1258s # com_acme_coyote_call_sleep_finish ( 1258s # ComAcmeCoyote *proxy, 1258s # GAsyncResult *res, 1258s # GError **error) 1258s # { 1258s # GVariant *_ret; 1258s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1258s # if (_ret == NULL) 1258s # goto _out; 1258s # g_variant_get (_ret, 1258s # "()"); 1258s # g_variant_unref (_ret); 1258s # _out: 1258s # return _ret != NULL; 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_call_sleep_sync: 1258s # * @proxy: A #ComAcmeCoyoteProxy. 1258s # * @cancellable: (nullable): A #GCancellable or %NULL. 1258s # * @error: Return location for error or %NULL. 1258s # * 1258s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1258s # * 1258s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 1258s # * 1258s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1258s # */ 1258s # gboolean 1258s # com_acme_coyote_call_sleep_sync ( 1258s # ComAcmeCoyote *proxy, 1258s # GCancellable *cancellable, 1258s # GError **error) 1258s # { 1258s # GVariant *_ret; 1258s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1258s # "Sleep", 1258s # g_variant_new ("()"), 1258s # G_DBUS_CALL_FLAGS_NONE, 1258s # -1, 1258s # cancellable, 1258s # error); 1258s # if (_ret == NULL) 1258s # goto _out; 1258s # g_variant_get (_ret, 1258s # "()"); 1258s # g_variant_unref (_ret); 1258s # _out: 1258s # return _ret != NULL; 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_call_attack: 1258s # * @proxy: A #ComAcmeCoyoteProxy. 1258s # * @cancellable: (nullable): A #GCancellable or %NULL. 1258s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 1258s # * @user_data: User data to pass to @callback. 1258s # * 1258s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 1258s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1258s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 1258s # * 1258s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 1258s # */ 1258s # void 1258s # com_acme_coyote_call_attack ( 1258s # ComAcmeCoyote *proxy, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data) 1258s # { 1258s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 1258s # "Attack", 1258s # g_variant_new ("()"), 1258s # G_DBUS_CALL_FLAGS_NONE, 1258s # -1, 1258s # cancellable, 1258s # callback, 1258s # user_data); 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_call_attack_finish: 1258s # * @proxy: A #ComAcmeCoyoteProxy. 1258s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 1258s # * @error: Return location for error or %NULL. 1258s # * 1258s # * Finishes an operation started with com_acme_coyote_call_attack(). 1258s # * 1258s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1258s # */ 1258s # gboolean 1258s # com_acme_coyote_call_attack_finish ( 1258s # ComAcmeCoyote *proxy, 1258s # GAsyncResult *res, 1258s # GError **error) 1258s # { 1258s # GVariant *_ret; 1258s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 1258s # if (_ret == NULL) 1258s # goto _out; 1258s # g_variant_get (_ret, 1258s # "()"); 1258s # g_variant_unref (_ret); 1258s # _out: 1258s # return _ret != NULL; 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_call_attack_sync: 1258s # * @proxy: A #ComAcmeCoyoteProxy. 1258s # * @cancellable: (nullable): A #GCancellable or %NULL. 1258s # * @error: Return location for error or %NULL. 1258s # * 1258s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 1258s # * 1258s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 1258s # * 1258s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 1258s # */ 1258s # gboolean 1258s # com_acme_coyote_call_attack_sync ( 1258s # ComAcmeCoyote *proxy, 1258s # GCancellable *cancellable, 1258s # GError **error) 1258s # { 1258s # GVariant *_ret; 1258s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 1258s # "Attack", 1258s # g_variant_new ("()"), 1258s # G_DBUS_CALL_FLAGS_NONE, 1258s # -1, 1258s # cancellable, 1258s # error); 1258s # if (_ret == NULL) 1258s # goto _out; 1258s # g_variant_get (_ret, 1258s # "()"); 1258s # g_variant_unref (_ret); 1258s # _out: 1258s # return _ret != NULL; 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_complete_run: 1258s # * @object: A #ComAcmeCoyote. 1258s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1258s # * 1258s # * 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. 1258s # * 1258s # * This method will free @invocation, you cannot use it afterwards. 1258s # */ 1258s # void 1258s # com_acme_coyote_complete_run ( 1258s # ComAcmeCoyote *object G_GNUC_UNUSED, 1258s # GDBusMethodInvocation *invocation) 1258s # { 1258s # g_dbus_method_invocation_return_value (invocation, 1258s # g_variant_new ("()")); 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_complete_sleep: 1258s # * @object: A #ComAcmeCoyote. 1258s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1258s # * 1258s # * 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. 1258s # * 1258s # * This method will free @invocation, you cannot use it afterwards. 1258s # */ 1258s # void 1258s # com_acme_coyote_complete_sleep ( 1258s # ComAcmeCoyote *object G_GNUC_UNUSED, 1258s # GDBusMethodInvocation *invocation) 1258s # { 1258s # g_dbus_method_invocation_return_value (invocation, 1258s # g_variant_new ("()")); 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_complete_attack: 1258s # * @object: A #ComAcmeCoyote. 1258s # * @invocation: (transfer full): A #GDBusMethodInvocation. 1258s # * 1258s # * 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. 1258s # * 1258s # * This method will free @invocation, you cannot use it afterwards. 1258s # */ 1258s # void 1258s # com_acme_coyote_complete_attack ( 1258s # ComAcmeCoyote *object G_GNUC_UNUSED, 1258s # GDBusMethodInvocation *invocation) 1258s # { 1258s # g_dbus_method_invocation_return_value (invocation, 1258s # g_variant_new ("()")); 1258s # } 1258s # 1258s # /* ------------------------------------------------------------------------ */ 1258s # 1258s # /** 1258s # * ComAcmeCoyoteProxy: 1258s # * 1258s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 1258s # */ 1258s # 1258s # /** 1258s # * ComAcmeCoyoteProxyClass: 1258s # * @parent_class: The parent class. 1258s # * 1258s # * Class structure for #ComAcmeCoyoteProxy. 1258s # */ 1258s # 1258s # struct _ComAcmeCoyoteProxyPrivate 1258s # { 1258s # GData *qdata; 1258s # }; 1258s # 1258s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 1258s # 1258s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1258s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1258s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 1258s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1258s # 1258s # #else 1258s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 1258s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 1258s # 1258s # #endif 1258s # static void 1258s # com_acme_coyote_proxy_finalize (GObject *object) 1258s # { 1258s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1258s # g_datalist_clear (&proxy->priv->qdata); 1258s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 1258s # } 1258s # 1258s # static void 1258s # com_acme_coyote_proxy_get_property (GObject *object, 1258s # guint prop_id, 1258s # GValue *value, 1258s # GParamSpec *pspec G_GNUC_UNUSED) 1258s # { 1258s # const _ExtendedGDBusPropertyInfo *info; 1258s # GVariant *variant; 1258s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1258s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1258s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 1258s # if (info->use_gvariant) 1258s # { 1258s # g_value_set_variant (value, variant); 1258s # } 1258s # else 1258s # { 1258s # if (variant != NULL) 1258s # g_dbus_gvariant_to_gvalue (variant, value); 1258s # } 1258s # if (variant != NULL) 1258s # g_variant_unref (variant); 1258s # } 1258s # 1258s # static void 1258s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 1258s # GAsyncResult *res, 1258s # gpointer user_data) 1258s # { 1258s # const _ExtendedGDBusPropertyInfo *info = user_data; 1258s # GError *error; 1258s # GVariant *_ret; 1258s # error = NULL; 1258s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 1258s # if (!_ret) 1258s # { 1258s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 1258s # info->parent_struct.name, 1258s # error->message, g_quark_to_string (error->domain), error->code); 1258s # g_error_free (error); 1258s # } 1258s # else 1258s # { 1258s # g_variant_unref (_ret); 1258s # } 1258s # } 1258s # 1258s # static void 1258s # com_acme_coyote_proxy_set_property (GObject *object, 1258s # guint prop_id, 1258s # const GValue *value, 1258s # GParamSpec *pspec G_GNUC_UNUSED) 1258s # { 1258s # const _ExtendedGDBusPropertyInfo *info; 1258s # GVariant *variant; 1258s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1258s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1258s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 1258s # g_dbus_proxy_call (G_DBUS_PROXY (object), 1258s # "org.freedesktop.DBus.Properties.Set", 1258s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 1258s # G_DBUS_CALL_FLAGS_NONE, 1258s # -1, 1258s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 1258s # g_variant_unref (variant); 1258s # } 1258s # 1258s # static void 1258s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 1258s # const gchar *sender_name G_GNUC_UNUSED, 1258s # const gchar *signal_name, 1258s # GVariant *parameters) 1258s # { 1258s # _ExtendedGDBusSignalInfo *info; 1258s # GVariantIter iter; 1258s # GVariant *child; 1258s # GValue *paramv; 1258s # gsize num_params; 1258s # gsize n; 1258s # guint signal_id; 1258s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 1258s # if (info == NULL) 1258s # return; 1258s # num_params = g_variant_n_children (parameters); 1258s # paramv = g_new0 (GValue, num_params + 1); 1258s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 1258s # g_value_set_object (¶mv[0], proxy); 1258s # g_variant_iter_init (&iter, parameters); 1258s # n = 1; 1258s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1258s # { 1258s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 1258s # if (arg_info->use_gvariant) 1258s # { 1258s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1258s # g_value_set_variant (¶mv[n], child); 1258s # n++; 1258s # } 1258s # else 1258s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1258s # g_variant_unref (child); 1258s # } 1258s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1258s # g_signal_emitv (paramv, signal_id, 0, NULL); 1258s # for (n = 0; n < num_params + 1; n++) 1258s # g_value_unset (¶mv[n]); 1258s # g_free (paramv); 1258s # } 1258s # 1258s # static void 1258s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 1258s # GVariant *changed_properties, 1258s # const gchar *const *invalidated_properties) 1258s # { 1258s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 1258s # guint n; 1258s # const gchar *key; 1258s # GVariantIter *iter; 1258s # _ExtendedGDBusPropertyInfo *info; 1258s # g_variant_get (changed_properties, "a{sv}", &iter); 1258s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 1258s # { 1258s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 1258s # g_datalist_remove_data (&proxy->priv->qdata, key); 1258s # if (info != NULL) 1258s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1258s # } 1258s # g_variant_iter_free (iter); 1258s # for (n = 0; invalidated_properties[n] != NULL; n++) 1258s # { 1258s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 1258s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 1258s # if (info != NULL) 1258s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 1258s # } 1258s # } 1258s # 1258s # static const gchar * 1258s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 1258s # { 1258s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 1258s # GVariant *variant; 1258s # const gchar *value = NULL; 1258s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 1258s # if (variant != NULL) 1258s # { 1258s # value = g_variant_get_string (variant, NULL); 1258s # g_variant_unref (variant); 1258s # } 1258s # return value; 1258s # } 1258s # 1258s # static void 1258s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 1258s # { 1258s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1258s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 1258s # #else 1258s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 1258s # #endif 1258s # 1258s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 1258s # } 1258s # 1258s # static void 1258s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 1258s # { 1258s # GObjectClass *gobject_class; 1258s # GDBusProxyClass *proxy_class; 1258s # 1258s # gobject_class = G_OBJECT_CLASS (klass); 1258s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 1258s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 1258s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 1258s # 1258s # proxy_class = G_DBUS_PROXY_CLASS (klass); 1258s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 1258s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 1258s # 1258s # com_acme_coyote_override_properties (gobject_class, 1); 1258s # 1258s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1258s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 1258s # #endif 1258s # } 1258s # 1258s # static void 1258s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 1258s # { 1258s # iface->get_mood = com_acme_coyote_proxy_get_mood; 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_proxy_new: 1258s # * @connection: A #GDBusConnection. 1258s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1258s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1258s # * @object_path: An object path. 1258s # * @cancellable: (nullable): A #GCancellable or %NULL. 1258s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1258s # * @user_data: User data to pass to @callback. 1258s # * 1258s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 1258s # * 1258s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1258s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 1258s # * 1258s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 1258s # */ 1258s # void 1258s # com_acme_coyote_proxy_new ( 1258s # GDBusConnection *connection, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data) 1258s # { 1258s # 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); 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_proxy_new_finish: 1258s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 1258s # * @error: Return location for error or %NULL 1258s # * 1258s # * Finishes an operation started with com_acme_coyote_proxy_new(). 1258s # * 1258s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1258s # */ 1258s # ComAcmeCoyote * 1258s # com_acme_coyote_proxy_new_finish ( 1258s # GAsyncResult *res, 1258s # GError **error) 1258s # { 1258s # GObject *ret; 1258s # GObject *source_object; 1258s # source_object = g_async_result_get_source_object (res); 1258s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1258s # g_object_unref (source_object); 1258s # if (ret != NULL) 1258s # return COM_ACME_COYOTE (ret); 1258s # else 1258s # return NULL; 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_proxy_new_sync: 1258s # * @connection: A #GDBusConnection. 1258s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1258s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 1258s # * @object_path: An object path. 1258s # * @cancellable: (nullable): A #GCancellable or %NULL. 1258s # * @error: Return location for error or %NULL 1258s # * 1258s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 1258s # * 1258s # * The calling thread is blocked until a reply is received. 1258s # * 1258s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 1258s # * 1258s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1258s # */ 1258s # ComAcmeCoyote * 1258s # com_acme_coyote_proxy_new_sync ( 1258s # GDBusConnection *connection, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GError **error) 1258s # { 1258s # GInitable *ret; 1258s # 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); 1258s # if (ret != NULL) 1258s # return COM_ACME_COYOTE (ret); 1258s # else 1258s # return NULL; 1258s # } 1258s # 1258s # 1258s # /** 1258s # * com_acme_coyote_proxy_new_for_bus: 1258s # * @bus_type: A #GBusType. 1258s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1258s # * @name: A bus name (well-known or unique). 1258s # * @object_path: An object path. 1258s # * @cancellable: (nullable): A #GCancellable or %NULL. 1258s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 1258s # * @user_data: User data to pass to @callback. 1258s # * 1258s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 1258s # * 1258s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 1258s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 1258s # * 1258s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 1258s # */ 1258s # void 1258s # com_acme_coyote_proxy_new_for_bus ( 1258s # GBusType bus_type, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data) 1258s # { 1258s # 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); 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_proxy_new_for_bus_finish: 1258s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 1258s # * @error: Return location for error or %NULL 1258s # * 1258s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 1258s # * 1258s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1258s # */ 1258s # ComAcmeCoyote * 1258s # com_acme_coyote_proxy_new_for_bus_finish ( 1258s # GAsyncResult *res, 1258s # GError **error) 1258s # { 1258s # GObject *ret; 1258s # GObject *source_object; 1258s # source_object = g_async_result_get_source_object (res); 1258s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 1258s # g_object_unref (source_object); 1258s # if (ret != NULL) 1258s # return COM_ACME_COYOTE (ret); 1258s # else 1258s # return NULL; 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_proxy_new_for_bus_sync: 1258s # * @bus_type: A #GBusType. 1258s # * @flags: Flags from the #GDBusProxyFlags enumeration. 1258s # * @name: A bus name (well-known or unique). 1258s # * @object_path: An object path. 1258s # * @cancellable: (nullable): A #GCancellable or %NULL. 1258s # * @error: Return location for error or %NULL 1258s # * 1258s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 1258s # * 1258s # * The calling thread is blocked until a reply is received. 1258s # * 1258s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 1258s # * 1258s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 1258s # */ 1258s # ComAcmeCoyote * 1258s # com_acme_coyote_proxy_new_for_bus_sync ( 1258s # GBusType bus_type, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GError **error) 1258s # { 1258s # GInitable *ret; 1258s # 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); 1258s # if (ret != NULL) 1258s # return COM_ACME_COYOTE (ret); 1258s # else 1258s # return NULL; 1258s # } 1258s # 1258s # 1258s # /* ------------------------------------------------------------------------ */ 1258s # 1258s # /** 1258s # * ComAcmeCoyoteSkeleton: 1258s # * 1258s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 1258s # */ 1258s # 1258s # /** 1258s # * ComAcmeCoyoteSkeletonClass: 1258s # * @parent_class: The parent class. 1258s # * 1258s # * Class structure for #ComAcmeCoyoteSkeleton. 1258s # */ 1258s # 1258s # struct _ComAcmeCoyoteSkeletonPrivate 1258s # { 1258s # GValue *properties; 1258s # GList *changed_properties; 1258s # GSource *changed_properties_idle_source; 1258s # GMainContext *context; 1258s # GMutex lock; 1258s # }; 1258s # 1258s # static void 1258s # _com_acme_coyote_skeleton_handle_method_call ( 1258s # GDBusConnection *connection G_GNUC_UNUSED, 1258s # const gchar *sender G_GNUC_UNUSED, 1258s # const gchar *object_path G_GNUC_UNUSED, 1258s # const gchar *interface_name, 1258s # const gchar *method_name, 1258s # GVariant *parameters, 1258s # GDBusMethodInvocation *invocation, 1258s # gpointer user_data) 1258s # { 1258s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1258s # _ExtendedGDBusMethodInfo *info; 1258s # GVariantIter iter; 1258s # GVariant *child; 1258s # GValue *paramv; 1258s # gsize num_params; 1258s # guint num_extra; 1258s # gsize n; 1258s # guint signal_id; 1258s # GValue return_value = G_VALUE_INIT; 1258s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 1258s # g_assert (info != NULL); 1258s # num_params = g_variant_n_children (parameters); 1258s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 1258s # n = 0; 1258s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 1258s # g_value_set_object (¶mv[n++], skeleton); 1258s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 1258s # g_value_set_object (¶mv[n++], invocation); 1258s # if (info->pass_fdlist) 1258s # { 1258s # #ifdef G_OS_UNIX 1258s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 1258s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 1258s # #else 1258s # g_assert_not_reached (); 1258s # #endif 1258s # } 1258s # g_variant_iter_init (&iter, parameters); 1258s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 1258s # { 1258s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 1258s # if (arg_info->use_gvariant) 1258s # { 1258s # g_value_init (¶mv[n], G_TYPE_VARIANT); 1258s # g_value_set_variant (¶mv[n], child); 1258s # n++; 1258s # } 1258s # else 1258s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 1258s # g_variant_unref (child); 1258s # } 1258s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 1258s # g_value_init (&return_value, G_TYPE_BOOLEAN); 1258s # g_signal_emitv (paramv, signal_id, 0, &return_value); 1258s # if (!g_value_get_boolean (&return_value)) 1258s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 1258s # g_value_unset (&return_value); 1258s # for (n = 0; n < num_params + num_extra; n++) 1258s # g_value_unset (¶mv[n]); 1258s # g_free (paramv); 1258s # } 1258s # 1258s # static GVariant * 1258s # _com_acme_coyote_skeleton_handle_get_property ( 1258s # GDBusConnection *connection G_GNUC_UNUSED, 1258s # const gchar *sender G_GNUC_UNUSED, 1258s # const gchar *object_path G_GNUC_UNUSED, 1258s # const gchar *interface_name G_GNUC_UNUSED, 1258s # const gchar *property_name, 1258s # GError **error, 1258s # gpointer user_data) 1258s # { 1258s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1258s # GValue value = G_VALUE_INIT; 1258s # GParamSpec *pspec; 1258s # _ExtendedGDBusPropertyInfo *info; 1258s # GVariant *ret; 1258s # ret = NULL; 1258s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1258s # g_assert (info != NULL); 1258s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1258s # if (pspec == NULL) 1258s # { 1258s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1258s # } 1258s # else 1258s # { 1258s # g_value_init (&value, pspec->value_type); 1258s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1258s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 1258s # g_value_unset (&value); 1258s # } 1258s # return ret; 1258s # } 1258s # 1258s # static gboolean 1258s # _com_acme_coyote_skeleton_handle_set_property ( 1258s # GDBusConnection *connection G_GNUC_UNUSED, 1258s # const gchar *sender G_GNUC_UNUSED, 1258s # const gchar *object_path G_GNUC_UNUSED, 1258s # const gchar *interface_name G_GNUC_UNUSED, 1258s # const gchar *property_name, 1258s # GVariant *variant, 1258s # GError **error, 1258s # gpointer user_data) 1258s # { 1258s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1258s # GValue value = G_VALUE_INIT; 1258s # GParamSpec *pspec; 1258s # _ExtendedGDBusPropertyInfo *info; 1258s # gboolean ret; 1258s # ret = FALSE; 1258s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 1258s # g_assert (info != NULL); 1258s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 1258s # if (pspec == NULL) 1258s # { 1258s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 1258s # } 1258s # else 1258s # { 1258s # if (info->use_gvariant) 1258s # g_value_set_variant (&value, variant); 1258s # else 1258s # g_dbus_gvariant_to_gvalue (variant, &value); 1258s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 1258s # g_value_unset (&value); 1258s # ret = TRUE; 1258s # } 1258s # return ret; 1258s # } 1258s # 1258s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 1258s # { 1258s # _com_acme_coyote_skeleton_handle_method_call, 1258s # _com_acme_coyote_skeleton_handle_get_property, 1258s # _com_acme_coyote_skeleton_handle_set_property, 1258s # {NULL} 1258s # }; 1258s # 1258s # static GDBusInterfaceInfo * 1258s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1258s # { 1258s # return com_acme_coyote_interface_info (); 1258s # } 1258s # 1258s # static GDBusInterfaceVTable * 1258s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 1258s # { 1258s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 1258s # } 1258s # 1258s # static GVariant * 1258s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 1258s # { 1258s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1258s # 1258s # GVariantBuilder builder; 1258s # guint n; 1258s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1258s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1258s # #else 1258s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 1258s # #endif 1258s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 1258s # goto out; 1258s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 1258s # { 1258s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 1258s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 1258s # { 1258s # GVariant *value; 1258s # 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); 1258s # if (value != NULL) 1258s # { 1258s # g_variant_take_ref (value); 1258s # g_variant_builder_add (&builder, "{sv}", info->name, value); 1258s # g_variant_unref (value); 1258s # } 1258s # } 1258s # } 1258s # out: 1258s # return g_variant_builder_end (&builder); 1258s # } 1258s # 1258s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 1258s # 1258s # static void 1258s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 1258s # { 1258s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 1258s # gboolean emit_changed = FALSE; 1258s # 1258s # g_mutex_lock (&skeleton->priv->lock); 1258s # if (skeleton->priv->changed_properties_idle_source != NULL) 1258s # { 1258s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1258s # skeleton->priv->changed_properties_idle_source = NULL; 1258s # emit_changed = TRUE; 1258s # } 1258s # g_mutex_unlock (&skeleton->priv->lock); 1258s # 1258s # if (emit_changed) 1258s # _com_acme_coyote_emit_changed (skeleton); 1258s # } 1258s # 1258s # static void 1258s # _com_acme_coyote_on_signal_surprised ( 1258s # ComAcmeCoyote *object) 1258s # { 1258s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1258s # 1258s # GList *connections, *l; 1258s # GVariant *signal_variant; 1258s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1258s # 1258s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 1258s # for (l = connections; l != NULL; l = l->next) 1258s # { 1258s # GDBusConnection *connection = l->data; 1258s # g_dbus_connection_emit_signal (connection, 1258s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 1258s # signal_variant, NULL); 1258s # } 1258s # g_variant_unref (signal_variant); 1258s # g_list_free_full (connections, g_object_unref); 1258s # } 1258s # 1258s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 1258s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1258s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1258s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 1258s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1258s # 1258s # #else 1258s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 1258s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 1258s # 1258s # #endif 1258s # static void 1258s # com_acme_coyote_skeleton_finalize (GObject *object) 1258s # { 1258s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1258s # guint n; 1258s # for (n = 0; n < 1; n++) 1258s # g_value_unset (&skeleton->priv->properties[n]); 1258s # g_free (skeleton->priv->properties); 1258s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1258s # if (skeleton->priv->changed_properties_idle_source != NULL) 1258s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 1258s # g_main_context_unref (skeleton->priv->context); 1258s # g_mutex_clear (&skeleton->priv->lock); 1258s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 1258s # } 1258s # 1258s # static void 1258s # com_acme_coyote_skeleton_get_property (GObject *object, 1258s # guint prop_id, 1258s # GValue *value, 1258s # GParamSpec *pspec G_GNUC_UNUSED) 1258s # { 1258s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1258s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1258s # g_mutex_lock (&skeleton->priv->lock); 1258s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 1258s # g_mutex_unlock (&skeleton->priv->lock); 1258s # } 1258s # 1258s # static gboolean 1258s # _com_acme_coyote_emit_changed (gpointer user_data) 1258s # { 1258s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 1258s # GList *l; 1258s # GVariantBuilder builder; 1258s # GVariantBuilder invalidated_builder; 1258s # guint num_changes; 1258s # 1258s # g_mutex_lock (&skeleton->priv->lock); 1258s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 1258s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 1258s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 1258s # #else 1258s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 1258s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 1258s # #endif 1258s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 1258s # { 1258s # ChangedProperty *cp = l->data; 1258s # GVariant *variant; 1258s # const GValue *cur_value; 1258s # 1258s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 1258s # if (!_g_value_equal (cur_value, &cp->orig_value)) 1258s # { 1258s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 1258s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 1258s # g_variant_unref (variant); 1258s # num_changes++; 1258s # } 1258s # } 1258s # if (num_changes > 0) 1258s # { 1258s # GList *connections, *ll; 1258s # GVariant *signal_variant; 1258s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 1258s # &builder, &invalidated_builder)); 1258s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 1258s # for (ll = connections; ll != NULL; ll = ll->next) 1258s # { 1258s # GDBusConnection *connection = ll->data; 1258s # 1258s # g_dbus_connection_emit_signal (connection, 1258s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 1258s # "org.freedesktop.DBus.Properties", 1258s # "PropertiesChanged", 1258s # signal_variant, 1258s # NULL); 1258s # } 1258s # g_variant_unref (signal_variant); 1258s # g_list_free_full (connections, g_object_unref); 1258s # } 1258s # else 1258s # { 1258s # g_variant_builder_clear (&builder); 1258s # g_variant_builder_clear (&invalidated_builder); 1258s # } 1258s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 1258s # skeleton->priv->changed_properties = NULL; 1258s # skeleton->priv->changed_properties_idle_source = NULL; 1258s # g_mutex_unlock (&skeleton->priv->lock); 1258s # return FALSE; 1258s # } 1258s # 1258s # static void 1258s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 1258s # { 1258s # ChangedProperty *cp; 1258s # GList *l; 1258s # cp = NULL; 1258s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 1258s # { 1258s # ChangedProperty *i_cp = l->data; 1258s # if (i_cp->info == info) 1258s # { 1258s # cp = i_cp; 1258s # break; 1258s # } 1258s # } 1258s # if (cp == NULL) 1258s # { 1258s # cp = g_new0 (ChangedProperty, 1); 1258s # cp->prop_id = prop_id; 1258s # cp->info = info; 1258s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 1258s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 1258s # g_value_copy (orig_value, &cp->orig_value); 1258s # } 1258s # } 1258s # 1258s # static void 1258s # com_acme_coyote_skeleton_notify (GObject *object, 1258s # GParamSpec *pspec G_GNUC_UNUSED) 1258s # { 1258s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1258s # g_mutex_lock (&skeleton->priv->lock); 1258s # if (skeleton->priv->changed_properties != NULL && 1258s # skeleton->priv->changed_properties_idle_source == NULL) 1258s # { 1258s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 1258s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 1258s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 1258s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 1258s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 1258s # g_source_unref (skeleton->priv->changed_properties_idle_source); 1258s # } 1258s # g_mutex_unlock (&skeleton->priv->lock); 1258s # } 1258s # 1258s # static void 1258s # com_acme_coyote_skeleton_set_property (GObject *object, 1258s # guint prop_id, 1258s # const GValue *value, 1258s # GParamSpec *pspec) 1258s # { 1258s # const _ExtendedGDBusPropertyInfo *info; 1258s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1258s # g_assert (prop_id != 0 && prop_id - 1 < 1); 1258s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 1258s # g_mutex_lock (&skeleton->priv->lock); 1258s # g_object_freeze_notify (object); 1258s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 1258s # { 1258s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 1258s # info->emits_changed_signal) 1258s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 1258s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 1258s # g_object_notify_by_pspec (object, pspec); 1258s # } 1258s # g_mutex_unlock (&skeleton->priv->lock); 1258s # g_object_thaw_notify (object); 1258s # } 1258s # 1258s # static void 1258s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 1258s # { 1258s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 1258s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 1258s # #else 1258s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 1258s # #endif 1258s # 1258s # g_mutex_init (&skeleton->priv->lock); 1258s # skeleton->priv->context = g_main_context_ref_thread_default (); 1258s # skeleton->priv->properties = g_new0 (GValue, 1); 1258s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 1258s # } 1258s # 1258s # static const gchar * 1258s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 1258s # { 1258s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 1258s # const gchar *value; 1258s # g_mutex_lock (&skeleton->priv->lock); 1258s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 1258s # g_mutex_unlock (&skeleton->priv->lock); 1258s # return value; 1258s # } 1258s # 1258s # static void 1258s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 1258s # { 1258s # GObjectClass *gobject_class; 1258s # GDBusInterfaceSkeletonClass *skeleton_class; 1258s # 1258s # gobject_class = G_OBJECT_CLASS (klass); 1258s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 1258s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 1258s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 1258s # gobject_class->notify = com_acme_coyote_skeleton_notify; 1258s # 1258s # 1258s # com_acme_coyote_override_properties (gobject_class, 1); 1258s # 1258s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 1258s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 1258s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 1258s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 1258s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 1258s # 1258s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 1258s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 1258s # #endif 1258s # } 1258s # 1258s # static void 1258s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 1258s # { 1258s # iface->surprised = _com_acme_coyote_on_signal_surprised; 1258s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 1258s # } 1258s # 1258s # /** 1258s # * com_acme_coyote_skeleton_new: 1258s # * 1258s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 1258s # * 1258s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 1258s # */ 1258s # ComAcmeCoyote * 1258s # com_acme_coyote_skeleton_new (void) 1258s # { 1258s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 1258s # } 1258s # Error: 1258s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 1258s # gdbus-codegen: /usr/bin/gdbus-codegen 1258s # tmpdir: /tmp/tmpb8by5dic 1258s # /tmp/tmpb8by5dic/tmpgcb6y4l1.xml: 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb8by5dic/tmpgcb6y4l1.xml', '--output', '-', '--header'] 1258s # Return code: 0 1258s # Output: 1258s # /* 1258s # * This file is generated by gdbus-codegen, do not modify it. 1258s # * 1258s # * The license of this code is the same as for the D-Bus interface description 1258s # * it was derived from. Note that it links to GLib, so must comply with the 1258s # * LGPL linking clauses. 1258s # */ 1258s # 1258s # #ifndef __STDOUT__ 1258s # #define __STDOUT__ 1258s # 1258s # #include 1258s # 1258s # G_BEGIN_DECLS 1258s # 1258s # 1258s # /* ------------------------------------------------------------------------ */ 1258s # /* Declarations for FDPassing */ 1258s # 1258s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1258s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1258s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1258s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1258s # 1258s # struct _FDPassing; 1258s # typedef struct _FDPassing FDPassing; 1258s # typedef struct _FDPassingIface FDPassingIface; 1258s # 1258s # struct _FDPassingIface 1258s # { 1258s # GTypeInterface parent_iface; 1258s # 1258s # gboolean (*handle_hello_fd) ( 1258s # FDPassing *object, 1258s # GDBusMethodInvocation *invocation, 1258s # GUnixFDList *fd_list, 1258s # const gchar *arg_greeting); 1258s # 1258s # gboolean (*handle_no_annotation) ( 1258s # FDPassing *object, 1258s # GDBusMethodInvocation *invocation, 1258s # GVariant *arg_greeting, 1258s # const gchar *arg_greeting_locale); 1258s # 1258s # gboolean (*handle_no_annotation_nested) ( 1258s # FDPassing *object, 1258s # GDBusMethodInvocation *invocation, 1258s # GVariant *arg_files); 1258s # 1258s # }; 1258s # 1258s # GType fdpassing_get_type (void) G_GNUC_CONST; 1258s # 1258s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1258s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1258s # 1258s # 1258s # /* D-Bus method call completion functions: */ 1258s # void fdpassing_complete_hello_fd ( 1258s # FDPassing *object, 1258s # GDBusMethodInvocation *invocation, 1258s # GUnixFDList *fd_list, 1258s # const gchar *response); 1258s # 1258s # void fdpassing_complete_no_annotation ( 1258s # FDPassing *object, 1258s # GDBusMethodInvocation *invocation, 1258s # GVariant *response, 1258s # const gchar *response_locale); 1258s # 1258s # void fdpassing_complete_no_annotation_nested ( 1258s # FDPassing *object, 1258s # GDBusMethodInvocation *invocation); 1258s # 1258s # 1258s # 1258s # /* D-Bus method calls: */ 1258s # void fdpassing_call_hello_fd ( 1258s # FDPassing *proxy, 1258s # const gchar *arg_greeting, 1258s # GUnixFDList *fd_list, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data); 1258s # 1258s # gboolean fdpassing_call_hello_fd_finish ( 1258s # FDPassing *proxy, 1258s # gchar **out_response, 1258s # GUnixFDList **out_fd_list, 1258s # GAsyncResult *res, 1258s # GError **error); 1258s # 1258s # gboolean fdpassing_call_hello_fd_sync ( 1258s # FDPassing *proxy, 1258s # const gchar *arg_greeting, 1258s # GUnixFDList *fd_list, 1258s # gchar **out_response, 1258s # GUnixFDList **out_fd_list, 1258s # GCancellable *cancellable, 1258s # GError **error); 1258s # 1258s # void fdpassing_call_no_annotation ( 1258s # FDPassing *proxy, 1258s # GVariant *arg_greeting, 1258s # const gchar *arg_greeting_locale, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data); 1258s # 1258s # gboolean fdpassing_call_no_annotation_finish ( 1258s # FDPassing *proxy, 1258s # GVariant **out_response, 1258s # gchar **out_response_locale, 1258s # GAsyncResult *res, 1258s # GError **error); 1258s # 1258s # gboolean fdpassing_call_no_annotation_sync ( 1258s # FDPassing *proxy, 1258s # GVariant *arg_greeting, 1258s # const gchar *arg_greeting_locale, 1258s # GVariant **out_response, 1258s # gchar **out_response_locale, 1258s # GCancellable *cancellable, 1258s # GError **error); 1258s # 1258s # void fdpassing_call_no_annotation_nested ( 1258s # FDPassing *proxy, 1258s # GVariant *arg_files, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data); 1258s # 1258s # gboolean fdpassing_call_no_annotation_nested_finish ( 1258s # FDPassing *proxy, 1258s # GAsyncResult *res, 1258s # GError **error); 1258s # 1258s # gboolean fdpassing_call_no_annotation_nested_sync ( 1258s # FDPassing *proxy, 1258s # GVariant *arg_files, 1258s # GCancellable *cancellable, 1258s # GError **error); 1258s # 1258s # 1258s # 1258s # /* ---- */ 1258s # 1258s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1258s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1258s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1258s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1258s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1258s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1258s # 1258s # typedef struct _FDPassingProxy FDPassingProxy; 1258s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1258s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1258s # 1258s # struct _FDPassingProxy 1258s # { 1258s # /*< private >*/ 1258s # GDBusProxy parent_instance; 1258s # FDPassingProxyPrivate *priv; 1258s # }; 1258s # 1258s # struct _FDPassingProxyClass 1258s # { 1258s # GDBusProxyClass parent_class; 1258s # }; 1258s # 1258s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1258s # 1258s # #if GLIB_CHECK_VERSION(2, 44, 0) 1258s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1258s # #endif 1258s # 1258s # void fdpassing_proxy_new ( 1258s # GDBusConnection *connection, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data); 1258s # FDPassing *fdpassing_proxy_new_finish ( 1258s # GAsyncResult *res, 1258s # GError **error); 1258s # FDPassing *fdpassing_proxy_new_sync ( 1258s # GDBusConnection *connection, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GError **error); 1258s # 1258s # void fdpassing_proxy_new_for_bus ( 1258s # GBusType bus_type, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data); 1258s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1258s # GAsyncResult *res, 1258s # GError **error); 1258s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1258s # GBusType bus_type, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GError **error); 1258s # 1258s # 1258s # /* ---- */ 1258s # 1258s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1258s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1258s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1258s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1258s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1258s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1258s # 1258s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1258s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1258s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1258s # 1258s # struct _FDPassingSkeleton 1258s # { 1258s # /*< private >*/ 1258s # GDBusInterfaceSkeleton parent_instance; 1258s # FDPassingSkeletonPrivate *priv; 1258s # }; 1258s # 1258s # struct _FDPassingSkeletonClass 1258s # { 1258s # GDBusInterfaceSkeletonClass parent_class; 1258s # }; 1258s # 1258s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1258s # 1258s # #if GLIB_CHECK_VERSION(2, 44, 0) 1258s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1258s # #endif 1258s # 1258s # FDPassing *fdpassing_skeleton_new (void); 1258s # 1258s # 1258s # G_END_DECLS 1258s # 1258s # #endif /* __STDOUT__ */ 1258s # Error: 1258s # 1258s # /tmp/tmpb8by5dic/tmp6cwh6ssn.xml: 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb8by5dic/tmp6cwh6ssn.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 1258s # Return code: 0 1258s # Output: 1258s # /* 1258s # * This file is generated by gdbus-codegen, do not modify it. 1258s # * 1258s # * The license of this code is the same as for the D-Bus interface description 1258s # * it was derived from. Note that it links to GLib, so must comply with the 1258s # * LGPL linking clauses. 1258s # */ 1258s # 1258s # #ifndef __STDOUT__ 1258s # #define __STDOUT__ 1258s # 1258s # #include 1258s # 1258s # G_BEGIN_DECLS 1258s # 1258s # 1258s # /* ------------------------------------------------------------------------ */ 1258s # /* Declarations for FDPassing */ 1258s # 1258s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1258s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1258s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1258s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1258s # 1258s # struct _FDPassing; 1258s # typedef struct _FDPassing FDPassing; 1258s # typedef struct _FDPassingIface FDPassingIface; 1258s # 1258s # struct _FDPassingIface 1258s # { 1258s # GTypeInterface parent_iface; 1258s # 1258s # gboolean (*handle_hello_fd) ( 1258s # FDPassing *object, 1258s # GDBusMethodInvocation *invocation, 1258s # GUnixFDList *fd_list, 1258s # const gchar *arg_greeting); 1258s # 1258s # gboolean (*handle_no_annotation) ( 1258s # FDPassing *object, 1258s # GDBusMethodInvocation *invocation, 1258s # GVariant *arg_greeting, 1258s # const gchar *arg_greeting_locale); 1258s # 1258s # gboolean (*handle_no_annotation_nested) ( 1258s # FDPassing *object, 1258s # GDBusMethodInvocation *invocation, 1258s # GVariant *arg_files); 1258s # 1258s # }; 1258s # 1258s # GType fdpassing_get_type (void) G_GNUC_CONST; 1258s # 1258s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1258s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1258s # 1258s # 1258s # /* D-Bus method call completion functions: */ 1258s # void fdpassing_complete_hello_fd ( 1258s # FDPassing *object, 1258s # GDBusMethodInvocation *invocation, 1258s # GUnixFDList *fd_list, 1258s # const gchar *response); 1258s # 1258s # void fdpassing_complete_no_annotation ( 1258s # FDPassing *object, 1258s # GDBusMethodInvocation *invocation, 1258s # GVariant *response, 1258s # const gchar *response_locale); 1258s # 1258s # void fdpassing_complete_no_annotation_nested ( 1258s # FDPassing *object, 1258s # GDBusMethodInvocation *invocation); 1258s # 1258s # 1258s # 1258s # /* D-Bus method calls: */ 1258s # void fdpassing_call_hello_fd ( 1258s # FDPassing *proxy, 1258s # const gchar *arg_greeting, 1258s # GUnixFDList *fd_list, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data); 1258s # 1258s # gboolean fdpassing_call_hello_fd_finish ( 1258s # FDPassing *proxy, 1258s # gchar **out_response, 1258s # GUnixFDList **out_fd_list, 1258s # GAsyncResult *res, 1258s # GError **error); 1258s # 1258s # gboolean fdpassing_call_hello_fd_sync ( 1258s # FDPassing *proxy, 1258s # const gchar *arg_greeting, 1258s # GUnixFDList *fd_list, 1258s # gchar **out_response, 1258s # GUnixFDList **out_fd_list, 1258s # GCancellable *cancellable, 1258s # GError **error); 1258s # 1258s # void fdpassing_call_no_annotation ( 1258s # FDPassing *proxy, 1258s # GVariant *arg_greeting, 1258s # const gchar *arg_greeting_locale, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data); 1258s # 1258s # gboolean fdpassing_call_no_annotation_finish ( 1258s # FDPassing *proxy, 1258s # GVariant **out_response, 1258s # gchar **out_response_locale, 1258s # GAsyncResult *res, 1258s # GError **error); 1258s # 1258s # gboolean fdpassing_call_no_annotation_sync ( 1258s # FDPassing *proxy, 1258s # GVariant *arg_greeting, 1258s # const gchar *arg_greeting_locale, 1258s # GVariant **out_response, 1258s # gchar **out_response_locale, 1258s # GCancellable *cancellable, 1258s # GError **error); 1258s # 1258s # void fdpassing_call_no_annotation_nested ( 1258s # FDPassing *proxy, 1258s # GVariant *arg_files, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data); 1258s # 1258s # gboolean fdpassing_call_no_annotation_nested_finish ( 1258s # FDPassing *proxy, 1258s # GAsyncResult *res, 1258s # GError **error); 1258s # 1258s # gboolean fdpassing_call_no_annotation_nested_sync ( 1258s # FDPassing *proxy, 1258s # GVariant *arg_files, 1258s # GCancellable *cancellable, 1258s # GError **error); 1258s # 1258s # 1258s # 1258s # /* ---- */ 1258s # 1258s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1258s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1258s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1258s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1258s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1258s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1258s # 1258s # typedef struct _FDPassingProxy FDPassingProxy; 1258s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1258s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1258s # 1258s # struct _FDPassingProxy 1258s # { 1258s # /*< private >*/ 1258s # GDBusProxy parent_instance; 1258s # FDPassingProxyPrivate *priv; 1258s # }; 1258s # 1258s # struct _FDPassingProxyClass 1258s # { 1258s # GDBusProxyClass parent_class; 1258s # }; 1258s # 1258s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1258s # 1258s # #if GLIB_CHECK_VERSION(2, 44, 0) 1258s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1258s # #endif 1258s # 1258s # void fdpassing_proxy_new ( 1258s # GDBusConnection *connection, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data); 1258s # FDPassing *fdpassing_proxy_new_finish ( 1258s # GAsyncResult *res, 1258s # GError **error); 1258s # FDPassing *fdpassing_proxy_new_sync ( 1258s # GDBusConnection *connection, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GError **error); 1258s # 1258s # void fdpassing_proxy_new_for_bus ( 1258s # GBusType bus_type, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data); 1258s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1258s # GAsyncResult *res, 1258s # GError **error); 1258s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1258s # GBusType bus_type, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GError **error); 1258s # 1258s # 1258s # /* ---- */ 1258s # 1258s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1258s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1258s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1258s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1258s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1258s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1258s # 1258s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1258s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1258s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1258s # 1258s # struct _FDPassingSkeleton 1258s # { 1258s # /*< private >*/ 1258s # GDBusInterfaceSkeleton parent_instance; 1258s # FDPassingSkeletonPrivate *priv; 1258s # }; 1258s # 1258s # struct _FDPassingSkeletonClass 1258s # { 1258s # GDBusInterfaceSkeletonClass parent_class; 1258s # }; 1258s # 1258s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1258s # 1258s # #if GLIB_CHECK_VERSION(2, 44, 0) 1258s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1258s # #endif 1258s # 1258s # FDPassing *fdpassing_skeleton_new (void); 1258s # 1258s # 1258s # G_END_DECLS 1258s # 1258s # #endif /* __STDOUT__ */ 1258s # Error: 1258s # 1258s # /tmp/tmpb8by5dic/tmpyxocey28.xml: 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # 1258s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpb8by5dic/tmpyxocey28.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 1258s # Return code: 0 1258s # Output: 1258s # /* 1258s # * This file is generated by gdbus-codegen, do not modify it. 1258s # * 1258s # * The license of this code is the same as for the D-Bus interface description 1258s # * it was derived from. Note that it links to GLib, so must comply with the 1258s # * LGPL linking clauses. 1258s # */ 1258s # 1258s # #ifndef __STDOUT__ 1258s # #define __STDOUT__ 1258s # 1258s # #include 1258s # 1258s # G_BEGIN_DECLS 1258s # 1258s # 1258s # /* ------------------------------------------------------------------------ */ 1258s # /* Declarations for FDPassing */ 1258s # 1258s # #define TYPE_FDPASSING (fdpassing_get_type ()) 1258s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 1258s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 1258s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 1258s # 1258s # struct _FDPassing; 1258s # typedef struct _FDPassing FDPassing; 1258s # typedef struct _FDPassingIface FDPassingIface; 1258s # 1258s # struct _FDPassingIface 1258s # { 1258s # GTypeInterface parent_iface; 1258s # 1258s # gboolean (*handle_hello_fd) ( 1258s # FDPassing *object, 1258s # GDBusMethodInvocation *invocation, 1258s # GUnixFDList *fd_list, 1258s # const gchar *arg_greeting); 1258s # 1258s # gboolean (*handle_no_annotation) ( 1258s # FDPassing *object, 1258s # GDBusMethodInvocation *invocation, 1258s # GUnixFDList *fd_list, 1258s # GVariant *arg_greeting, 1258s # const gchar *arg_greeting_locale); 1258s # 1258s # gboolean (*handle_no_annotation_nested) ( 1258s # FDPassing *object, 1258s # GDBusMethodInvocation *invocation, 1258s # GUnixFDList *fd_list, 1258s # GVariant *arg_files); 1258s # 1258s # }; 1258s # 1258s # GType fdpassing_get_type (void) G_GNUC_CONST; 1258s # 1258s # GDBusInterfaceInfo *fdpassing_interface_info (void); 1258s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 1258s # 1258s # 1258s # /* D-Bus method call completion functions: */ 1258s # void fdpassing_complete_hello_fd ( 1258s # FDPassing *object, 1258s # GDBusMethodInvocation *invocation, 1258s # GUnixFDList *fd_list, 1258s # const gchar *response); 1258s # 1258s # void fdpassing_complete_no_annotation ( 1258s # FDPassing *object, 1258s # GDBusMethodInvocation *invocation, 1258s # GUnixFDList *fd_list, 1258s # GVariant *response, 1258s # const gchar *response_locale); 1258s # 1258s # void fdpassing_complete_no_annotation_nested ( 1258s # FDPassing *object, 1258s # GDBusMethodInvocation *invocation, 1258s # GUnixFDList *fd_list); 1258s # 1258s # 1258s # 1258s # /* D-Bus method calls: */ 1258s # void fdpassing_call_hello_fd ( 1258s # FDPassing *proxy, 1258s # const gchar *arg_greeting, 1258s # GDBusCallFlags call_flags, 1258s # gint timeout_msec, 1258s # GUnixFDList *fd_list, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data); 1258s # 1258s # gboolean fdpassing_call_hello_fd_finish ( 1258s # FDPassing *proxy, 1258s # gchar **out_response, 1258s # GUnixFDList **out_fd_list, 1258s # GAsyncResult *res, 1258s # GError **error); 1258s # 1258s # gboolean fdpassing_call_hello_fd_sync ( 1258s # FDPassing *proxy, 1258s # const gchar *arg_greeting, 1258s # GDBusCallFlags call_flags, 1258s # gint timeout_msec, 1258s # GUnixFDList *fd_list, 1258s # gchar **out_response, 1258s # GUnixFDList **out_fd_list, 1258s # GCancellable *cancellable, 1258s # GError **error); 1258s # 1258s # void fdpassing_call_no_annotation ( 1258s # FDPassing *proxy, 1258s # GVariant *arg_greeting, 1258s # const gchar *arg_greeting_locale, 1258s # GDBusCallFlags call_flags, 1258s # gint timeout_msec, 1258s # GUnixFDList *fd_list, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data); 1258s # 1258s # gboolean fdpassing_call_no_annotation_finish ( 1258s # FDPassing *proxy, 1258s # GVariant **out_response, 1258s # gchar **out_response_locale, 1258s # GUnixFDList **out_fd_list, 1258s # GAsyncResult *res, 1258s # GError **error); 1258s # 1258s # gboolean fdpassing_call_no_annotation_sync ( 1258s # FDPassing *proxy, 1258s # GVariant *arg_greeting, 1258s # const gchar *arg_greeting_locale, 1258s # GDBusCallFlags call_flags, 1258s # gint timeout_msec, 1258s # GUnixFDList *fd_list, 1258s # GVariant **out_response, 1258s # gchar **out_response_locale, 1258s # GUnixFDList **out_fd_list, 1258s # GCancellable *cancellable, 1258s # GError **error); 1258s # 1258s # void fdpassing_call_no_annotation_nested ( 1258s # FDPassing *proxy, 1258s # GVariant *arg_files, 1258s # GDBusCallFlags call_flags, 1258s # gint timeout_msec, 1258s # GUnixFDList *fd_list, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data); 1258s # 1258s # gboolean fdpassing_call_no_annotation_nested_finish ( 1258s # FDPassing *proxy, 1258s # GUnixFDList **out_fd_list, 1258s # GAsyncResult *res, 1258s # GError **error); 1258s # 1258s # gboolean fdpassing_call_no_annotation_nested_sync ( 1258s # FDPassing *proxy, 1258s # GVariant *arg_files, 1258s # GDBusCallFlags call_flags, 1258s # gint timeout_msec, 1258s # GUnixFDList *fd_list, 1258s # GUnixFDList **out_fd_list, 1258s # GCancellable *cancellable, 1258s # GError **error); 1258s # 1258s # 1258s # 1258s # /* ---- */ 1258s # 1258s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 1258s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 1258s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1258s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 1258s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 1258s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 1258s # 1258s # typedef struct _FDPassingProxy FDPassingProxy; 1258s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 1258s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 1258s # 1258s # struct _FDPassingProxy 1258s # { 1258s # /*< private >*/ 1258s # GDBusProxy parent_instance; 1258s # FDPassingProxyPrivate *priv; 1258s # }; 1258s # 1258s # struct _FDPassingProxyClass 1258s # { 1258s # GDBusProxyClass parent_class; 1258s # }; 1258s # 1258s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 1258s # 1258s # #if GLIB_CHECK_VERSION(2, 44, 0) 1258s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 1258s # #endif 1258s # 1258s # void fdpassing_proxy_new ( 1258s # GDBusConnection *connection, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data); 1258s # FDPassing *fdpassing_proxy_new_finish ( 1258s # GAsyncResult *res, 1258s # GError **error); 1258s # FDPassing *fdpassing_proxy_new_sync ( 1258s # GDBusConnection *connection, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GError **error); 1258s # 1258s # void fdpassing_proxy_new_for_bus ( 1258s # GBusType bus_type, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GAsyncReadyCallback callback, 1258s # gpointer user_data); 1258s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 1258s # GAsyncResult *res, 1258s # GError **error); 1258s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 1258s # GBusType bus_type, 1258s # GDBusProxyFlags flags, 1258s # const gchar *name, 1258s # const gchar *object_path, 1258s # GCancellable *cancellable, 1258s # GError **error); 1258s # 1258s # 1258s # /* ---- */ 1258s # 1258s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 1258s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 1258s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1258s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 1258s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 1258s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 1258s # 1258s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 1258s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 1258s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 1258s # 1258s # struct _FDPassingSkeleton 1258s # { 1258s # /*< private >*/ 1258s # GDBusInterfaceSkeleton parent_instance; 1258s # FDPassingSkeletonPrivate *priv; 1258s # }; 1258s # 1258s # struct _FDPassingSkeletonClass 1258s # { 1258s # GDBusInterfaceSkeletonClass parent_class; 1258s # }; 1258s # 1258s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 1258s # 1258s # #if GLIB_CHECK_VERSION(2, 44, 0) 1258s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 1258s # #endif 1258s # 1258s # FDPassing *fdpassing_skeleton_new (void); 1258s # 1258s # 1258s # G_END_DECLS 1258s # 1258s # #endif /* __STDOUT__ */ 1258s # Error: 1258s 1..39 1258s ok - glib/codegen.py.test 1258s # Running test: glib/overflow.test 1258s TAP version 14 1258s # random seed: R02Sbc68c132741de1b82448f346665b028a 1258s 1..6 1258s # Start of glib tests 1258s # Start of checked-math tests 1258s ok 1 /glib/checked-math/guint-add 1258s ok 2 /glib/checked-math/guint-mul 1258s ok 3 /glib/checked-math/guint64-add 1258s ok 4 /glib/checked-math/guint64-mul 1258s ok 5 /glib/checked-math/gsize-add 1258s ok 6 /glib/checked-math/gsize-mul 1258s ok - glib/overflow.test 1258s # End of checked-math tests 1258s # End of glib tests 1258s # Running test: glib/gdbus-connection-loss.test 1258s TAP version 14 1258s # random seed: R02S23678da549aec18aff4c97fa3a821838 1258s 1..1 1258s # Start of gdbus tests 1258s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_DE9KC3/gdbus/connection-loss/.dirs/home 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_DE9KC3/gdbus/connection-loss/.dirs/cache 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_DE9KC3/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_DE9KC3/gdbus/connection-loss/.dirs/system-config2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_DE9KC3/gdbus/connection-loss/.dirs/config 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_DE9KC3/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_DE9KC3/gdbus/connection-loss/.dirs/system-data2 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_DE9KC3/gdbus/connection-loss/.dirs/data 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_DE9KC3/gdbus/connection-loss/.dirs/state 1258s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_DE9KC3/gdbus/connection-loss/.dirs/runtime 1258s ok 1 /gdbus/connection-loss 1258s # End of gdbus tests 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1258s ok - glib/gdbus-connection-loss.test 1258s # Running test: glib/strvbuilder.test 1258s TAP version 14 1258s # random seed: R02S66a628473c06cd6d8b97791028148f36 1258s 1..7 1258s # Start of strvbuilder tests 1258s ok 1 /strvbuilder/empty 1258s ok 2 /strvbuilder/add 1258s ok 3 /strvbuilder/addv 1258s ok 4 /strvbuilder/add_many 1258s ok 5 /strvbuilder/take 1258s ok 6 /strvbuilder/ref 1258s ok 7 /strvbuilder/unref_to_strv 1258s # End of strvbuilder tests 1258s ok - glib/strvbuilder.test 1258s # Running test: glib/accumulator.test 1258s ok - glib/accumulator.test 1258s # Running test: glib/option-argv0.test 1258s TAP version 14 1258s # random seed: R02Sb9c7d01ef1a8a0bec16ce1403da157e7 1258s 1..1 1258s # Start of gobject tests 1258s ok 1 /gobject/accumulator 1258s # End of gobject tests 1258s TAP version 14 1258s # random seed: R02S393e70489fc5ffaaf3baf2d375e244ed 1258s 1..1 1258s # Start of option tests 1258s ok 1 /option/argv0 1258s # End of option tests 1258s ok - glib/option-argv0.test 1258s # Running test: glib/search-utils.test 1258s TAP version 14 1258s # random seed: R02Sb639e533acedef0471370aa2a1747892 1258s # GLib-DEBUG: Current user locale: C.UTF-8 1258s 1..6 1258s # Start of search tests 1258s # GLib-DEBUG: Started 1258s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 1258s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 1258s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 1258s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 1258s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 1258s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 1258s ok 1 /search/basic 1258s # GLib-DEBUG: Started 1258s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1258s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 1258s # GLib-DEBUG: 'ele' - 'élève' should match: OK 1258s # GLib-DEBUG: 'AzaÏs' - 'Azais' should NOT match: OK 1258s # GLib-DEBUG: 'Azais' - 'AzaÏs' should match: OK 1258s ok 2 /search/composed 1258s # GLib-DEBUG: Started 1258s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1258s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1258s ok 3 /search/decomposed 1258s # GLib-DEBUG: Started 1258s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 1258s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 1258s ok 4 /search/turkish 1258s # GLib-DEBUG: Started 1258s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1258s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 1258s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 1258s ok 5 /search/c_locale_unicode 1258s # GLib-DEBUG: Started 1258s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 1258s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 1258s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 1258s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 1258s ok 6 /search/multi_words 1258s # End of search tests 1258s ok - glib/search-utils.test 1258s # Running test: glib/module-test-library.test 1258s TAP version 14 1258s # random seed: R02S8bbef0fd3a9d1d19273d3b1106688d64 1258s 1..3 1258s # Start of module tests 1258s ok 1 /module/basics 1258s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 1258s ok 2 /module/invalid-libtool-archive 1258s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 1258s ok - glib/module-test-library.test 1258s ok 3 /module/local-binding 1258s # End of module tests 1258s # Running test: glib/memchunk.test 1258s TAP version 14 1258s # random seed: R02Sf9a1e1ceaa9c0619dd886ac27d836f0a 1258s 1..1 1258s # Start of memchunk tests 1258s ok 1 /memchunk/basic 1258s # End of memchunk tests 1258s ok - glib/memchunk.test 1258s # Running test: glib/atomic-c-11.test 1258s TAP version 14 1258s # random seed: R02Scc7efec837bb89d8f23c62d05c8a11a5 1258s 1..2 1258s # Start of atomic tests 1258s ok 1 /atomic/types 1258s ok 2 /atomic/threaded 1258s # End of atomic tests 1258s ok - glib/atomic-c-11.test 1258s # Running test: glib/objects-refcount2.test 1258s TAP version 14 1258s # random seed: R02Seedb840a0d4d46d976e470078436179f 1258s 1..1 1258s # Start of gobject tests 1258s # Start of refcount tests 1258s # init 0xaaa73f9dd60 1258s # 1258s # . 1258s # . 1258s # . 1258s # . 1258s # . 1258s # . 1258s # . 1258s # . 1258s # . 1258s # . 1259s # . 1259s # Executing: glib/objects-refcount2.test 1259s # . 1259s # . 1259s # . 1259s # . 1259s # . 1259s # . 1259s # . 1259s # . 1259s # . 1259s # . 1259s # . 1259s # . 1259s # . 1259s # . 1259s # . 1259s # . 1259s # . 1259s # . 1259s # . 1259s # . 1259s # . 1259s # . 1259s # . 1259s # . 1259s # . 1259s # . 1259s # . 1259s # . 1260s # . 1260s # . 1260s # . 1260s # . 1260s # . 1260s # . 1260s # . 1260s # . 1260s # . 1260s # . 1260s # . 1260s # . 1260s # . 1260s # . 1260s # . 1260s # . 1260s # . 1260s # . 1260s # . 1260s # . 1260s # . 1260s # . 1260s # . 1260s # . 1260s # . 1260s # . 1260s # . 1260s # . 1260s # . 1261s # . 1261s # . 1261s # . 1261s # . 1261s # . 1261s # . 1261s # . 1261s # . 1261s # . 1261s # . 1261s # . 1261s # . 1261s # . 1261s # . 1261s # . 1261s # . 1261s # . 1261s # . 1261s # . 1261s # . 1261s # . 1261s # . 1261s # . 1261s # . 1261s # . 1261s # . 1261s # . 1261s # . 1261s # . 1262s # . 1262s # . 1262s # . 1262s # . 1262s # . 1262s # . 1262s # . 1262s # . 1262s # . 1262s # . 1262s # . 1262s # . 1262s # . 1262s # . 1262s # . 1262s # . 1262s # . 1262s # . 1262s # . 1262s # . 1262s # . 1262s # . 1262s # . 1262s # . 1262s # . 1262s # . 1262s # . 1262s # . 1263s # . 1263s # . 1263s # . 1263s # . 1263s # . 1263s # . 1263s # . 1263s # . 1263s # . 1263s # . 1263s # . 1263s # . 1263s # . 1263s # . 1263s # . 1263s # . 1263s # . 1263s # . 1263s # . 1263s # . 1263s # . 1263s # . 1263s # . 1263s # . 1263s # . 1263s # . 1263s # . 1263s # . 1263s # . 1264s # . 1264s # Executing: glib/objects-refcount2.test 1264s # . 1264s # . 1264s # . 1264s # . 1264s # . 1264s # . 1264s # . 1264s # . 1264s # . 1264s # . 1264s # . 1264s # . 1264s # . 1264s # . 1264s # . 1264s # . 1264s # . 1264s # . 1264s # . 1264s # . 1264s # . 1264s # . 1264s # . 1264s # . 1264s # . 1264s # . 1264s # . 1264s # . 1265s # . 1265s # . 1265s # . 1265s # . 1265s # . 1265s # . 1265s # . 1265s # . 1265s # . 1265s # . 1265s # . 1265s # . 1265s # . 1265s # . 1265s # . 1265s # . 1265s # . 1265s # . 1265s # . 1265s # . 1265s # . 1265s # . 1265s # . 1265s # . 1265s # . 1265s # . 1265s # . 1265s # . 1265s # . 1266s # . 1266s # . 1266s # . 1266s # . 1266s # . 1266s # . 1266s # . 1266s # . 1266s # . 1266s # . 1266s # . 1266s # . 1266s # . 1266s # . 1266s # . 1266s # . 1266s # . 1266s # . 1266s # . 1266s # . 1266s # . 1266s # . 1266s # . 1266s # . 1266s # . 1266s # . 1266s # . 1266s # . 1267s # . 1267s # . 1267s # . 1267s # . 1267s # . 1267s # . 1267s # . 1267s # . 1267s # . 1267s # . 1267s # . 1267s # . 1267s # . 1267s # . 1267s # . 1267s # . 1267s # . 1267s # . 1267s # . 1267s # . 1267s # . 1267s # . 1267s # . 1267s # . 1267s # . 1267s # . 1267s # . 1267s # . 1267s # . 1268s # . 1268s # . 1268s # . 1268s # . 1268s # . 1268s # . 1268s # . 1268s # . 1268s # . 1268s # . 1268s # . 1268s # . 1268s # . 1268s # . 1268s # . 1268s # . 1268s # . 1268s # . 1268s # . 1268s # . 1268s # . 1268s # . 1268s # . 1268s # . 1268s # . 1268s # . 1268s # . 1268s # . 1268s # . 1269s # . 1269s # Executing: glib/objects-refcount2.test 1269s # . 1269s # . 1269s # . 1269s # . 1269s # . 1269s # . 1269s # . 1269s # . 1269s # . 1269s # . 1269s # . 1269s # . 1269s # . 1269s # . 1269s # . 1269s # . 1269s # . 1269s # . 1269s # . 1269s # . 1269s # . 1269s # . 1269s # . 1269s # . 1269s # . 1269s # . 1269s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1270s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1271s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1272s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1273s # . 1274s # . 1274s # Executing: glib/objects-refcount2.test 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1274s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1275s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1276s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1277s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1278s # . 1279s # . 1279s # Executing: glib/objects-refcount2.test 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1279s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1280s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1281s # . 1282s # . 1282s # . 1282s # . 1282s # . 1282s # . 1282s # . 1282s # . 1282s # . 1282s # . 1282s # . 1282s # . 1282s # . 1282s # . 1282s # . 1282s # . 1282s # . 1282s # . 1282s # . 1282s # . 1282s # . 1282s # . 1282s # . 1282s # . 1282s # . 1282s # . 1282s # . 1282s # . 1282s # . 1282s # . 1283s # . 1283s # . 1283s # . 1283s # . 1283s # . 1283s # . 1283s # . 1283s # . 1283s # . 1283s # . 1283s # . 1283s # . 1283s # . 1283s # . 1283s # . 1283s # . 1283s # . 1283s # . 1283s # . 1283s # . 1283s # . 1283s # . 1283s # . 1283s # . 1283s # . 1283s # . 1283s # . 1283s # . 1283s # . 1284s # . 1284s # Executing: glib/objects-refcount2.test 1284s # . 1284s # . 1284s # . 1284s # . 1284s # . 1284s # . 1284s # . 1284s # . 1284s # . 1284s # . 1284s # . 1284s # . 1284s # . 1284s # . 1284s # . 1284s # . 1284s # . 1284s # . 1284s # . 1284s # . 1284s # . 1284s # . 1284s # . 1284s # . 1284s # . 1284s # . 1284s # . 1285s # . 1285s # . 1285s # . 1285s # . 1285s # . 1285s # . 1285s # . 1285s # . 1285s # . 1285s # . 1285s # . 1285s # . 1285s # . 1285s # . 1285s # . 1285s # . 1285s # . 1285s # . 1285s # . 1285s # . 1285s # . 1285s # . 1285s # . 1285s # . 1285s # . 1285s # . 1285s # . 1285s # . 1285s # . 1286s # . 1286s # . 1286s # . 1286s # . 1286s # . 1286s # . 1286s # . 1286s # . 1286s # . 1286s # . 1286s # . 1286s # . 1286s # . 1286s # . 1286s # . 1286s # . 1286s # . 1286s # . 1286s # . 1286s # . 1286s # . 1286s # . 1286s # . 1286s # . 1286s # . 1286s # . 1286s # . 1286s # . 1286s # . 1287s # . 1287s # . 1287s # . 1287s # . 1287s # . 1287s # . 1287s # . 1287s # . 1287s # . 1287s # . 1287s # . 1287s # . 1287s # . 1287s # . 1287s # . 1287s # . 1287s # . 1287s # . 1287s # . 1287s # . 1287s # . 1287s # . 1287s # . 1287s # . 1287s # . 1287s # . 1287s # . 1287s # . 1287s # . 1288s # . 1288s # . 1288s # . 1288s # . 1288s # . 1288s # . 1288s # . 1288s # . 1288s # . 1288s # . 1288s # . 1288s # . 1288s # . 1288s # . 1288s # . 1288s # . 1288s # . 1288s # . 1288s # . 1288s # . 1288s # . 1288s # . 1288s # . 1288s # . 1288s # . 1288s # . 1288s # . 1288s # . 1289s # . 1289s # Executing: glib/objects-refcount2.test 1289s # . 1289s # . 1289s # . 1289s # . 1289s # . 1289s # . 1289s # . 1289s # . 1289s # . 1289s # . 1289s # . 1289s # . 1289s # . 1289s # . 1289s # . 1289s # . 1289s # . 1289s # . 1289s # . 1289s # . 1289s # . 1289s # . 1289s # . 1289s # . 1289s # . 1289s # . 1289s # . 1289s # . 1290s # . 1290s # . 1290s # . 1290s # . 1290s # . 1290s # . 1290s # . 1290s # . 1290s # . 1290s # . 1290s # . 1290s # . 1290s # . 1290s # . 1290s # . 1290s # . 1290s # . 1290s # . 1290s # . 1290s # . 1290s # . 1290s # . 1290s # . 1290s # . 1290s # . 1290s # . 1290s # . 1290s # . 1290s # . 1291s # . 1291s # . 1291s # . 1291s # . 1291s # . 1291s # . 1291s # . 1291s # . 1291s # . 1291s # . 1291s # . 1291s # . 1291s # . 1291s # . 1291s # . 1291s # . 1291s # . 1291s # . 1291s # . 1291s # . 1291s # . 1291s # . 1291s # . 1291s # . 1291s # . 1291s # . 1291s # . 1291s # . 1291s # . 1292s # . 1292s # . 1292s # . 1292s # . 1292s # . 1292s # . 1292s # . 1292s # . 1292s # . 1292s # . 1292s # . 1292s # . 1292s # . 1292s # . 1292s # . 1292s # . 1292s # . 1292s # . 1292s # . 1292s # . 1292s # . 1292s # . 1292s # . 1292s # . 1292s # . 1292s # . 1292s # . 1292s # . 1292s # . 1293s # . 1293s # . 1293s # . 1293s # . 1293s # . 1293s # . 1293s # . 1293s # . 1293s # . 1293s # . 1293s # . 1293s ok - glib/objects-refcount2.test 1293s # . 1293s # dispose 0xaaa73f9dd60! 1293s # 1293s ok 1 /gobject/refcount/object-advanced 1293s # slow test /gobject/refcount/object-advanced executed in 34.78 secs 1293s # End of refcount tests 1293s # End of gobject tests 1293s # Running test: glib/power-profile-monitor-portal.test 1293s TAP version 13 1293s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 1293s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 1293s 1..2 1294s ok - glib/power-profile-monitor-portal.test 1294s # Running test: glib/atomic-c-17.test 1294s TAP version 14 1294s # random seed: R02Se5ec08a88b5e29de7520544a5d041340 1294s 1..2 1294s # Start of atomic tests 1294s ok 1 /atomic/types 1294s # Executing: glib/atomic-c-17.test 1294s ok 2 /atomic/threaded 1294s # End of atomic tests 1294s ok - glib/atomic-c-17.test 1294s # Running test: glib/cancellable.test 1294s TAP version 14 1294s # random seed: R02Sb24617254ee21cf99eb11531722c32c6 1294s 1..18 1294s # Start of cancellable tests 1294s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 1294s ok 2 /cancellable/null 1294s ok 3 /cancellable/connect-data-is-destroyed-on-disconnect-and-dispose 1294s # /cancellable/connect-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 1294s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 1294s ok 4 /cancellable/connect-to-disposing-callback 1294s ok 5 /cancellable/connect-cancelled-data-is-destroyed 1294s # Toggle reference callback for GCancellable (0xaf63e07e7e0), last: 1 1294s # Toggle reference callback for GCancellable (0xaf63e07e7e0), last: 0 1294s # Toggle reference callback for GCancellable (0xaf63e07e7e0), last: 1 1294s ok 6 /cancellable/connect-to-disposing-callback-with-toggle-reference 1294s # /cancellable/connect-cancelled-to-disposing-callback summary: A cancellable signal callback can unref the cancellable 1294s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643 1294s ok 7 /cancellable/connect-cancelled-to-disposing-callback 1294s ok 8 /cancellable/connect-cancelled-with-destroy-func-disposing-cancellable 1294s # Toggle reference callback for GCancellable (0xaf63e07e7e0), last: 1 1294s # Toggle reference callback for GCancellable (0xaf63e07e7e0), last: 0 1294s # Toggle reference callback for GCancellable (0xaf63e07e7e0), last: 1 1294s # Toggle reference callback for GCancellable (0xaf63e07e7e0), last: 0 1294s # Toggle reference callback for GCancellable (0xaf63e07e7e0), last: 1 1294s ok 9 /cancellable/connect-cancelled-to-disposing-callback-with-toggle-reference 1294s # /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 1294s ok 10 /cancellable/disconnect-on-cancelled-callback-hangs 1294s # /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 1294s ok 11 /cancellable/resets-on-cancel-callback-hangs 1294s ok 12 /cancellable/poll-fd 1294s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 1294s ok 13 /cancellable/poll-fd-cancelled 1294s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 1294s ok 14 /cancellable/poll-fd-cancelled-threaded 1294s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 1294s ok 15 /cancellable/cancel-reset-races 1294s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 1294s not ok 16 /cancellable/cancel-reset-connect-races # TODO We didn't really checked if callbacks is called properly 1294s # End of cancellable tests 1294s # Start of cancellable-source tests 1294s # /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) 1294s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 1295s ok 17 /cancellable-source/threaded-dispose 1295s # slow test /cancellable-source/threaded-dispose executed in 0.83 secs 1295s # /cancellable-source/can-be-fired-multiple-times summary: Test a cancellable source callback can be called multiple times 1295s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/774 1295s ok 18 /cancellable-source/can-be-fired-multiple-times 1295s # End of cancellable-source tests 1295s ok - glib/cancellable.test 1295s # Running test: glib/async-close-output-stream.test 1295s TAP version 14 1295s # random seed: R02S98006a9b40dbd5e801940ce9e2a43252 1295s 1..3 1295s # Start of close-async tests 1295s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1295s ok 1 /close-async/without-flush 1295s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1295s ok 2 /close-async/with-flush 1295s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 1295s ok 3 /close-async/with-async-flush 1295s # End of close-async tests 1295s ok - glib/async-close-output-stream.test 1295s # Running test: glib/string.test 1295s TAP version 14 1295s # random seed: R02Sc435ea9cdbfc49131360d11c3349bcfe 1295s 1..25 1295s # Start of string tests 1295s ok 1 /string/chunks 1295s ok 2 /string/chunk-insert 1295s ok 3 /string/new 1295s ok 4 /string/printf 1295s ok 5 /string/assign 1295s ok 6 /string/append-c 1295s ok 7 /string/append 1295s ok 8 /string/append-vprintf 1295s ok 9 /string/prepend-c 1295s ok 10 /string/prepend 1295s ok 11 /string/insert 1295s ok 12 /string/insert-unichar 1295s ok 13 /string/equal 1295s ok 14 /string/truncate 1295s ok 15 /string/overwrite 1295s ok 16 /string/nul-handling 1295s ok 17 /string/up-down 1295s ok 18 /string/set-size 1295s ok 19 /string/to-bytes 1295s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 1295s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 1295s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 1295s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 1295s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 1295s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 1295s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 1295s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 1295s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 1295s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 1295s # 5: Replacing "o" with "" (limit 0) in "food for foals" 1295s # -> 4 replacements, "fd fr fals" 1295s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 1295s # -> 3 replacements, "aaaaaaaaa" 1295s # 7: Replacing "a" with "" (limit 0) in "aaa" 1295s # -> 3 replacements, "" 1295s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 1295s # -> 1 replacements, "bba" 1295s # 9: Replacing "" with "bar" (limit 0) in "foo" 1295s # -> 4 replacements, "barfbarobarobar" 1295s # 10: Replacing "" with "bar" (limit 1) in "foo" 1295s # -> 1 replacements, "barfoo" 1295s # 11: Replacing "" with "bar" (limit 2) in "foo" 1295s # -> 2 replacements, "barfbaroo" 1295s # 12: Replacing "" with "bar" (limit 3) in "foo" 1295s # -> 3 replacements, "barfbarobaro" 1295s # 13: Replacing "" with "bar" (limit 4) in "foo" 1295s # -> 4 replacements, "barfbarobarobar" 1295s # 14: Replacing "" with "bar" (limit 5) in "foo" 1295s # -> 4 replacements, "barfbarobarobar" 1295s # 15: Replacing "" with "x" (limit 0) in "" 1295s # -> 1 replacements, "x" 1295s # 16: Replacing "" with "" (limit 0) in "" 1295s # -> 1 replacements, "" 1295s # 17: Replacing "" with "aaaaaaaaaaaa" (limit 0) in "bbbbbbbbb" 1295s # -> 10 replacements, "aaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaa" 1295s ok 20 /string/replace 1295s ok 21 /string/steal 1295s ok 22 /string/new-take 1295s ok 23 /string/copy 1295s ok 24 /string/sized-new 1295s # Start of new-take tests 1295s ok 25 /string/new-take/null 1295s # End of new-take tests 1295s # End of string tests 1295s ok - glib/string.test 1295s # Running test: glib/signals-refcount3.test 1295s TAP version 14 1295s # random seed: R02S9611c93dd2dbc3ba147c1e6cefeefebd 1295s 1..1 1295s # Start of gobject tests 1295s # Start of refcount tests 1295s # init 0x8572b63d490 1295s # 1295s # init 0x8572b635580 1295s # 1299s # Executing: glib/signals-refcount3.test 1300s # dispose 0x8572b63d490! 1300s # 1300s # dispose 0x8572b635580! 1300s # 1300s ok 1 /gobject/refcount/signals 1300s # slow test /gobject/refcount/signals executed in 5.00 secs 1300s # End of refcount tests 1300s # End of gobject tests 1300s ok - glib/signals-refcount3.test 1300s # Running test: glib/keyfile.test 1300s TAP version 14 1300s # random seed: R02Sd868ec88be47970fdc81d117f2c005f0 1300s 1..36 1300s # Start of keyfile tests 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/line-ends/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/line-ends/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/line-ends/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/line-ends/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/line-ends/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/line-ends/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/line-ends/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/line-ends/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/line-ends/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/line-ends/.dirs/runtime 1300s ok 1 /keyfile/line-ends 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/whitespace/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/whitespace/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/whitespace/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/whitespace/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/whitespace/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/whitespace/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/whitespace/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/whitespace/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/whitespace/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/whitespace/.dirs/runtime 1300s ok 2 /keyfile/whitespace 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/comments/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/comments/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/comments/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/comments/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/comments/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/comments/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/comments/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/comments/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/comments/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/comments/.dirs/runtime 1300s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1300s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 1300s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 1300s ok 3 /keyfile/comments 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/listing/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/listing/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/listing/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/listing/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/listing/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/listing/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/listing/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/listing/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/listing/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/listing/.dirs/runtime 1300s ok 4 /keyfile/listing 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/string/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/string/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/string/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/string/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/string/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/string/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/string/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/string/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/string/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/string/.dirs/runtime 1300s ok 5 /keyfile/string 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/boolean/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/boolean/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/boolean/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/boolean/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/boolean/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/boolean/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/boolean/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/boolean/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/boolean/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/boolean/.dirs/runtime 1300s ok 6 /keyfile/boolean 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/number/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/number/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/number/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/number/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/number/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/number/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/number/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/number/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/number/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/number/.dirs/runtime 1300s ok 7 /keyfile/number 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/locale-string/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/locale-string/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/locale-string/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/locale-string/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/locale-string/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/locale-string/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/locale-string/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/locale-string/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/locale-string/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/locale-string/.dirs/runtime 1300s ok 8 /keyfile/locale-string 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/lists/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/lists/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/lists/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/lists/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/lists/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/lists/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/lists/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/lists/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/lists/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/lists/.dirs/runtime 1300s ok 9 /keyfile/lists 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/lists-set-get/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/lists-set-get/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/lists-set-get/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/lists-set-get/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/lists-set-get/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/lists-set-get/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/lists-set-get/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/lists-set-get/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/lists-set-get/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/lists-set-get/.dirs/runtime 1300s ok 10 /keyfile/lists-set-get 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/group-remove/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/group-remove/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/group-remove/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/group-remove/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/group-remove/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/group-remove/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/group-remove/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/group-remove/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/group-remove/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/group-remove/.dirs/runtime 1300s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 1300s ok 11 /keyfile/group-remove 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/key-remove/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/key-remove/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/key-remove/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/key-remove/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/key-remove/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/key-remove/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/key-remove/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/key-remove/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/key-remove/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/key-remove/.dirs/runtime 1300s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 1300s ok 12 /keyfile/key-remove 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/groups/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/groups/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/groups/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/groups/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/groups/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/groups/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/groups/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/groups/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/groups/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/groups/.dirs/runtime 1300s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 1300s ok 13 /keyfile/groups 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/duplicate-keys/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/duplicate-keys/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/duplicate-keys/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/duplicate-keys/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/duplicate-keys/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/duplicate-keys/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/duplicate-keys/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/duplicate-keys/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/duplicate-keys/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/duplicate-keys/.dirs/runtime 1300s ok 14 /keyfile/duplicate-keys 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/duplicate-groups/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/duplicate-groups/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/duplicate-groups/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/duplicate-groups/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/duplicate-groups/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/duplicate-groups/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/duplicate-groups/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/duplicate-groups/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/duplicate-groups/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/duplicate-groups/.dirs/runtime 1300s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 1300s ok 15 /keyfile/duplicate-groups 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/duplicate-groups2/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/duplicate-groups2/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/duplicate-groups2/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/duplicate-groups2/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/duplicate-groups2/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/duplicate-groups2/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/duplicate-groups2/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/duplicate-groups2/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/duplicate-groups2/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/duplicate-groups2/.dirs/runtime 1300s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 1300s ok 16 /keyfile/duplicate-groups2 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/group-names/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/group-names/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/group-names/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/group-names/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/group-names/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/group-names/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/group-names/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/group-names/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/group-names/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/group-names/.dirs/runtime 1300s ok 17 /keyfile/group-names 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/key-names/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/key-names/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/key-names/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/key-names/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/key-names/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/key-names/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/key-names/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/key-names/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/key-names/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/key-names/.dirs/runtime 1300s ok 18 /keyfile/key-names 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/reload/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/reload/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/reload/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/reload/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/reload/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/reload/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/reload/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/reload/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/reload/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/reload/.dirs/runtime 1300s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 1300s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 1300s ok 19 /keyfile/reload 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/int64/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/int64/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/int64/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/int64/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/int64/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/int64/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/int64/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/int64/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/int64/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/int64/.dirs/runtime 1300s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 1300s ok 20 /keyfile/int64 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/load/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/load/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/load/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/load/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/load/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/load/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/load/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/load/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/load/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/load/.dirs/runtime 1300s ok 21 /keyfile/load 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/save/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/save/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/save/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/save/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/save/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/save/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/save/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/save/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/save/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/save/.dirs/runtime 1300s ok 22 /keyfile/save 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/load-fail/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/load-fail/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/load-fail/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/load-fail/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/load-fail/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/load-fail/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/load-fail/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/load-fail/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/load-fail/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/load-fail/.dirs/runtime 1300s ok 23 /keyfile/load-fail 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/non-utf8/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/non-utf8/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/non-utf8/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/non-utf8/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/non-utf8/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/non-utf8/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/non-utf8/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/non-utf8/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/non-utf8/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/non-utf8/.dirs/runtime 1300s ok 24 /keyfile/non-utf8 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/page-boundary/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/page-boundary/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/page-boundary/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/page-boundary/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/page-boundary/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/page-boundary/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/page-boundary/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/page-boundary/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/page-boundary/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/page-boundary/.dirs/runtime 1300s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 1300s ok 25 /keyfile/page-boundary 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/ref/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/ref/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/ref/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/ref/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/ref/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/ref/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/ref/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/ref/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/ref/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/ref/.dirs/runtime 1300s ok 26 /keyfile/ref 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/replace-value/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/replace-value/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/replace-value/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/replace-value/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/replace-value/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/replace-value/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/replace-value/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/replace-value/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/replace-value/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/replace-value/.dirs/runtime 1300s ok 27 /keyfile/replace-value 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/list-separator/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/list-separator/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/list-separator/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/list-separator/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/list-separator/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/list-separator/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/list-separator/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/list-separator/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/list-separator/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/list-separator/.dirs/runtime 1300s ok - glib/keyfile.test 1300s # Running test: glib/include.test 1300s ok - glib/include.test 1300s # Running test: glib/io-channel.test 1300s ok 28 /keyfile/list-separator 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/empty-string/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/empty-string/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/empty-string/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/empty-string/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/empty-string/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/empty-string/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/empty-string/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/empty-string/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/empty-string/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/empty-string/.dirs/runtime 1300s ok 29 /keyfile/empty-string 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/limbo/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/limbo/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/limbo/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/limbo/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/limbo/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/limbo/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/limbo/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/limbo/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/limbo/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/limbo/.dirs/runtime 1300s ok 30 /keyfile/limbo 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/utf8/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/utf8/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/utf8/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/utf8/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/utf8/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/utf8/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/utf8/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/utf8/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/utf8/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/utf8/.dirs/runtime 1300s # Testing invalid encoding ‘non-UTF-8’ 1300s # Testing invalid encoding ‘UTF’ 1300s # Testing invalid encoding ‘UTF-9’ 1300s ok 31 /keyfile/utf8 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/roundtrip/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/roundtrip/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/roundtrip/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/roundtrip/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/roundtrip/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/roundtrip/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/roundtrip/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/roundtrip/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/roundtrip/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/roundtrip/.dirs/runtime 1300s ok 32 /keyfile/roundtrip 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/bytes/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/bytes/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/bytes/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/bytes/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/bytes/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/bytes/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/bytes/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/bytes/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/bytes/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/bytes/.dirs/runtime 1300s ok 33 /keyfile/bytes 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/get-locale/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/get-locale/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/get-locale/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/get-locale/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/get-locale/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/get-locale/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/get-locale/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/get-locale/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/get-locale/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/get-locale/.dirs/runtime 1300s ok 34 /keyfile/get-locale 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/free-when-not-last-ref/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/free-when-not-last-ref/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/free-when-not-last-ref/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/free-when-not-last-ref/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/free-when-not-last-ref/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/free-when-not-last-ref/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/free-when-not-last-ref/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/free-when-not-last-ref/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/free-when-not-last-ref/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/free-when-not-last-ref/.dirs/runtime 1300s ok 35 /keyfile/free-when-not-last-ref 1300s # Start of locale-string tests 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_RV6JC3/keyfile/locale-string/multiple-loads/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/locale-string/multiple-loads/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/locale-string/multiple-loads/.dirs/system-config1:/tmp/test_keyfile_RV6JC3/keyfile/locale-string/multiple-loads/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_RV6JC3/keyfile/locale-string/multiple-loads/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_RV6JC3/keyfile/locale-string/multiple-loads/.dirs/system-data1:/tmp/test_keyfile_RV6JC3/keyfile/locale-string/multiple-loads/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_RV6JC3/keyfile/locale-string/multiple-loads/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_RV6JC3/keyfile/locale-string/multiple-loads/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_RV6JC3/keyfile/locale-string/multiple-loads/.dirs/runtime 1300s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 1300s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 1300s ok 36 /keyfile/locale-string/multiple-loads 1300s # End of locale-string tests 1300s # End of keyfile tests 1300s TAP version 14 1300s # random seed: R02Sd1e2f829d413124c64efc3996a03c520 1300s 1..1 1300s # Start of include tests 1300s ok 1 /include/rwlock 1300s # End of include tests 1300s TAP version 14 1300s # random seed: R02S603c6a1af97fcd87916f4e911570dbe0 1300s 1..2 1300s # Start of io-channel tests 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_Z2UJC3/io-channel/read-write/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_Z2UJC3/io-channel/read-write/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_Z2UJC3/io-channel/read-write/.dirs/system-config1:/tmp/test_io-channel_Z2UJC3/io-channel/read-write/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_Z2UJC3/io-channel/read-write/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_Z2UJC3/io-channel/read-write/.dirs/system-data1:/tmp/test_io-channel_Z2UJC3/io-channel/read-write/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_Z2UJC3/io-channel/read-write/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_Z2UJC3/io-channel/read-write/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_Z2UJC3/io-channel/read-write/.dirs/runtime 1300s # Line one 1300s # 1300s # Line two 1300s # 1300s # Line three 1300s # 1300s # /* Hello */ 1300s # 1300s # \x1234\x567890\x6666 1300s # 1300s # read 62 bytes, wrote 62 bytes 1300s ok 1 /io-channel/read-write 1300s # Start of read-line tests 1300s ok - glib/io-channel.test 1300s # Running test: glib/portal-support-flatpak-full.test 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_Z2UJC3/io-channel/read-line/embedded-nuls/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_Z2UJC3/io-channel/read-line/embedded-nuls/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_Z2UJC3/io-channel/read-line/embedded-nuls/.dirs/system-config1:/tmp/test_io-channel_Z2UJC3/io-channel/read-line/embedded-nuls/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_Z2UJC3/io-channel/read-line/embedded-nuls/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_Z2UJC3/io-channel/read-line/embedded-nuls/.dirs/system-data1:/tmp/test_io-channel_Z2UJC3/io-channel/read-line/embedded-nuls/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_Z2UJC3/io-channel/read-line/embedded-nuls/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_Z2UJC3/io-channel/read-line/embedded-nuls/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_Z2UJC3/io-channel/read-line/embedded-nuls/.dirs/runtime 1300s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 1300s ok 2 /io-channel/read-line/embedded-nuls 1300s # End of read-line tests 1300s # End of io-channel tests 1300s TAP version 14 1300s # random seed: R02S9d13a8a39525a029084a773e38627a69 1300s 1..1 1300s # Start of portal-support tests 1300s # Start of flatpak tests 1300s ok - glib/portal-support-flatpak-full.test 1300s # Running test: glib/io-stream.test 1300s ok - glib/io-stream.test 1300s # Running test: glib/mimeapps.test 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_FKDJC3/portal-support/flatpak/full/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_FKDJC3/portal-support/flatpak/full/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_FKDJC3/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_FKDJC3/portal-support/flatpak/full/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_FKDJC3/portal-support/flatpak/full/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_FKDJC3/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_FKDJC3/portal-support/flatpak/full/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_FKDJC3/portal-support/flatpak/full/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_FKDJC3/portal-support/flatpak/full/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_FKDJC3/portal-support/flatpak/full/.dirs/runtime 1300s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_FKDJC3/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 1300s ok 1 /portal-support/flatpak/full 1300s # End of flatpak tests 1300s # End of portal-support tests 1300s TAP version 14 1300s # random seed: R02Sc9eb950b99382d45dbef45a45fd4319a 1300s 1..3 1300s # Start of io-stream tests 1300s ok 1 /io-stream/copy-chunks 1300s # Start of close tests 1300s # Start of async tests 1300s ok 2 /io-stream/close/async/memory 1300s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1300s ok 3 /io-stream/close/async/file 1300s # End of async tests 1300s # End of close tests 1300s # End of io-stream tests 1300s TAP version 14 1300s # random seed: R02Sdcd1233ee072b5e9b8e33281735715a7 1300s 1..7 1300s # Start of appinfo tests 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_OJHJC3/appinfo/all/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_OJHJC3/appinfo/all/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_OJHJC3/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_OJHJC3/appinfo/all/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_OJHJC3/appinfo/all/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_OJHJC3/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_OJHJC3/appinfo/all/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_OJHJC3/appinfo/all/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_OJHJC3/appinfo/all/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_OJHJC3/appinfo/all/.dirs/runtime 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/all/.dirs/system-data1/applications' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/all/.dirs/data/applications' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/all/.dirs/data/applications/myapp.desktop' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/all/.dirs/data/applications/myapp2.desktop' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/all/.dirs/data/applications/myapp3.desktop' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/all/.dirs/data/applications/myapp4.desktop' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/all/.dirs/data/applications/myapp5.desktop' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 1300s # removing '/tmp/test_mimeapps_OJHJC3/appinfo/all/.dirs/data/applications/mimeapps.list' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/all/.dirs/data/applications/mimeinfo.cache' 1300s ok 1 /appinfo/all 1300s # Start of mime tests 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_OJHJC3/appinfo/mime/api/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_OJHJC3/appinfo/mime/api/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_OJHJC3/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_OJHJC3/appinfo/mime/api/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_OJHJC3/appinfo/mime/api/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_OJHJC3/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_OJHJC3/appinfo/mime/api/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_OJHJC3/appinfo/mime/api/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_OJHJC3/appinfo/mime/api/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_OJHJC3/appinfo/mime/api/.dirs/runtime 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/api/.dirs/system-data1/applications' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/api/.dirs/data/applications' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 1300s # removing '/tmp/test_mimeapps_OJHJC3/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 1300s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OJHJC3/appinfo/mime/api/.dirs/config 1300s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_OJHJC3/appinfo/all/.dirs/config to /tmp/test_mimeapps_OJHJC3/appinfo/mime/api/.dirs/config 1300s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OJHJC3/appinfo/mime/api/.dirs/config 1300s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OJHJC3/appinfo/mime/api/.dirs/config 1300s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OJHJC3/appinfo/mime/api/.dirs/config 1300s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OJHJC3/appinfo/mime/api/.dirs/config 1300s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OJHJC3/appinfo/mime/api/.dirs/config 1300s ok 2 /appinfo/mime/api 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_OJHJC3/appinfo/mime/default/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_OJHJC3/appinfo/mime/default/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_OJHJC3/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_OJHJC3/appinfo/mime/default/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_OJHJC3/appinfo/mime/default/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_OJHJC3/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_OJHJC3/appinfo/mime/default/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_OJHJC3/appinfo/mime/default/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_OJHJC3/appinfo/mime/default/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_OJHJC3/appinfo/mime/default/.dirs/runtime 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/default/.dirs/system-data1/applications' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/default/.dirs/data/applications' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 1300s # removing '/tmp/test_mimeapps_OJHJC3/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 1300s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OJHJC3/appinfo/mime/default/.dirs/config 1300s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_OJHJC3/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_OJHJC3/appinfo/mime/default/.dirs/config 1300s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OJHJC3/appinfo/mime/default/.dirs/config 1300s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OJHJC3/appinfo/mime/default/.dirs/config 1300s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OJHJC3/appinfo/mime/default/.dirs/config 1300s ok 3 /appinfo/mime/default 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_OJHJC3/appinfo/mime/file/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_OJHJC3/appinfo/mime/file/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_OJHJC3/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_OJHJC3/appinfo/mime/file/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_OJHJC3/appinfo/mime/file/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_OJHJC3/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_OJHJC3/appinfo/mime/file/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_OJHJC3/appinfo/mime/file/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_OJHJC3/appinfo/mime/file/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_OJHJC3/appinfo/mime/file/.dirs/runtime 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/file/.dirs/system-data1/applications' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/file/.dirs/data/applications' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 1300s # removing '/tmp/test_mimeapps_OJHJC3/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 1300s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OJHJC3/appinfo/mime/file/.dirs/config 1300s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_OJHJC3/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_OJHJC3/appinfo/mime/file/.dirs/config 1300s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OJHJC3/appinfo/mime/file/.dirs/config 1300s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OJHJC3/appinfo/mime/file/.dirs/config 1300s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OJHJC3/appinfo/mime/file/.dirs/config 1300s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OJHJC3/appinfo/mime/file/.dirs/config 1300s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OJHJC3/appinfo/mime/file/.dirs/config 1300s ok 4 /appinfo/mime/file 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_OJHJC3/appinfo/mime/scheme-handler/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_OJHJC3/appinfo/mime/scheme-handler/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_OJHJC3/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_OJHJC3/appinfo/mime/scheme-handler/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_OJHJC3/appinfo/mime/scheme-handler/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_OJHJC3/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_OJHJC3/appinfo/mime/scheme-handler/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_OJHJC3/appinfo/mime/scheme-handler/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_OJHJC3/appinfo/mime/scheme-handler/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_OJHJC3/appinfo/mime/scheme-handler/.dirs/runtime 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/scheme-handler/.dirs/data/applications' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1300s # removing '/tmp/test_mimeapps_OJHJC3/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1300s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_OJHJC3/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_OJHJC3/appinfo/mime/scheme-handler/.dirs/config 1300s ok 5 /appinfo/mime/scheme-handler 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_OJHJC3/appinfo/mime/default-last-used/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_OJHJC3/appinfo/mime/default-last-used/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_OJHJC3/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_OJHJC3/appinfo/mime/default-last-used/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_OJHJC3/appinfo/mime/default-last-used/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_OJHJC3/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_OJHJC3/appinfo/mime/default-last-used/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_OJHJC3/appinfo/mime/default-last-used/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_OJHJC3/appinfo/mime/default-last-used/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_OJHJC3/appinfo/mime/default-last-used/.dirs/runtime 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/default-last-used/.dirs/system-data1/applications' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/default-last-used/.dirs/data/applications' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 1300s ok - glib/mimeapps.test 1300s # Running test: glib/gdbus-proxy-threads.test 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1300s # removing '/tmp/test_mimeapps_OJHJC3/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 1300s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OJHJC3/appinfo/mime/default-last-used/.dirs/config 1300s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_OJHJC3/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_OJHJC3/appinfo/mime/default-last-used/.dirs/config 1300s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OJHJC3/appinfo/mime/default-last-used/.dirs/config 1300s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OJHJC3/appinfo/mime/default-last-used/.dirs/config 1300s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OJHJC3/appinfo/mime/default-last-used/.dirs/config 1300s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OJHJC3/appinfo/mime/default-last-used/.dirs/config 1300s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_OJHJC3/appinfo/mime/default-last-used/.dirs/config 1300s ok 6 /appinfo/mime/default-last-used 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_OJHJC3/appinfo/mime/ignore-nonexisting/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_OJHJC3/appinfo/mime/ignore-nonexisting/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_OJHJC3/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_OJHJC3/appinfo/mime/ignore-nonexisting/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_OJHJC3/appinfo/mime/ignore-nonexisting/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_OJHJC3/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_OJHJC3/appinfo/mime/ignore-nonexisting/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_OJHJC3/appinfo/mime/ignore-nonexisting/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_OJHJC3/appinfo/mime/ignore-nonexisting/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_OJHJC3/appinfo/mime/ignore-nonexisting/.dirs/runtime 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1300s # removing '/tmp/test_mimeapps_OJHJC3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1300s # creating '/tmp/test_mimeapps_OJHJC3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1300s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_OJHJC3/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_OJHJC3/appinfo/mime/ignore-nonexisting/.dirs/config 1300s ok 7 /appinfo/mime/ignore-nonexisting 1300s # End of mime tests 1300s # End of appinfo tests 1300s TAP version 14 1300s # random seed: R02S2dab5c3a6c55611c042746328edc624e 1300s 1..1 1300s # Start of gdbus tests 1300s # Start of proxy tests 1300s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_KV8GC3/gdbus/proxy/vs-threads/.dirs/home 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_KV8GC3/gdbus/proxy/vs-threads/.dirs/cache 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_KV8GC3/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_KV8GC3/gdbus/proxy/vs-threads/.dirs/system-config2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_KV8GC3/gdbus/proxy/vs-threads/.dirs/config 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_KV8GC3/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_KV8GC3/gdbus/proxy/vs-threads/.dirs/system-data2 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_KV8GC3/gdbus/proxy/vs-threads/.dirs/data 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_KV8GC3/gdbus/proxy/vs-threads/.dirs/state 1300s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_KV8GC3/gdbus/proxy/vs-threads/.dirs/runtime 1302s ok 1 /gdbus/proxy/vs-threads 1302s # slow test /gdbus/proxy/vs-threads executed in 2.16 secs 1302s # End of proxy tests 1302s # End of gdbus tests 1302s cleaning up pid 38414 1302s ok - glib/gdbus-proxy-threads.test 1302s # Running test: glib/array-test.test 1302s TAP version 14 1302s # random seed: R02Sfa23dfbe80984ac06d7e54e7a157d933 1302s 1..120 1302s # Start of array tests 1302s ok 1 /array/ref-count 1302s ok 2 /array/steal 1302s ok 3 /array/clear-func 1302s ok 4 /array/binary-search 1302s ok 5 /array/overflow-append-vals 1302s ok 6 /array/overflow-set-size 1302s # Start of new tests 1302s ok 7 /array/new/zero-terminated 1302s ok 8 /array/new/take 1302s ok 9 /array/new/take-zero-terminated 1302s # Start of take tests 1302s ok 10 /array/new/take/empty 1302s ok 11 /array/new/take/overflow 1302s ok 12 /array/new/take/zero-size 1302s # End of take tests 1302s # Start of take-zero-terminated tests 1302s ok 13 /array/new/take-zero-terminated/zero-size 1302s ok 14 /array/new/take-zero-terminated/null 1302s # End of take-zero-terminated tests 1302s # End of new tests 1302s # Start of copy tests 1302s # /array/copy/sized summary: Test that copying a newly-allocated sized array works. 1302s ok 15 /array/copy/sized 1302s ok 16 /array/copy/zero-terminated 1302s ok 17 /array/copy/non-zero-terminated-no-clear 1302s ok 18 /array/copy/non-zero-terminated-clear 1302s ok 19 /array/copy/zero-terminated-no-clear 1302s ok 20 /array/copy/zero-terminated-clear 1302s # End of copy tests 1302s # Start of remove-range tests 1302s ok 21 /array/remove-range/zero-terminated-null 1302s ok 22 /array/remove-range/non-zero-terminated-no-clear 1302s ok 23 /array/remove-range/non-zero-terminated-clear 1302s ok 24 /array/remove-range/zero-terminated-no-clear 1302s ok 25 /array/remove-range/zero-terminated-clear 1302s # End of remove-range tests 1302s # Start of set-size tests 1302s ok 26 /array/set-size/zero-terminated-null 1302s ok 27 /array/set-size/non-zero-terminated-no-clear 1302s ok 28 /array/set-size/non-zero-terminated-clear 1302s ok 29 /array/set-size/zero-terminated-no-clear 1302s ok 30 /array/set-size/zero-terminated-clear 1302s # Start of sized tests 1302s ok 31 /array/set-size/sized/non-zero-terminated-no-clear 1302s ok 32 /array/set-size/sized/non-zero-terminated-clear 1302s ok 33 /array/set-size/sized/zero-terminated-no-clear 1302s ok 34 /array/set-size/sized/zero-terminated-clear 1302s # End of sized tests 1302s # End of set-size tests 1302s # Start of append-val tests 1302s ok 35 /array/append-val/non-zero-terminated-no-clear 1302s ok 36 /array/append-val/non-zero-terminated-clear 1302s ok 37 /array/append-val/zero-terminated-no-clear 1302s ok 38 /array/append-val/zero-terminated-clear 1302s # End of append-val tests 1302s # Start of prepend-val tests 1302s ok 39 /array/prepend-val/non-zero-terminated-no-clear 1302s ok 40 /array/prepend-val/non-zero-terminated-clear 1302s ok 41 /array/prepend-val/zero-terminated-no-clear 1302s ok 42 /array/prepend-val/zero-terminated-clear 1302s # End of prepend-val tests 1302s # Start of prepend-vals tests 1302s ok 43 /array/prepend-vals/non-zero-terminated-no-clear 1302s ok 44 /array/prepend-vals/non-zero-terminated-clear 1302s ok 45 /array/prepend-vals/zero-terminated-no-clear 1302s ok 46 /array/prepend-vals/zero-terminated-clear 1302s # End of prepend-vals tests 1302s # Start of insert-vals tests 1302s ok 47 /array/insert-vals/non-zero-terminated-no-clear 1302s ok 48 /array/insert-vals/non-zero-terminated-clear 1302s ok 49 /array/insert-vals/zero-terminated-no-clear 1302s ok 50 /array/insert-vals/zero-terminated-clear 1302s # End of insert-vals tests 1302s # Start of remove-index tests 1302s ok 51 /array/remove-index/non-zero-terminated-no-clear 1302s ok 52 /array/remove-index/non-zero-terminated-clear 1302s ok 53 /array/remove-index/zero-terminated-no-clear 1302s ok 54 /array/remove-index/zero-terminated-clear 1302s # End of remove-index tests 1302s # Start of remove-index-fast tests 1302s ok 55 /array/remove-index-fast/non-zero-terminated-no-clear 1302s ok 56 /array/remove-index-fast/non-zero-terminated-clear 1302s ok 57 /array/remove-index-fast/zero-terminated-no-clear 1302s ok 58 /array/remove-index-fast/zero-terminated-clear 1302s # End of remove-index-fast tests 1302s # Start of sort tests 1302s ok 59 /array/sort/non-zero-terminated-no-clear 1302s ok 60 /array/sort/non-zero-terminated-clear 1302s ok 61 /array/sort/zero-terminated-no-clear 1302s ok 62 /array/sort/zero-terminated-clear 1302s # End of sort tests 1302s # Start of sort-with-data tests 1302s ok 63 /array/sort-with-data/non-zero-terminated-no-clear 1302s ok 64 /array/sort-with-data/non-zero-terminated-clear 1302s ok 65 /array/sort-with-data/zero-terminated-no-clear 1302s ok 66 /array/sort-with-data/zero-terminated-clear 1302s # End of sort-with-data tests 1302s # End of array tests 1302s # Start of pointerarray tests 1302s ok 67 /pointerarray/add 1302s ok 68 /pointerarray/insert 1302s ok 69 /pointerarray/new-take 1302s ok 70 /pointerarray/new-take-null-terminated 1302s ok 71 /pointerarray/new-from-array 1302s ok 72 /pointerarray/new-from-null-terminated-array 1302s ok 73 /pointerarray/free-func 1302s ok 74 /pointerarray/array_extend_and_steal 1302s ok 75 /pointerarray/sort 1302s ok 76 /pointerarray/sort-with-data 1302s ok 77 /pointerarray/sort-values 1302s ok 78 /pointerarray/sort-values-with-data 1302s ok 79 /pointerarray/remove-range 1302s ok 80 /pointerarray/steal 1302s # Start of free tests 1302s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 1302s ok 81 /pointerarray/free/null-terminated 1302s # End of free tests 1302s # Start of new-take tests 1302s ok 82 /pointerarray/new-take/empty 1302s ok 83 /pointerarray/new-take/overflow 1302s ok 84 /pointerarray/new-take/with-free-func 1302s # End of new-take tests 1302s # Start of new-take-null-terminated tests 1302s ok 85 /pointerarray/new-take-null-terminated/empty 1302s ok 86 /pointerarray/new-take-null-terminated/with-free-func 1302s ok 87 /pointerarray/new-take-null-terminated/from-gstrv 1302s # End of new-take-null-terminated tests 1302s # Start of new-from-array tests 1302s ok 88 /pointerarray/new-from-array/empty 1302s ok 89 /pointerarray/new-from-array/overflow 1302s ok 90 /pointerarray/new-from-array/with-copy-and-free-func 1302s # End of new-from-array tests 1302s # Start of new-from-null-terminated-array tests 1302s ok 91 /pointerarray/new-from-null-terminated-array/empty 1302s ok 92 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 1302s ok 93 /pointerarray/new-from-null-terminated-array/from-gstrv 1302s # End of new-from-null-terminated-array tests 1302s # Start of ref-count tests 1302s ok 94 /pointerarray/ref-count/not-null-terminated 1302s ok 95 /pointerarray/ref-count/null-terminated 1302s # End of ref-count tests 1302s # Start of array_copy tests 1302s # /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 1302s ok 96 /pointerarray/array_copy/not-null-terminated 1302s # /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 1302s ok 97 /pointerarray/array_copy/null-terminated 1302s # End of array_copy tests 1302s # Start of array_extend tests 1302s ok 98 /pointerarray/array_extend/not-null-terminated 1302s ok 99 /pointerarray/array_extend/null-terminated 1302s # End of array_extend tests 1302s # Start of sort tests 1302s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 1302s ok 100 /pointerarray/sort/example 1302s # End of sort tests 1302s # Start of sort-with-data tests 1302s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 1302s ok 101 /pointerarray/sort-with-data/example 1302s # End of sort-with-data tests 1302s # Start of sort-values tests 1302s ok 102 /pointerarray/sort-values/example 1302s # End of sort-values tests 1302s # Start of sort-values-with-data tests 1302s ok 103 /pointerarray/sort-values-with-data/example 1302s # End of sort-values-with-data tests 1302s # Start of find tests 1302s ok 104 /pointerarray/find/empty 1302s ok 105 /pointerarray/find/non-empty 1302s # End of find tests 1302s # Start of steal_index tests 1302s ok 106 /pointerarray/steal_index/not-null-terminated 1302s ok 107 /pointerarray/steal_index/null-terminated 1302s # End of steal_index tests 1302s # End of pointerarray tests 1302s # Start of bytearray tests 1302s ok 108 /bytearray/steal 1302s ok 109 /bytearray/append 1302s ok 110 /bytearray/prepend 1302s ok 111 /bytearray/remove 1302s ok 112 /bytearray/remove-fast 1302s ok 113 /bytearray/remove-range 1302s ok 114 /bytearray/ref-count 1302s ok 115 /bytearray/set-size 1302s ok 116 /bytearray/sort 1302s ok 117 /bytearray/sort-with-data 1302s ok 118 /bytearray/new-take 1302s ok 119 /bytearray/new-take-overflow 1302s ok 120 /bytearray/free-to-bytes 1302s # End of bytearray tests 1302s TAP version 14 1302s # random seed: R02Se3b379ae72a71f568343e818b233e9f1 1302s 1..3 1302s # Start of stream tests 1302s # Start of read_all_async tests 1302s ok 1 /stream/read_all_async/memory 1302s # End of read_all_async tests 1302s # Start of write_all_async tests 1302s ok 2 /stream/write_all_async/memory 1302s # End of write_all_async tests 1302s # Start of read_write_all_async tests 1302s ok - glib/array-test.test 1302s # Running test: glib/stream-rw_all.test 1302s ok 3 /stream/read_write_all_async/pipe 1302s # End of read_write_all_async tests 1302s # End of stream tests 1302s ok - glib/stream-rw_all.test 1302s # Running test: glib/properties-introspection.test 1302s TAP version 14 1302s # random seed: R02Sdb52786436eed6ba0fd5d1894685e011 1302s 1..2 1302s # Start of properties tests 1302s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 1302s ok 1 /properties/introspection 1302s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 1302s ok 2 /properties/collision 1302s # End of properties tests 1302s ok - glib/properties-introspection.test 1302s # Running test: glib/bitlock.test 1302s TAP version 14 1302s # random seed: R02S03e0e37b272e30314771cfca04f3292a 1302s 1..2 1302s ok - glib/bitlock.test 1302s # Running test: glib/cxx-14.test 1302s # Start of bitlock tests 1302s # Start of performance tests 1302s # max perf: iterations per second 1302s ok 1 /bitlock/performance/uncontended 1302s ok 2 /bitlock/performance/parallel 1302s # End of performance tests 1302s # End of bitlock tests 1302s TAP version 14 1302s # random seed: R02Se9b2e76b6a443123d411a281105fb49d 1302s 1..2 1302s # Start of gtask tests 1302s # 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. 1302s ok 1 /gtask/name 1302s # Start of name tests 1302s # 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. 1302s ok 2 /gtask/name/macro-wrapper 1302s # End of name tests 1302s # End of gtask tests 1302s ok - glib/cxx-14.test 1302s # Running test: glib/thread.test 1302s TAP version 14 1302s # random seed: R02S7ed943225ccdb7117567c6114f62fa1c 1302s 1..7 1302s # Start of thread tests 1302s ok 1 /thread/thread1 1302s ok 2 /thread/thread2 1302s ok 3 /thread/thread3 1302s ok 4 /thread/thread4 1302s ok 5 /thread/thread5 1302s ok 6 /thread/thread6 1302s ok - glib/thread.test 1302s # Running test: glib/gsocketclient-slow.test 1302s ok 7 /thread/thread7 1302s # End of thread tests 1302s TAP version 14 1302s # random seed: R02S30cfb5ab82539f13d1d6c3eaf28b2b6d 1302s 1..4 1302s # Start of socket-client tests 1302s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 1302s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’ 1302s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x9ef431774d0 and GSocketClientAsyncConnectData 0x9ef43172110 1302s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1302s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1302s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x9ef4317b130 for GSocketClientAsyncConnectData 0x9ef43172110 1302s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1303s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1303s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1303s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1303s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1303s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1303s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x9ef4317b130 for GSocketClientAsyncConnectData 0x9ef43172110 1303s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1303s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 1303s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 1303s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 1303s ok 1 /socket-client/connection-fail 1303s # slow test /socket-client/connection-fail executed in 1.20 secs 1303s # Start of happy-eyeballs tests 1303s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x9ef43179cc0 and GSocketClientAsyncConnectData 0x9ef4317ac60 1303s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1303s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1303s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x9ef4317df30 for GSocketClientAsyncConnectData 0x9ef4317ac60 1303s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1304s # Executing: glib/gsocketclient-slow.test 1304s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1304s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1304s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1304s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1304s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 1304s ok 2 /socket-client/happy-eyeballs/slow 1304s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 1304s # Start of cancellation tests 1304s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x9ef4317a940 and GSocketClientAsyncConnectData 0x9ef4317e1d0 1304s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1304s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 1304s ok 3 /socket-client/happy-eyeballs/cancellation/instant 1304s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x9ef43179be0 and GSocketClientAsyncConnectData 0x9ef4317db60 1304s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1304s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 1304s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x9ef4317e790 for GSocketClientAsyncConnectData 0x9ef4317db60 1304s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 1305s ok - glib/gsocketclient-slow.test 1305s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 1305s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 1305s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 1305s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 1305s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 1305s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 1305s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 1305s # End of cancellation tests 1305s # End of happy-eyeballs tests 1305s # End of socket-client tests 1305s # Running test: glib/gio-tool.py.test 1305s TAP version 13 1305s ok 1 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_folder 1305s # gio: /usr/bin/gio 1305s # tmpdir: /tmp/tmptoqu3jk5 1305s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmptoqu3jk5/folder/desktop.entry'] 1305s # Working Directory: /tmp/tmptoqu3jk5/folder 1305s # Return code: 0 1305s # Output: 1305s # /tmp/tmptoqu3jk5/folder/desktop.entry 1305s # Error: 1305s ok 2 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_parent 1305s # gio: /usr/bin/gio 1305s # tmpdir: /tmp/tmpisg3inkz 1305s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmpisg3inkz/folder/desktop.entry'] 1305s # Working Directory: /tmp/tmpisg3inkz 1305s # Return code: 0 1305s # Output: 1305s # /tmp/tmpisg3inkz/folder/desktop.entry 1305s # Error: 1305s ok 3 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_sibling 1305s # gio: /usr/bin/gio 1305s # tmpdir: /tmp/tmpcwk4433z 1305s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmpcwk4433z/folder/desktop.entry'] 1305s # Working Directory: /tmp/tmpcwk4433z/sibling 1305s # Return code: 0 1305s # Output: 1305s # /tmp/tmpcwk4433z/folder/desktop.entry 1305s # Error: 1305s ok 4 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_folder 1305s # gio: /usr/bin/gio 1305s # tmpdir: /tmp/tmp3skppebl 1305s # Running: ['/usr/bin/gio', 'launch', 'desktop.entry'] 1305s # Working Directory: /tmp/tmp3skppebl/folder 1305s # Return code: 0 1305s # Output: 1305s # /tmp/tmp3skppebl/folder/desktop.entry 1305s # Error: 1305s ok 5 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_parent 1305s # gio: /usr/bin/gio 1305s # tmpdir: /tmp/tmpplq7ukor 1305s # Running: ['/usr/bin/gio', 'launch', 'folder/desktop.entry'] 1305s # Working Directory: /tmp/tmpplq7ukor 1305s # Return code: 0 1305s # Output: 1305s # /tmp/tmpplq7ukor/folder/desktop.entry 1305s # Error: 1305s ok 6 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_sibling 1305s # gio: /usr/bin/gio 1305s # tmpdir: /tmp/tmpnycchsh3 1305s # Running: ['/usr/bin/gio', 'launch', '../folder/desktop.entry'] 1305s # Working Directory: /tmp/tmpnycchsh3/sibling 1305s # Return code: 0 1305s # Output: 1305s # /tmp/tmpnycchsh3/folder/desktop.entry 1305s # Error: 1305s ok 7 __main__.TestGioTool.test_help 1305s # gio: /usr/bin/gio 1305s # tmpdir: /tmp/tmpakpl8790 1305s # Running: ['/usr/bin/gio', '--help'] 1305s # Return code: 0 1305s # Output: 1305s # Usage: 1305s # gio COMMAND [ARGS…] 1305s # 1305s # Commands: 1305s # help Print help 1305s # version Print version 1305s # cat Concatenate files to standard output 1305s # copy Copy one or more files 1305s # info Show information about locations 1305s # launch Launch an application from a desktop file 1305s # list List the contents of locations 1305s # mime Get or set the handler for a mimetype 1305s # mkdir Create directories 1305s # monitor Monitor files and directories for changes 1305s # mount Mount or unmount the locations 1305s # move Move one or more files 1305s # open Open files with the default application 1305s # rename Rename a file 1305s # remove Delete one or more files 1305s # save Read from standard input and save 1305s # set Set a file attribute 1305s # trash Move files or directories to the trash 1305s # tree Lists the contents of locations in a tree 1305s # 1305s # Use “gio help COMMAND” to get detailed help. 1305s # Error: 1305s # 1305s # Running: ['/usr/bin/gio', 'help'] 1305s # Return code: 0 1305s # Output: 1305s # Usage: 1305s # gio COMMAND [ARGS…] 1305s # 1305s # Commands: 1305s # help Print help 1305s # version Print version 1305s # cat Concatenate files to standard output 1305s # copy Copy one or more files 1305s # info Show information about locations 1305s # launch Launch an application from a desktop file 1305s # list List the contents of locations 1305s # mime Get or set the handler for a mimetype 1305s # mkdir Create directories 1305s # monitor Monitor files and directories for changes 1305s # mount Mount or unmount the locations 1305s # move Move one or more files 1305s # open Open files with the default application 1305s # rename Rename a file 1305s # remove Delete one or more files 1305s # save Read from standard input and save 1305s # set Set a file attribute 1305s # trash Move files or directories to the trash 1305s # tree Lists the contents of locations in a tree 1305s # 1305s # Use “gio help COMMAND” to get detailed help. 1305s # Error: 1305s ok 8 __main__.TestGioTool.test_info_non_default_attributes 1305s # gio: /usr/bin/gio 1305s # tmpdir: /tmp/tmpl5obydyn 1305s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpl5obydyn/tmp6ssm0n5c'] 1305s # Return code: 0 1305s # Output: 1305s # uri: file:///tmp/tmpl5obydyn/tmp6ssm0n5c 1305s # local path: /tmp/tmpl5obydyn/tmp6ssm0n5c 1305s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 1305s # attributes: 1305s # standard::content-type: application/x-zerosize 1305s # Error: 1305s ok 9 __main__.TestGioTool.test_no_args 1305s ok - glib/gio-tool.py.test 1305s # Running test: glib/testing.test 1305s ok - glib/testing.test 1305s # Running test: glib/unicode-encoding.test 1305s ok - glib/unicode-encoding.test 1305s # Running test: glib/spawn-path-search.test 1305s # gio: /usr/bin/gio 1305s # tmpdir: /tmp/tmp_517_ie7 1305s # Running: ['/usr/bin/gio'] 1305s # Return code: 1 1305s # Output: 1305s # 1305s # Error: 1305s # Usage: 1305s # gio COMMAND [ARGS…] 1305s # 1305s # Commands: 1305s # help Print help 1305s # version Print version 1305s # cat Concatenate files to standard output 1305s # copy Copy one or more files 1305s # info Show information about locations 1305s # launch Launch an application from a desktop file 1305s # list List the contents of locations 1305s # mime Get or set the handler for a mimetype 1305s # mkdir Create directories 1305s # monitor Monitor files and directories for changes 1305s # mount Mount or unmount the locations 1305s # move Move one or more files 1305s # open Open files with the default application 1305s # rename Rename a file 1305s # remove Delete one or more files 1305s # save Read from standard input and save 1305s # set Set a file attribute 1305s # trash Move files or directories to the trash 1305s # tree Lists the contents of locations in a tree 1305s # 1305s # Use “gio help COMMAND” to get detailed help. 1305s 1..9 1305s TAP version 14 1305s # random seed: R02S8e27dbef3e723354f048d40dbc7f6cb6 1305s 1..1 1305s # Start of assert tests 1305s ok 1 /assert/finalize_object 1305s # Start of finalize_object tests 1305s # Start of subprocess tests 1305s # End of subprocess tests 1305s # End of finalize_object tests 1305s # End of assert tests 1305s TAP version 14 1305s # random seed: R02Saa22b1d4e1592002eb86da9b2f59609a 1305s 1..1 1305s # Start of unicode tests 1305s ok 1 /unicode/encoding 1305s # End of unicode tests 1305s TAP version 14 1305s # random seed: R02Sca64deeadae1af0f3929176d46832e70 1305s 1..7 1305s # Start of spawn tests 1305s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 1305s # 1305s # this is spawn-test-helper from glib/tests 1305s # 1305s ok 1 /spawn/do-not-search 1305s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 1305s # 1305s # this is spawn-test-helper from path-test-subdir 1305s # 1305s ok 2 /spawn/search-path 1305s # /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. 1305s # 1305s # this is spawn-test-helper from path-test-subdir 1305s # 1305s ok 3 /spawn/search-path-from-envp 1305s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 1305s # 1305s # this is spawn-test-helper from path-test-subdir 1305s # 1305s ok 4 /spawn/search-path-ambiguous 1305s # 1305s # this is spawn-test-helper from path-test-subdir 1305s # 1305s ok 5 /spawn/search-path-heap-allocation 1305s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 1305s # 1305s # this is spawn-test-helper from glib/tests 1305s # 1305s ok 6 /spawn/search-path-fallback-in-environ 1305s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 1305s # 1305s # this is spawn-test-helper from glib/tests 1305s # 1305s ok 7 /spawn/search-path-fallback-in-envp 1305s # End of spawn tests 1305s ok - glib/spawn-path-search.test 1305s # Running test: glib/mkenums.py.test 1305s TAP version 13 1305s ok 1 __main__.TestMkenums.test_available_in 1305s # glib-mkenums: /usr/bin/glib-mkenums 1305s # tmpdir: /tmp/tmpcn73gwij 1305s # rspfile: False 1305s # /tmp/tmpcn73gwij/tmp2y4vmcvn.h: 1305s # typedef enum { 1305s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1305s # } GDBusServerFlags; 1305s # 1305s # /tmp/tmpcn73gwij/tmpygvenm8g.template: 1305s # /*** BEGIN file-header ***/ 1305s # file-header 1305s # /*** END file-header ***/ 1305s # 1305s # /*** BEGIN file-production ***/ 1305s # file-production 1305s # filename: @filename@ 1305s # basename: @basename@ 1305s # /*** END file-production ***/ 1305s # 1305s # /*** BEGIN enumeration-production ***/ 1305s # enumeration-production 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END enumeration-production ***/ 1305s # 1305s # /*** BEGIN value-header ***/ 1305s # value-header 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-header ***/ 1305s # 1305s # /*** BEGIN value-production ***/ 1305s # value-production 1305s # VALUENAME: @VALUENAME@ 1305s # valuenick: @valuenick@ 1305s # valuenum: @valuenum@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-production ***/ 1305s # 1305s # /*** BEGIN value-tail ***/ 1305s # value-tail 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-tail ***/ 1305s # 1305s # /*** BEGIN comment ***/ 1305s # comment 1305s # comment: @comment@ 1305s # /*** END comment ***/ 1305s # 1305s # /*** BEGIN file-tail ***/ 1305s # file-tail 1305s # /*** END file-tail ***/ 1305s # 1305s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpcn73gwij/tmpygvenm8g.template', '/tmp/tmpcn73gwij/tmp2y4vmcvn.h'] 1305s # Return code: 0 1305s # Output: 1305s # comment 1305s # 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. 1305s # 1305s # 1305s # file-header 1305s # file-production 1305s # filename: /tmp/tmpcn73gwij/tmp2y4vmcvn.h 1305s # basename: tmp2y4vmcvn.h 1305s # enumeration-production 1305s # EnumName: GDBusServerFlags 1305s # enum_name: g_dbus_server_flags 1305s # ENUMNAME: G_DBUS_SERVER_FLAGS 1305s # ENUMSHORT: DBUS_SERVER_FLAGS 1305s # ENUMPREFIX: G 1305s # enumsince: 1305s # type: flags 1305s # Type: Flags 1305s # TYPE: FLAGS 1305s # value-header 1305s # EnumName: GDBusServerFlags 1305s # enum_name: g_dbus_server_flags 1305s # ENUMNAME: G_DBUS_SERVER_FLAGS 1305s # ENUMSHORT: DBUS_SERVER_FLAGS 1305s # ENUMPREFIX: G 1305s # enumsince: 1305s # type: flags 1305s # Type: Flags 1305s # TYPE: FLAGS 1305s # value-production 1305s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1305s # valuenick: user 1305s # valuenum: 4 1305s # type: flags 1305s # Type: Flags 1305s # TYPE: FLAGS 1305s # value-tail 1305s # EnumName: GDBusServerFlags 1305s # enum_name: g_dbus_server_flags 1305s # ENUMNAME: G_DBUS_SERVER_FLAGS 1305s # ENUMSHORT: DBUS_SERVER_FLAGS 1305s # ENUMPREFIX: G 1305s # enumsince: 1305s # type: flags 1305s # Type: Flags 1305s # TYPE: FLAGS 1305s # file-tail 1305s # 1305s # comment 1305s # comment: Generated data ends here 1305s # Error: 1305s ok 2 __main__.TestMkenums.test_comma_in_enum_value 1305s # glib-mkenums: /usr/bin/glib-mkenums 1305s # tmpdir: /tmp/tmphfetvo0t 1305s # rspfile: False 1305s # /tmp/tmphfetvo0t/tmpwxmpa5yj.h: 1305s # typedef enum { 1305s # ENUM_VALUE_WITH_COMMA = ',', 1305s # } TestCommaEnum; 1305s # 1305s # /tmp/tmphfetvo0t/tmpf5n9p5qi.template: 1305s # /*** BEGIN file-header ***/ 1305s # file-header 1305s # /*** END file-header ***/ 1305s # 1305s # /*** BEGIN file-production ***/ 1305s # file-production 1305s # filename: @filename@ 1305s # basename: @basename@ 1305s # /*** END file-production ***/ 1305s # 1305s # /*** BEGIN enumeration-production ***/ 1305s # enumeration-production 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END enumeration-production ***/ 1305s # 1305s # /*** BEGIN value-header ***/ 1305s # value-header 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-header ***/ 1305s # 1305s # /*** BEGIN value-production ***/ 1305s # value-production 1305s # VALUENAME: @VALUENAME@ 1305s # valuenick: @valuenick@ 1305s # valuenum: @valuenum@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-production ***/ 1305s # 1305s # /*** BEGIN value-tail ***/ 1305s # value-tail 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-tail ***/ 1305s # 1305s # /*** BEGIN comment ***/ 1305s # comment 1305s # comment: @comment@ 1305s # /*** END comment ***/ 1305s # 1305s # /*** BEGIN file-tail ***/ 1305s # file-tail 1305s # /*** END file-tail ***/ 1305s # 1305s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmphfetvo0t/tmpf5n9p5qi.template', '/tmp/tmphfetvo0t/tmpwxmpa5yj.h'] 1305s # Return code: 0 1305s # Output: 1305s # comment 1305s # 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. 1305s # 1305s # 1305s # file-header 1305s # file-production 1305s # filename: /tmp/tmphfetvo0t/tmpwxmpa5yj.h 1305s # basename: tmpwxmpa5yj.h 1305s # enumeration-production 1305s # EnumName: TestCommaEnum 1305s # enum_name: test_comma_enum 1305s # ENUMNAME: TEST_COMMA_ENUM 1305s # ENUMSHORT: COMMA_ENUM 1305s # ENUMPREFIX: TEST 1305s # enumsince: 1305s # type: enum 1305s # Type: Enum 1305s # TYPE: ENUM 1305s # value-header 1305s # EnumName: TestCommaEnum 1305s # enum_name: test_comma_enum 1305s # ENUMNAME: TEST_COMMA_ENUM 1305s # ENUMSHORT: COMMA_ENUM 1305s # ENUMPREFIX: TEST 1305s # enumsince: 1305s # type: enum 1305s # Type: Enum 1305s # TYPE: ENUM 1305s # value-production 1305s # VALUENAME: ENUM_VALUE_WITH_COMMA 1305s # valuenick: comma 1305s # valuenum: 44 1305s # type: enum 1305s # Type: Enum 1305s # TYPE: ENUM 1305s # value-tail 1305s # EnumName: TestCommaEnum 1305s # enum_name: test_comma_enum 1305s # ENUMNAME: TEST_COMMA_ENUM 1305s # ENUMSHORT: COMMA_ENUM 1305s # ENUMPREFIX: TEST 1305s # enumsince: 1305s # type: enum 1305s # Type: Enum 1305s # TYPE: ENUM 1305s # file-tail 1305s # 1305s # comment 1305s # comment: Generated data ends here 1305s # Error: 1305s ok 3 __main__.TestMkenums.test_deprecated_in 1305s # glib-mkenums: /usr/bin/glib-mkenums 1305s # tmpdir: /tmp/tmpg_z03jh5 1305s # rspfile: False 1305s # /tmp/tmpg_z03jh5/tmp0hydll0t.h: 1305s # typedef enum { 1305s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1305s # } GDBusServerFlags; 1305s # 1305s # /tmp/tmpg_z03jh5/tmpdfqo4gdt.template: 1305s # /*** BEGIN file-header ***/ 1305s # file-header 1305s # /*** END file-header ***/ 1305s # 1305s # /*** BEGIN file-production ***/ 1305s # file-production 1305s # filename: @filename@ 1305s # basename: @basename@ 1305s # /*** END file-production ***/ 1305s # 1305s # /*** BEGIN enumeration-production ***/ 1305s # enumeration-production 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END enumeration-production ***/ 1305s # 1305s # /*** BEGIN value-header ***/ 1305s # value-header 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-header ***/ 1305s # 1305s # /*** BEGIN value-production ***/ 1305s # value-production 1305s # VALUENAME: @VALUENAME@ 1305s # valuenick: @valuenick@ 1305s # valuenum: @valuenum@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-production ***/ 1305s # 1305s # /*** BEGIN value-tail ***/ 1305s # value-tail 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-tail ***/ 1305s # 1305s # /*** BEGIN comment ***/ 1305s # comment 1305s # comment: @comment@ 1305s # /*** END comment ***/ 1305s # 1305s # /*** BEGIN file-tail ***/ 1305s # file-tail 1305s # /*** END file-tail ***/ 1305s # 1305s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpg_z03jh5/tmpdfqo4gdt.template', '/tmp/tmpg_z03jh5/tmp0hydll0t.h'] 1305s # Return code: 0 1305s # Output: 1305s # comment 1305s # 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. 1305s # 1305s # 1305s # file-header 1305s # file-production 1305s # filename: /tmp/tmpg_z03jh5/tmp0hydll0t.h 1305s # basename: tmp0hydll0t.h 1305s # enumeration-production 1305s # EnumName: GDBusServerFlags 1305s # enum_name: g_dbus_server_flags 1305s # ENUMNAME: G_DBUS_SERVER_FLAGS 1305s # ENUMSHORT: DBUS_SERVER_FLAGS 1305s # ENUMPREFIX: G 1305s # enumsince: 1305s # type: flags 1305s # Type: Flags 1305s # TYPE: FLAGS 1305s # value-header 1305s # EnumName: GDBusServerFlags 1305s # enum_name: g_dbus_server_flags 1305s # ENUMNAME: G_DBUS_SERVER_FLAGS 1305s # ENUMSHORT: DBUS_SERVER_FLAGS 1305s # ENUMPREFIX: G 1305s # enumsince: 1305s # type: flags 1305s # Type: Flags 1305s # TYPE: FLAGS 1305s # value-production 1305s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1305s # valuenick: user 1305s # valuenum: 4 1305s # type: flags 1305s # Type: Flags 1305s # TYPE: FLAGS 1305s # value-tail 1305s # EnumName: GDBusServerFlags 1305s # enum_name: g_dbus_server_flags 1305s # ENUMNAME: G_DBUS_SERVER_FLAGS 1305s # ENUMSHORT: DBUS_SERVER_FLAGS 1305s # ENUMPREFIX: G 1305s # enumsince: 1305s # type: flags 1305s # Type: Flags 1305s # TYPE: FLAGS 1305s # file-tail 1305s # 1305s # comment 1305s # comment: Generated data ends here 1305s # Error: 1305s ok 4 __main__.TestMkenums.test_deprecated_in_for 1305s # glib-mkenums: /usr/bin/glib-mkenums 1305s # tmpdir: /tmp/tmpi2j8txrr 1305s # rspfile: False 1305s # /tmp/tmpi2j8txrr/tmpu818ope8.h: 1305s # typedef enum { 1305s # 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) 1305s # } GDBusServerFlags; 1305s # 1305s # /tmp/tmpi2j8txrr/tmp_k3ibfzd.template: 1305s # /*** BEGIN file-header ***/ 1305s # file-header 1305s # /*** END file-header ***/ 1305s # 1305s # /*** BEGIN file-production ***/ 1305s # file-production 1305s # filename: @filename@ 1305s # basename: @basename@ 1305s # /*** END file-production ***/ 1305s # 1305s # /*** BEGIN enumeration-production ***/ 1305s # enumeration-production 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END enumeration-production ***/ 1305s # 1305s # /*** BEGIN value-header ***/ 1305s # value-header 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-header ***/ 1305s # 1305s # /*** BEGIN value-production ***/ 1305s # value-production 1305s # VALUENAME: @VALUENAME@ 1305s # valuenick: @valuenick@ 1305s # valuenum: @valuenum@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-production ***/ 1305s # 1305s # /*** BEGIN value-tail ***/ 1305s # value-tail 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-tail ***/ 1305s # 1305s # /*** BEGIN comment ***/ 1305s # comment 1305s # comment: @comment@ 1305s # /*** END comment ***/ 1305s # 1305s # /*** BEGIN file-tail ***/ 1305s # file-tail 1305s # /*** END file-tail ***/ 1305s # 1305s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpi2j8txrr/tmp_k3ibfzd.template', '/tmp/tmpi2j8txrr/tmpu818ope8.h'] 1305s # Return code: 0 1305s # Output: 1305s # comment 1305s # 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. 1305s # 1305s # 1305s # file-header 1305s # file-production 1305s # filename: /tmp/tmpi2j8txrr/tmpu818ope8.h 1305s # basename: tmpu818ope8.h 1305s # enumeration-production 1305s # EnumName: GDBusServerFlags 1305s # enum_name: g_dbus_server_flags 1305s # ENUMNAME: G_DBUS_SERVER_FLAGS 1305s # ENUMSHORT: DBUS_SERVER_FLAGS 1305s # ENUMPREFIX: G 1305s # enumsince: 1305s # type: flags 1305s # Type: Flags 1305s # TYPE: FLAGS 1305s # value-header 1305s # EnumName: GDBusServerFlags 1305s # enum_name: g_dbus_server_flags 1305s # ENUMNAME: G_DBUS_SERVER_FLAGS 1305s # ENUMSHORT: DBUS_SERVER_FLAGS 1305s # ENUMPREFIX: G 1305s # enumsince: 1305s # type: flags 1305s # Type: Flags 1305s # TYPE: FLAGS 1305s # value-production 1305s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1305s # valuenick: user 1305s # valuenum: 4 1305s # type: flags 1305s # Type: Flags 1305s # TYPE: FLAGS 1305s # value-tail 1305s # EnumName: GDBusServerFlags 1305s # enum_name: g_dbus_server_flags 1305s # ENUMNAME: G_DBUS_SERVER_FLAGS 1305s # ENUMSHORT: DBUS_SERVER_FLAGS 1305s # ENUMPREFIX: G 1305s # enumsince: 1305s # type: flags 1305s # Type: Flags 1305s # TYPE: FLAGS 1305s # file-tail 1305s # 1305s # comment 1305s # comment: Generated data ends here 1305s # Error: 1305s ok 5 __main__.TestMkenums.test_empty_header 1305s # glib-mkenums: /usr/bin/glib-mkenums 1305s # tmpdir: /tmp/tmp72bnu5xs 1305s # rspfile: False 1305s # /tmp/tmp72bnu5xs/tmp0v1_2502.h: 1305s # /tmp/tmp72bnu5xs/tmpkvg4btvn.template: 1305s # /*** BEGIN file-header ***/ 1305s # file-header 1305s # /*** END file-header ***/ 1305s # 1305s # /*** BEGIN file-production ***/ 1305s # file-production 1305s # filename: @filename@ 1305s # basename: @basename@ 1305s # /*** END file-production ***/ 1305s # 1305s # /*** BEGIN enumeration-production ***/ 1305s # enumeration-production 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END enumeration-production ***/ 1305s # 1305s # /*** BEGIN value-header ***/ 1305s # value-header 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-header ***/ 1305s # 1305s # /*** BEGIN value-production ***/ 1305s # value-production 1305s # VALUENAME: @VALUENAME@ 1305s # valuenick: @valuenick@ 1305s # valuenum: @valuenum@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-production ***/ 1305s # 1305s # /*** BEGIN value-tail ***/ 1305s # value-tail 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-tail ***/ 1305s # 1305s # /*** BEGIN comment ***/ 1305s # comment 1305s # comment: @comment@ 1305s # /*** END comment ***/ 1305s # 1305s # /*** BEGIN file-tail ***/ 1305s # file-tail 1305s # /*** END file-tail ***/ 1305s # 1305s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp72bnu5xs/tmpkvg4btvn.template', '/tmp/tmp72bnu5xs/tmp0v1_2502.h'] 1305s # Return code: 0 1305s # Output: 1305s # comment 1305s # 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. 1305s # 1305s # 1305s # file-header 1305s # file-tail 1305s # 1305s # comment 1305s # comment: Generated data ends here 1305s # Error: 1305s ok 6 __main__.TestMkenums.test_empty_template 1305s # glib-mkenums: /usr/bin/glib-mkenums 1305s # tmpdir: /tmp/tmpcot848ki 1305s # rspfile: False 1305s # /tmp/tmpcot848ki/tmpji9i2kic.template: 1305s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpcot848ki/tmpji9i2kic.template'] 1305s # Return code: 0 1305s # Output: 1305s # /* 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. */ 1305s # 1305s # 1305s # /* Generated data ends here */ 1305s # Error: 1305s ok 7 __main__.TestMkenums.test_enum_name 1305s # glib-mkenums: /usr/bin/glib-mkenums 1305s # tmpdir: /tmp/tmpbj04fdjq 1305s # rspfile: False 1305s # /tmp/tmpbj04fdjq/tmp3hvfbzdi.h: 1305s # typedef enum _SomeEnumIdentifier { 1305s # ENUM_VALUE 1305s # } SomeEnumIdentifier; 1305s # 1305s # /tmp/tmpbj04fdjq/tmpzhhsg7jg.template: 1305s # /*** BEGIN file-header ***/ 1305s # file-header 1305s # /*** END file-header ***/ 1305s # 1305s # /*** BEGIN file-production ***/ 1305s # file-production 1305s # filename: @filename@ 1305s # basename: @basename@ 1305s # /*** END file-production ***/ 1305s # 1305s # /*** BEGIN enumeration-production ***/ 1305s # enumeration-production 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END enumeration-production ***/ 1305s # 1305s # /*** BEGIN value-header ***/ 1305s # value-header 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-header ***/ 1305s # 1305s # /*** BEGIN value-production ***/ 1305s # value-production 1305s # VALUENAME: @VALUENAME@ 1305s # valuenick: @valuenick@ 1305s # valuenum: @valuenum@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-production ***/ 1305s # 1305s # /*** BEGIN value-tail ***/ 1305s # value-tail 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-tail ***/ 1305s # 1305s # /*** BEGIN comment ***/ 1305s # comment 1305s # comment: @comment@ 1305s # /*** END comment ***/ 1305s # 1305s # /*** BEGIN file-tail ***/ 1305s # file-tail 1305s # /*** END file-tail ***/ 1305s # 1305s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpbj04fdjq/tmpzhhsg7jg.template', '/tmp/tmpbj04fdjq/tmp3hvfbzdi.h'] 1305s # Return code: 0 1305s # Output: 1305s # comment 1305s # 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. 1305s # 1305s # 1305s # file-header 1305s # file-production 1305s # filename: /tmp/tmpbj04fdjq/tmp3hvfbzdi.h 1305s # basename: tmp3hvfbzdi.h 1305s # enumeration-production 1305s # EnumName: SomeEnumIdentifier 1305s # enum_name: some_enum_identifier 1305s # ENUMNAME: SOME_ENUM_IDENTIFIER 1305s # ENUMSHORT: ENUM_IDENTIFIER 1305s # ENUMPREFIX: SOME 1305s # enumsince: 1305s # type: enum 1305s # Type: Enum 1305s # TYPE: ENUM 1305s # value-header 1305s # EnumName: SomeEnumIdentifier 1305s # enum_name: some_enum_identifier 1305s # ENUMNAME: SOME_ENUM_IDENTIFIER 1305s # ENUMSHORT: ENUM_IDENTIFIER 1305s # ENUMPREFIX: SOME 1305s # enumsince: 1305s # type: enum 1305s # Type: Enum 1305s # TYPE: ENUM 1305s # value-production 1305s # VALUENAME: ENUM_VALUE 1305s # valuenick: value 1305s # valuenum: 0 1305s # type: enum 1305s # Type: Enum 1305s # TYPE: ENUM 1305s # value-tail 1305s # EnumName: SomeEnumIdentifier 1305s # enum_name: some_enum_identifier 1305s # ENUMNAME: SOME_ENUM_IDENTIFIER 1305s # ENUMSHORT: ENUM_IDENTIFIER 1305s # ENUMPREFIX: SOME 1305s # enumsince: 1305s # type: enum 1305s # Type: Enum 1305s # TYPE: ENUM 1305s # file-tail 1305s # 1305s # comment 1305s # comment: Generated data ends here 1305s # Error: 1305s ok 8 __main__.TestMkenums.test_enum_private_public 1305s # glib-mkenums: /usr/bin/glib-mkenums 1305s # tmpdir: /tmp/tmp9x_mactm 1305s # rspfile: False 1305s # /tmp/tmp9x_mactm/tmpjrveskmm.h: 1305s # typedef enum { 1305s # ENUM_VALUE_PUBLIC1, 1305s # /*< private >*/ 1305s # ENUM_VALUE_PRIVATE, 1305s # } SomeEnumA 1305s # 1305s # /tmp/tmp9x_mactm/tmp0ifka9lr.template: 1305s # /*** BEGIN file-header ***/ 1305s # file-header 1305s # /*** END file-header ***/ 1305s # 1305s # /*** BEGIN file-production ***/ 1305s # file-production 1305s # filename: @filename@ 1305s # basename: @basename@ 1305s # /*** END file-production ***/ 1305s # 1305s # /*** BEGIN enumeration-production ***/ 1305s # enumeration-production 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END enumeration-production ***/ 1305s # 1305s # /*** BEGIN value-header ***/ 1305s # value-header 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-header ***/ 1305s # 1305s # /*** BEGIN value-production ***/ 1305s # value-production 1305s # VALUENAME: @VALUENAME@ 1305s # valuenick: @valuenick@ 1305s # valuenum: @valuenum@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-production ***/ 1305s # 1305s # /*** BEGIN value-tail ***/ 1305s # value-tail 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-tail ***/ 1305s # 1305s # /*** BEGIN comment ***/ 1305s # comment 1305s # comment: @comment@ 1305s # /*** END comment ***/ 1305s # 1305s # /*** BEGIN file-tail ***/ 1305s # file-tail 1305s # /*** END file-tail ***/ 1305s # 1305s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp9x_mactm/tmp0ifka9lr.template', '/tmp/tmp9x_mactm/tmpjrveskmm.h'] 1305s # Return code: 0 1305s # Output: 1305s # comment 1305s # 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. 1305s # 1305s # 1305s # file-header 1305s # file-production 1305s # filename: /tmp/tmp9x_mactm/tmpjrveskmm.h 1305s # basename: tmpjrveskmm.h 1305s # enumeration-production 1305s # EnumName: SomeEnumA 1305s # enum_name: some_enum_a 1305s # ENUMNAME: SOME_ENUM_A 1305s # ENUMSHORT: ENUM_A 1305s # ENUMPREFIX: SOME 1305s # enumsince: 1305s # type: enum 1305s # Type: Enum 1305s # TYPE: ENUM 1305s # value-header 1305s # EnumName: SomeEnumA 1305s # enum_name: some_enum_a 1305s # ENUMNAME: SOME_ENUM_A 1305s # ENUMSHORT: ENUM_A 1305s # ENUMPREFIX: SOME 1305s # enumsince: 1305s # type: enum 1305s # Type: Enum 1305s # TYPE: ENUM 1305s # value-production 1305s # VALUENAME: ENUM_VALUE_PUBLIC1 1305s # valuenick: public1 1305s # valuenum: 0 1305s # type: enum 1305s # Type: Enum 1305s # TYPE: ENUM 1305s # value-tail 1305s # EnumName: SomeEnumA 1305s # enum_name: some_enum_a 1305s # ENUMNAME: SOME_ENUM_A 1305s # ENUMSHORT: ENUM_A 1305s # ENUMPREFIX: SOME 1305s # enumsince: 1305s # type: enum 1305s # Type: Enum 1305s # TYPE: ENUM 1305s # file-tail 1305s # 1305s # comment 1305s # comment: Generated data ends here 1305s # Error: 1305s # 1305s # /tmp/tmp9x_mactm/tmp7nz195sn.h: 1305s # typedef enum { 1305s # /*< private >*/ 1305s # ENUM_VALUE_PRIVATE, 1305s # /*< public >*/ 1305s # ENUM_VALUE_PUBLIC2, 1305s # } SomeEnumB; 1305s # 1305s # /tmp/tmp9x_mactm/tmpmmwdyce8.template: 1305s # /*** BEGIN file-header ***/ 1305s # file-header 1305s # /*** END file-header ***/ 1305s # 1305s # /*** BEGIN file-production ***/ 1305s # file-production 1305s # filename: @filename@ 1305s # basename: @basename@ 1305s # /*** END file-production ***/ 1305s # 1305s # /*** BEGIN enumeration-production ***/ 1305s # enumeration-production 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END enumeration-production ***/ 1305s # 1305s # /*** BEGIN value-header ***/ 1305s # value-header 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-header ***/ 1305s # 1305s # /*** BEGIN value-production ***/ 1305s # value-production 1305s # VALUENAME: @VALUENAME@ 1305s # valuenick: @valuenick@ 1305s # valuenum: @valuenum@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-production ***/ 1305s # 1305s # /*** BEGIN value-tail ***/ 1305s # value-tail 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-tail ***/ 1305s # 1305s # /*** BEGIN comment ***/ 1305s # comment 1305s # comment: @comment@ 1305s # /*** END comment ***/ 1305s # 1305s # /*** BEGIN file-tail ***/ 1305s # file-tail 1305s # /*** END file-tail ***/ 1305s # 1305s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp9x_mactm/tmpmmwdyce8.template', '/tmp/tmp9x_mactm/tmp7nz195sn.h'] 1305s # Return code: 0 1305s # Output: 1305s # comment 1305s # 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. 1305s # 1305s # 1305s # file-header 1305s # file-production 1305s # filename: /tmp/tmp9x_mactm/tmp7nz195sn.h 1305s # basename: tmp7nz195sn.h 1305s # enumeration-production 1305s # EnumName: SomeEnumB 1305s # enum_name: some_enum_b 1305s # ENUMNAME: SOME_ENUM_B 1305s # ENUMSHORT: ENUM_B 1305s # ENUMPREFIX: SOME 1305s # enumsince: 1305s # type: enum 1305s # Type: Enum 1305s # TYPE: ENUM 1305s # value-header 1305s # EnumName: SomeEnumB 1305s # enum_name: some_enum_b 1305s # ENUMNAME: SOME_ENUM_B 1305s # ENUMSHORT: ENUM_B 1305s # ENUMPREFIX: SOME 1305s # enumsince: 1305s # type: enum 1305s # Type: Enum 1305s # TYPE: ENUM 1305s # value-production 1305s # VALUENAME: ENUM_VALUE_PUBLIC2 1305s # valuenick: public2 1305s # valuenum: 1 1305s # type: enum 1305s # Type: Enum 1305s # TYPE: ENUM 1305s # value-tail 1305s # EnumName: SomeEnumB 1305s # enum_name: some_enum_b 1305s # ENUMNAME: SOME_ENUM_B 1305s # ENUMSHORT: ENUM_B 1305s # ENUMPREFIX: SOME 1305s # enumsince: 1305s # type: enum 1305s # Type: Enum 1305s # TYPE: ENUM 1305s # file-tail 1305s # 1305s # comment 1305s # comment: Generated data ends here 1305s # Error: 1305s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 1305s # glib-mkenums: /usr/bin/glib-mkenums 1305s # tmpdir: /tmp/tmpzuzh27g7 1305s # rspfile: False 1305s # /tmp/tmpzuzh27g7/tmp2f4gdntg.h: 1305s # typedef enum { 1305s # /*< private >*/ 1305s # ENUM_VALUE_PRIVATE = 5, 1305s # /*< public >*/ 1305s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1305s # } TestSymbolicEnum; 1305s # 1305s # /tmp/tmpzuzh27g7/tmppi10c8mj.template: 1305s # /*** BEGIN file-header ***/ 1305s # file-header 1305s # /*** END file-header ***/ 1305s # 1305s # /*** BEGIN file-production ***/ 1305s # file-production 1305s # filename: @filename@ 1305s # basename: @basename@ 1305s # /*** END file-production ***/ 1305s # 1305s # /*** BEGIN enumeration-production ***/ 1305s # enumeration-production 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END enumeration-production ***/ 1305s # 1305s # /*** BEGIN value-header ***/ 1305s # value-header 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-header ***/ 1305s # 1305s # /*** BEGIN value-production ***/ 1305s # value-production 1305s # VALUENAME: @VALUENAME@ 1305s # valuenick: @valuenick@ 1305s # valuenum: @valuenum@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-production ***/ 1305s # 1305s # /*** BEGIN value-tail ***/ 1305s # value-tail 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-tail ***/ 1305s # 1305s # /*** BEGIN comment ***/ 1305s # comment 1305s # comment: @comment@ 1305s # /*** END comment ***/ 1305s # 1305s # /*** BEGIN file-tail ***/ 1305s # file-tail 1305s # /*** END file-tail ***/ 1305s # 1305s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpzuzh27g7/tmppi10c8mj.template', '/tmp/tmpzuzh27g7/tmp2f4gdntg.h'] 1305s # Return code: 0 1305s # Output: 1305s # comment 1305s # 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. 1305s # 1305s # 1305s # file-header 1305s # file-production 1305s # filename: /tmp/tmpzuzh27g7/tmp2f4gdntg.h 1305s # basename: tmp2f4gdntg.h 1305s # enumeration-production 1305s # EnumName: TestSymbolicEnum 1305s # enum_name: test_symbolic_enum 1305s # ENUMNAME: TEST_SYMBOLIC_ENUM 1305s # ENUMSHORT: SYMBOLIC_ENUM 1305s # ENUMPREFIX: TEST 1305s # enumsince: 1305s # type: enum 1305s # Type: Enum 1305s # TYPE: ENUM 1305s # value-header 1305s # EnumName: TestSymbolicEnum 1305s # enum_name: test_symbolic_enum 1305s # ENUMNAME: TEST_SYMBOLIC_ENUM 1305s # ENUMSHORT: SYMBOLIC_ENUM 1305s # ENUMPREFIX: TEST 1305s # enumsince: 1305s # type: enum 1305s # Type: Enum 1305s # TYPE: ENUM 1305s # value-production 1305s # VALUENAME: ENUM_VALUE_PUBLIC 1305s # valuenick: public 1305s # valuenum: 7 1305s # type: enum 1305s # Type: Enum 1305s # TYPE: ENUM 1305s # value-tail 1305s # EnumName: TestSymbolicEnum 1305s # enum_name: test_symbolic_enum 1305s # ENUMNAME: TEST_SYMBOLIC_ENUM 1305s # ENUMSHORT: SYMBOLIC_ENUM 1305s # ENUMPREFIX: TEST 1305s # enumsince: 1305s # type: enum 1305s # Type: Enum 1305s # TYPE: ENUM 1305s # file-tail 1305s # 1305s # comment 1305s # comment: Generated data ends here 1305s # Error: 1305s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 1305s # glib-mkenums: /usr/bin/glib-mkenums 1305s # tmpdir: /tmp/tmpeiikq2iv 1305s # rspfile: False 1305s # /tmp/tmpeiikq2iv/tmp0m600aea.template: 1305s # /*** BEGIN file-header ***/ 1305s # file-header 1305s # filename: @filename@ 1305s # basename: @basename@ 1305s # /*** END file-header ***/ 1305s # 1305s # /*** BEGIN comment ***/ 1305s # comment 1305s # comment: @comment@ 1305s # /*** END comment ***/ 1305s # 1305s # /*** BEGIN file-tail ***/ 1305s # file-tail 1305s # filename: @filename@ 1305s # basename: @basename@ 1305s # /*** END file-tail ***/ 1305s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpeiikq2iv/tmp0m600aea.template'] 1305s # Return code: 0 1305s # Output: 1305s # comment 1305s # 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. 1305s # 1305s # 1305s # file-header 1305s # filename: @filename@ 1305s # basename: @basename@ 1305s # file-tail 1305s # filename: @filename@ 1305s # basename: @basename@ 1305s # 1305s # comment 1305s # comment: Generated data ends here 1305s # Error: 1305s # WARNING: @filename@ used in file-header section. 1305s # WARNING: @basename@ used in file-header section. 1305s # WARNING: @filename@ used in file-tail section. 1305s # WARNING: @basename@ used in file-tail section. 1305s ok 11 __main__.TestMkenums.test_help 1305s # glib-mkenums: /usr/bin/glib-mkenums 1305s # tmpdir: /tmp/tmppew1fbh5 1305s # rspfile: False 1305s # Running: ['/usr/bin/glib-mkenums', '--help'] 1305s # Return code: 0 1305s # Output: 1305s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1305s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1305s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1305s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1305s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1305s # [--output OUTPUT] [--version] 1305s # [args ...] 1305s # 1305s # positional arguments: 1305s # args One or more input files, or a single argument 1305s # @rspfile_path pointing to a file that contains the 1305s # actual arguments 1305s # 1305s # options: 1305s # -h, --help show this help message and exit 1305s # --identifier-prefix IDPREFIX 1305s # Identifier prefix 1305s # --symbol-prefix SYMPREFIX 1305s # Symbol prefix 1305s # --fhead FHEAD Output file header 1305s # --ftail FTAIL Output file footer 1305s # --fprod FPROD Put out TEXT every time a new input file is being 1305s # processed. 1305s # --eprod EPROD Per enum text, produced prior to value iterations 1305s # --vhead VHEAD Value header, produced before iterating over enum 1305s # values 1305s # --vprod VPROD Value text, produced for each enum value. 1305s # --vtail VTAIL Value tail, produced after iterating over enum values 1305s # --comments COMMENT_TMPL 1305s # Comment structure 1305s # --template TEMPLATE Template file 1305s # --output OUTPUT 1305s # --version, -v Print version information 1305s # 1305s # Production text substitutions: 1305s # @EnumName@ PrefixTheXEnum 1305s # @enum_name@ prefix_the_xenum 1305s # @ENUMNAME@ PREFIX_THE_XENUM 1305s # @ENUMSHORT@ THE_XENUM 1305s # @ENUMPREFIX@ PREFIX 1305s # @enumsince@ the user-provided since value given 1305s # @VALUENAME@ PREFIX_THE_XVALUE 1305s # @valuenick@ the-xvalue 1305s # @valuenum@ the integer value (limited support, Since: 2.26) 1305s # @type@ either enum or flags 1305s # @Type@ either Enum or Flags 1305s # @TYPE@ either ENUM or FLAGS 1305s # @filename@ name of current input file 1305s # @basename@ base name of the current input file (Since: 2.22) 1305s # Error: 1305s ok 12 __main__.TestMkenums.test_no_args 1305s # glib-mkenums: /usr/bin/glib-mkenums 1305s # tmpdir: /tmp/tmpmk8ethcv 1305s # rspfile: False 1305s # Running: ['/usr/bin/glib-mkenums'] 1305s # Return code: 0 1305s # Output: 1305s # /* 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. */ 1305s # 1305s # 1305s # /* Generated data ends here */ 1305s # Error: 1305s ok 13 __main__.TestMkenums.test_no_headers 1305s # glib-mkenums: /usr/bin/glib-mkenums 1305s # tmpdir: /tmp/tmpsq39k9kz 1305s # rspfile: False 1305s # /tmp/tmpsq39k9kz/tmp__7zbsbn.template: 1305s # /*** BEGIN file-header ***/ 1305s # file-header 1305s # /*** END file-header ***/ 1305s # 1305s # /*** BEGIN file-production ***/ 1305s # file-production 1305s # filename: @filename@ 1305s # basename: @basename@ 1305s # /*** END file-production ***/ 1305s # 1305s # /*** BEGIN enumeration-production ***/ 1305s # enumeration-production 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END enumeration-production ***/ 1305s # 1305s # /*** BEGIN value-header ***/ 1305s # value-header 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-header ***/ 1305s # 1305s # /*** BEGIN value-production ***/ 1305s # value-production 1305s # VALUENAME: @VALUENAME@ 1305s # valuenick: @valuenick@ 1305s # valuenum: @valuenum@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-production ***/ 1305s # 1305s # /*** BEGIN value-tail ***/ 1305s # value-tail 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-tail ***/ 1305s # 1305s # /*** BEGIN comment ***/ 1305s # comment 1305s # comment: @comment@ 1305s # /*** END comment ***/ 1305s # 1305s # /*** BEGIN file-tail ***/ 1305s # file-tail 1305s # /*** END file-tail ***/ 1305s # 1305s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpsq39k9kz/tmp__7zbsbn.template'] 1305s # Return code: 0 1305s # Output: 1305s # comment 1305s # 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. 1305s # 1305s # 1305s # file-header 1305s # file-tail 1305s # 1305s # comment 1305s # comment: Generated data ends here 1305s # Error: 1305s ok 14 __main__.TestMkenums.test_no_nick 1305s # glib-mkenums: /usr/bin/glib-mkenums 1305s # tmpdir: /tmp/tmprctfwtdz 1305s # rspfile: False 1305s # /tmp/tmprctfwtdz/tmpi_3fk1vm.h: 1305s # typedef enum { 1305s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1305s # } GeglSamplerType; 1305s # 1305s # /tmp/tmprctfwtdz/tmp8zm6x5px.template: 1305s # /*** BEGIN file-header ***/ 1305s # file-header 1305s # /*** END file-header ***/ 1305s # 1305s # /*** BEGIN file-production ***/ 1305s # file-production 1305s # filename: @filename@ 1305s # basename: @basename@ 1305s # /*** END file-production ***/ 1305s # 1305s # /*** BEGIN enumeration-production ***/ 1305s # enumeration-production 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END enumeration-production ***/ 1305s # 1305s # /*** BEGIN value-header ***/ 1305s # value-header 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-header ***/ 1305s # 1305s # /*** BEGIN value-production ***/ 1305s # value-production 1305s # VALUENAME: @VALUENAME@ 1305s # valuenick: @valuenick@ 1305s # valuenum: @valuenum@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-production ***/ 1305s # 1305s # /*** BEGIN value-tail ***/ 1305s # value-tail 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-tail ***/ 1305s # 1305s # /*** BEGIN comment ***/ 1305s # comment 1305s # comment: @comment@ 1305s # /*** END comment ***/ 1305s # 1305s # /*** BEGIN file-tail ***/ 1305s # file-tail 1305s # /*** END file-tail ***/ 1305s # 1305s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmprctfwtdz/tmp8zm6x5px.template', '/tmp/tmprctfwtdz/tmpi_3fk1vm.h'] 1305s # Return code: 0 1305s # Output: 1305s # comment 1305s # 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. 1305s # 1305s # 1305s # file-header 1305s # file-production 1305s # filename: /tmp/tmprctfwtdz/tmpi_3fk1vm.h 1305s # basename: tmpi_3fk1vm.h 1305s # enumeration-production 1305s # EnumName: GeglSamplerType 1305s # enum_name: gegl_sampler_type 1305s # ENUMNAME: GEGL_SAMPLER_TYPE 1305s # ENUMSHORT: SAMPLER_TYPE 1305s # ENUMPREFIX: GEGL 1305s # enumsince: 1305s # type: enum 1305s # Type: Enum 1305s # TYPE: ENUM 1305s # value-header 1305s # EnumName: GeglSamplerType 1305s # enum_name: gegl_sampler_type 1305s # ENUMNAME: GEGL_SAMPLER_TYPE 1305s # ENUMSHORT: SAMPLER_TYPE 1305s # ENUMPREFIX: GEGL 1305s # enumsince: 1305s # type: enum 1305s # Type: Enum 1305s # TYPE: ENUM 1305s # value-production 1305s # VALUENAME: GEGL_SAMPLER_NEAREST 1305s # valuenick: nearest 1305s # valuenum: 0 1305s # type: enum 1305s # Type: Enum 1305s # TYPE: ENUM 1305s # value-tail 1305s # EnumName: GeglSamplerType 1305s # enum_name: gegl_sampler_type 1305s # ENUMNAME: GEGL_SAMPLER_TYPE 1305s # ENUMSHORT: SAMPLER_TYPE 1305s # ENUMPREFIX: GEGL 1305s # enumsince: 1305s # type: enum 1305s # Type: Enum 1305s # TYPE: ENUM 1305s # file-tail 1305s # 1305s # comment 1305s # comment: Generated data ends here 1305s # Error: 1305s ok 15 __main__.TestMkenums.test_non_utf8_encoding 1305s # glib-mkenums: /usr/bin/glib-mkenums 1305s # tmpdir: /tmp/tmpycrp0csz 1305s # rspfile: False 1305s # /tmp/tmpycrp0csz/tmplxrupq9f.h: 1305s # /* Copyright © La Peña */ 1305s # typedef enum { 1305s # ENUM_VALUE 1305s # } SomeEnumIdentifier; 1305s # 1305s # /tmp/tmpycrp0csz/tmpwu857n7z.template: 1305s # /*** BEGIN file-header ***/ 1305s # file-header 1305s # /*** END file-header ***/ 1305s # 1305s # /*** BEGIN file-production ***/ 1305s # file-production 1305s # filename: @filename@ 1305s # basename: @basename@ 1305s # /*** END file-production ***/ 1305s # 1305s # /*** BEGIN enumeration-production ***/ 1305s # enumeration-production 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END enumeration-production ***/ 1305s # 1305s # /*** BEGIN value-header ***/ 1305s # value-header 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-header ***/ 1305s # 1305s # /*** BEGIN value-production ***/ 1305s # value-production 1305s # VALUENAME: @VALUENAME@ 1305s # valuenick: @valuenick@ 1305s # valuenum: @valuenum@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-production ***/ 1305s # 1305s # /*** BEGIN value-tail ***/ 1305s # value-tail 1305s # EnumName: @EnumName@ 1305s # enum_name: @enum_name@ 1305s # ENUMNAME: @ENUMNAME@ 1305s # ENUMSHORT: @ENUMSHORT@ 1305s # ENUMPREFIX: @ENUMPREFIX@ 1305s # enumsince: @enumsince@ 1305s # type: @type@ 1305s # Type: @Type@ 1305s # TYPE: @TYPE@ 1305s # /*** END value-tail ***/ 1305s # 1305s # /*** BEGIN comment ***/ 1305s # comment 1305s # comment: @comment@ 1305s # /*** END comment ***/ 1305s # 1305s # /*** BEGIN file-tail ***/ 1305s # file-tail 1305s # /*** END file-tail ***/ 1305s # 1305s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpycrp0csz/tmpwu857n7z.template', '/tmp/tmpycrp0csz/tmplxrupq9f.h'] 1305s # Return code: 0 1305s # Output: 1305s # comment 1305s # 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. 1305s # 1305s # 1305s # file-header 1305s # file-production 1305s # filename: /tmp/tmpycrp0csz/tmplxrupq9f.h 1305s # basename: tmplxrupq9f.h 1305s # enumeration-production 1305s # EnumName: SomeEnumIdentifier 1305s # enum_name: some_enum_identifier 1305s # ENUMNAME: SOME_ENUM_IDENTIFIER 1305s # ENUMSHORT: ENUM_IDENTIFIER 1305s # ENUMPREFIX: SOME 1305s # enumsince: 1305s # type: enum 1305s # Type: Enum 1305s # TYPE: ENUM 1305s # value-header 1305s # EnumName: SomeEnumIdentifier 1305s # enum_name: some_enum_identifier 1305s # ENUMNAME: SOME_ENUM_IDENTIFIER 1305s # ENUMSHORT: ENUM_IDENTIFIER 1305s # ENUMPREFIX: SOME 1305s # enumsince: 1305s # type: enum 1305s # Type: Enum 1305s # TYPE: ENUM 1305s # value-production 1305s # VALUENAME: ENUM_VALUE 1305s # valuenick: value 1305s # valuenum: 0 1305s # type: enum 1305s # Type: Enum 1305s # TYPE: ENUM 1305s # value-tail 1305s # EnumName: SomeEnumIdentifier 1305s # enum_name: some_enum_identifier 1305s # ENUMNAME: SOME_ENUM_IDENTIFIER 1305s # ENUMSHORT: ENUM_IDENTIFIER 1305s # ENUMPREFIX: SOME 1305s # enumsince: 1305s # type: enum 1305s # Type: Enum 1305s # TYPE: ENUM 1305s # file-tail 1305s # 1305s # comment 1305s # comment: Generated data ends here 1305s # Error: 1305s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 1305s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 1306s ok 16 __main__.TestMkenums.test_reproducible 1306s # glib-mkenums: /usr/bin/glib-mkenums 1306s # tmpdir: /tmp/tmpiykwj9za 1306s # rspfile: False 1306s # /tmp/tmpiykwj9za/tmpwaqfr00h.template: template 1306s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpiykwj9za/tmpwaqfr00h.template', '/tmp/tmpiykwj9za/tmpylrdi0ns1.h', '/tmp/tmpiykwj9za/tmp6mawgrsq2.h'] 1306s # Return code: 0 1306s # Output: 1306s # /* 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. */ 1306s # 1306s # 1306s # /* Generated data ends here */ 1306s # Error: 1306s # 1306s # /tmp/tmpiykwj9za/tmp5dt2rsx4.template: template 1306s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpiykwj9za/tmp5dt2rsx4.template', '/tmp/tmpiykwj9za/tmp6mawgrsq2.h', '/tmp/tmpiykwj9za/tmpylrdi0ns1.h'] 1306s # Return code: 0 1306s # Output: 1306s # /* 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. */ 1306s # 1306s # 1306s # /* Generated data ends here */ 1306s # Error: 1306s ok 17 __main__.TestMkenums.test_since 1306s # glib-mkenums: /usr/bin/glib-mkenums 1306s # tmpdir: /tmp/tmpu04vo2o_ 1306s # rspfile: False 1306s # /tmp/tmpu04vo2o_/tmpkodc_xt6.h: 1306s # typedef enum { /*< since=1.0 >*/ 1306s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1306s # } QmiWmsMessageProtocol; 1306s # 1306s # /tmp/tmpu04vo2o_/tmp7nq2fk1l.template: 1306s # /*** BEGIN file-header ***/ 1306s # file-header 1306s # /*** END file-header ***/ 1306s # 1306s # /*** BEGIN file-production ***/ 1306s # file-production 1306s # filename: @filename@ 1306s # basename: @basename@ 1306s # /*** END file-production ***/ 1306s # 1306s # /*** BEGIN enumeration-production ***/ 1306s # enumeration-production 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END enumeration-production ***/ 1306s # 1306s # /*** BEGIN value-header ***/ 1306s # value-header 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-header ***/ 1306s # 1306s # /*** BEGIN value-production ***/ 1306s # value-production 1306s # VALUENAME: @VALUENAME@ 1306s # valuenick: @valuenick@ 1306s # valuenum: @valuenum@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-production ***/ 1306s # 1306s # /*** BEGIN value-tail ***/ 1306s # value-tail 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-tail ***/ 1306s # 1306s # /*** BEGIN comment ***/ 1306s # comment 1306s # comment: @comment@ 1306s # /*** END comment ***/ 1306s # 1306s # /*** BEGIN file-tail ***/ 1306s # file-tail 1306s # /*** END file-tail ***/ 1306s # 1306s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpu04vo2o_/tmp7nq2fk1l.template', '/tmp/tmpu04vo2o_/tmpkodc_xt6.h'] 1306s # Return code: 0 1306s # Output: 1306s # comment 1306s # 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. 1306s # 1306s # 1306s # file-header 1306s # file-production 1306s # filename: /tmp/tmpu04vo2o_/tmpkodc_xt6.h 1306s # basename: tmpkodc_xt6.h 1306s # enumeration-production 1306s # EnumName: QmiWmsMessageProtocol 1306s # enum_name: qmi_wms_message_protocol 1306s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1306s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1306s # ENUMPREFIX: QMI 1306s # enumsince: 1.0 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # value-header 1306s # EnumName: QmiWmsMessageProtocol 1306s # enum_name: qmi_wms_message_protocol 1306s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1306s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1306s # ENUMPREFIX: QMI 1306s # enumsince: 1.0 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # value-production 1306s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1306s # valuenick: cdma 1306s # valuenum: 0 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # value-tail 1306s # EnumName: QmiWmsMessageProtocol 1306s # enum_name: qmi_wms_message_protocol 1306s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1306s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1306s # ENUMPREFIX: QMI 1306s # enumsince: 1.0 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # file-tail 1306s # 1306s # comment 1306s # comment: Generated data ends here 1306s # Error: 1306s ok 18 __main__.TestMkenums.test_with_double_quotes 1306s # glib-mkenums: /usr/bin/glib-mkenums 1306s # tmpdir: /tmp/tmpusglvi4c 1306s # rspfile: False 1306s # /tmp/tmpusglvi4c/tmpemv9n0p6.h: 1306s # typedef enum { 1306s # FOO_VALUE /*< nick="eek, a comma" >*/ 1306s # } Foo; 1306s # 1306s # /tmp/tmpusglvi4c/tmpqoz4ahiv.template: 1306s # /*** BEGIN file-header ***/ 1306s # file-header 1306s # /*** END file-header ***/ 1306s # 1306s # /*** BEGIN file-production ***/ 1306s # file-production 1306s # filename: @filename@ 1306s # basename: @basename@ 1306s # /*** END file-production ***/ 1306s # 1306s # /*** BEGIN enumeration-production ***/ 1306s # enumeration-production 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END enumeration-production ***/ 1306s # 1306s # /*** BEGIN value-header ***/ 1306s # value-header 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-header ***/ 1306s # 1306s # /*** BEGIN value-production ***/ 1306s # value-production 1306s # VALUENAME: @VALUENAME@ 1306s # valuenick: @valuenick@ 1306s # valuenum: @valuenum@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-production ***/ 1306s # 1306s # /*** BEGIN value-tail ***/ 1306s # value-tail 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-tail ***/ 1306s # 1306s # /*** BEGIN comment ***/ 1306s # comment 1306s # comment: @comment@ 1306s # /*** END comment ***/ 1306s # 1306s # /*** BEGIN file-tail ***/ 1306s # file-tail 1306s # /*** END file-tail ***/ 1306s # 1306s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpusglvi4c/tmpqoz4ahiv.template', '/tmp/tmpusglvi4c/tmpemv9n0p6.h'] 1306s # Return code: 0 1306s # Output: 1306s # comment 1306s # 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. 1306s # 1306s # 1306s # file-header 1306s # file-production 1306s # filename: /tmp/tmpusglvi4c/tmpemv9n0p6.h 1306s # basename: tmpemv9n0p6.h 1306s # enumeration-production 1306s # EnumName: Foo 1306s # enum_name: foo_ 1306s # ENUMNAME: FOO_ 1306s # ENUMSHORT: 1306s # ENUMPREFIX: FOO 1306s # enumsince: 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # value-header 1306s # EnumName: Foo 1306s # enum_name: foo_ 1306s # ENUMNAME: FOO_ 1306s # ENUMSHORT: 1306s # ENUMPREFIX: FOO 1306s # enumsince: 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # value-production 1306s # VALUENAME: FOO_VALUE 1306s # valuenick: eek, a comma 1306s # valuenum: 0 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # value-tail 1306s # EnumName: Foo 1306s # enum_name: foo_ 1306s # ENUMNAME: FOO_ 1306s # ENUMSHORT: 1306s # ENUMPREFIX: FOO 1306s # enumsince: 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # file-tail 1306s # 1306s # comment 1306s # comment: Generated data ends here 1306s # Error: 1306s ok 19 __main__.TestRspMkenums.test_available_in 1306s # glib-mkenums: /usr/bin/glib-mkenums 1306s # tmpdir: /tmp/tmp5paozb9v 1306s # rspfile: True 1306s # /tmp/tmp5paozb9v/tmpxkuekdvu.h: 1306s # typedef enum { 1306s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 1306s # } GDBusServerFlags; 1306s # 1306s # /tmp/tmp5paozb9v/tmpim8f1635.template: 1306s # /*** BEGIN file-header ***/ 1306s # file-header 1306s # /*** END file-header ***/ 1306s # 1306s # /*** BEGIN file-production ***/ 1306s # file-production 1306s # filename: @filename@ 1306s # basename: @basename@ 1306s # /*** END file-production ***/ 1306s # 1306s # /*** BEGIN enumeration-production ***/ 1306s # enumeration-production 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END enumeration-production ***/ 1306s # 1306s # /*** BEGIN value-header ***/ 1306s # value-header 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-header ***/ 1306s # 1306s # /*** BEGIN value-production ***/ 1306s # value-production 1306s # VALUENAME: @VALUENAME@ 1306s # valuenick: @valuenick@ 1306s # valuenum: @valuenum@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-production ***/ 1306s # 1306s # /*** BEGIN value-tail ***/ 1306s # value-tail 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-tail ***/ 1306s # 1306s # /*** BEGIN comment ***/ 1306s # comment 1306s # comment: @comment@ 1306s # /*** END comment ***/ 1306s # 1306s # /*** BEGIN file-tail ***/ 1306s # file-tail 1306s # /*** END file-tail ***/ 1306s # 1306s # Response file contains: --template /tmp/tmp5paozb9v/tmpim8f1635.template /tmp/tmp5paozb9v/tmpxkuekdvu.h 1306s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp5paozb9v/tmpeu1xd7du'] 1306s # Return code: 0 1306s # Output: 1306s # comment 1306s # 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. 1306s # 1306s # 1306s # file-header 1306s # file-production 1306s # filename: /tmp/tmp5paozb9v/tmpxkuekdvu.h 1306s # basename: tmpxkuekdvu.h 1306s # enumeration-production 1306s # EnumName: GDBusServerFlags 1306s # enum_name: g_dbus_server_flags 1306s # ENUMNAME: G_DBUS_SERVER_FLAGS 1306s # ENUMSHORT: DBUS_SERVER_FLAGS 1306s # ENUMPREFIX: G 1306s # enumsince: 1306s # type: flags 1306s # Type: Flags 1306s # TYPE: FLAGS 1306s # value-header 1306s # EnumName: GDBusServerFlags 1306s # enum_name: g_dbus_server_flags 1306s # ENUMNAME: G_DBUS_SERVER_FLAGS 1306s # ENUMSHORT: DBUS_SERVER_FLAGS 1306s # ENUMPREFIX: G 1306s # enumsince: 1306s # type: flags 1306s # Type: Flags 1306s # TYPE: FLAGS 1306s # value-production 1306s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1306s # valuenick: user 1306s # valuenum: 4 1306s # type: flags 1306s # Type: Flags 1306s # TYPE: FLAGS 1306s # value-tail 1306s # EnumName: GDBusServerFlags 1306s # enum_name: g_dbus_server_flags 1306s # ENUMNAME: G_DBUS_SERVER_FLAGS 1306s # ENUMSHORT: DBUS_SERVER_FLAGS 1306s # ENUMPREFIX: G 1306s # enumsince: 1306s # type: flags 1306s # Type: Flags 1306s # TYPE: FLAGS 1306s # file-tail 1306s # 1306s # comment 1306s # comment: Generated data ends here 1306s # Error: 1306s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 1306s # glib-mkenums: /usr/bin/glib-mkenums 1306s # tmpdir: /tmp/tmp30mq3q_9 1306s # rspfile: True 1306s # /tmp/tmp30mq3q_9/tmpqhe20h2x.h: 1306s # typedef enum { 1306s # ENUM_VALUE_WITH_COMMA = ',', 1306s # } TestCommaEnum; 1306s # 1306s # /tmp/tmp30mq3q_9/tmpa15n4rgn.template: 1306s # /*** BEGIN file-header ***/ 1306s # file-header 1306s # /*** END file-header ***/ 1306s # 1306s # /*** BEGIN file-production ***/ 1306s # file-production 1306s # filename: @filename@ 1306s # basename: @basename@ 1306s # /*** END file-production ***/ 1306s # 1306s # /*** BEGIN enumeration-production ***/ 1306s # enumeration-production 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END enumeration-production ***/ 1306s # 1306s # /*** BEGIN value-header ***/ 1306s # value-header 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-header ***/ 1306s # 1306s # /*** BEGIN value-production ***/ 1306s # value-production 1306s # VALUENAME: @VALUENAME@ 1306s # valuenick: @valuenick@ 1306s # valuenum: @valuenum@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-production ***/ 1306s # 1306s # /*** BEGIN value-tail ***/ 1306s # value-tail 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-tail ***/ 1306s # 1306s # /*** BEGIN comment ***/ 1306s # comment 1306s # comment: @comment@ 1306s # /*** END comment ***/ 1306s # 1306s # /*** BEGIN file-tail ***/ 1306s # file-tail 1306s # /*** END file-tail ***/ 1306s # 1306s # Response file contains: --template /tmp/tmp30mq3q_9/tmpa15n4rgn.template /tmp/tmp30mq3q_9/tmpqhe20h2x.h 1306s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp30mq3q_9/tmpu5zb8son'] 1306s # Return code: 0 1306s # Output: 1306s # comment 1306s # 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. 1306s # 1306s # 1306s # file-header 1306s # file-production 1306s # filename: /tmp/tmp30mq3q_9/tmpqhe20h2x.h 1306s # basename: tmpqhe20h2x.h 1306s # enumeration-production 1306s # EnumName: TestCommaEnum 1306s # enum_name: test_comma_enum 1306s # ENUMNAME: TEST_COMMA_ENUM 1306s # ENUMSHORT: COMMA_ENUM 1306s # ENUMPREFIX: TEST 1306s # enumsince: 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # value-header 1306s # EnumName: TestCommaEnum 1306s # enum_name: test_comma_enum 1306s # ENUMNAME: TEST_COMMA_ENUM 1306s # ENUMSHORT: COMMA_ENUM 1306s # ENUMPREFIX: TEST 1306s # enumsince: 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # value-production 1306s # VALUENAME: ENUM_VALUE_WITH_COMMA 1306s # valuenick: comma 1306s # valuenum: 44 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # value-tail 1306s # EnumName: TestCommaEnum 1306s # enum_name: test_comma_enum 1306s # ENUMNAME: TEST_COMMA_ENUM 1306s # ENUMSHORT: COMMA_ENUM 1306s # ENUMPREFIX: TEST 1306s # enumsince: 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # file-tail 1306s # 1306s # comment 1306s # comment: Generated data ends here 1306s # Error: 1306s ok 21 __main__.TestRspMkenums.test_deprecated_in 1306s # glib-mkenums: /usr/bin/glib-mkenums 1306s # tmpdir: /tmp/tmp6yibheve 1306s # rspfile: True 1306s # /tmp/tmp6yibheve/tmpi4fhogrf.h: 1306s # typedef enum { 1306s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 1306s # } GDBusServerFlags; 1306s # 1306s # /tmp/tmp6yibheve/tmpxwyvc2r3.template: 1306s # /*** BEGIN file-header ***/ 1306s # file-header 1306s # /*** END file-header ***/ 1306s # 1306s # /*** BEGIN file-production ***/ 1306s # file-production 1306s # filename: @filename@ 1306s # basename: @basename@ 1306s # /*** END file-production ***/ 1306s # 1306s # /*** BEGIN enumeration-production ***/ 1306s # enumeration-production 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END enumeration-production ***/ 1306s # 1306s # /*** BEGIN value-header ***/ 1306s # value-header 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-header ***/ 1306s # 1306s # /*** BEGIN value-production ***/ 1306s # value-production 1306s # VALUENAME: @VALUENAME@ 1306s # valuenick: @valuenick@ 1306s # valuenum: @valuenum@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-production ***/ 1306s # 1306s # /*** BEGIN value-tail ***/ 1306s # value-tail 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-tail ***/ 1306s # 1306s # /*** BEGIN comment ***/ 1306s # comment 1306s # comment: @comment@ 1306s # /*** END comment ***/ 1306s # 1306s # /*** BEGIN file-tail ***/ 1306s # file-tail 1306s # /*** END file-tail ***/ 1306s # 1306s # Response file contains: --template /tmp/tmp6yibheve/tmpxwyvc2r3.template /tmp/tmp6yibheve/tmpi4fhogrf.h 1306s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp6yibheve/tmp9xa_4hoh'] 1306s # Return code: 0 1306s # Output: 1306s # comment 1306s # 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. 1306s # 1306s # 1306s # file-header 1306s # file-production 1306s # filename: /tmp/tmp6yibheve/tmpi4fhogrf.h 1306s # basename: tmpi4fhogrf.h 1306s # enumeration-production 1306s # EnumName: GDBusServerFlags 1306s # enum_name: g_dbus_server_flags 1306s # ENUMNAME: G_DBUS_SERVER_FLAGS 1306s # ENUMSHORT: DBUS_SERVER_FLAGS 1306s # ENUMPREFIX: G 1306s # enumsince: 1306s # type: flags 1306s # Type: Flags 1306s # TYPE: FLAGS 1306s # value-header 1306s # EnumName: GDBusServerFlags 1306s # enum_name: g_dbus_server_flags 1306s # ENUMNAME: G_DBUS_SERVER_FLAGS 1306s # ENUMSHORT: DBUS_SERVER_FLAGS 1306s # ENUMPREFIX: G 1306s # enumsince: 1306s # type: flags 1306s # Type: Flags 1306s # TYPE: FLAGS 1306s # value-production 1306s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1306s # valuenick: user 1306s # valuenum: 4 1306s # type: flags 1306s # Type: Flags 1306s # TYPE: FLAGS 1306s # value-tail 1306s # EnumName: GDBusServerFlags 1306s # enum_name: g_dbus_server_flags 1306s # ENUMNAME: G_DBUS_SERVER_FLAGS 1306s # ENUMSHORT: DBUS_SERVER_FLAGS 1306s # ENUMPREFIX: G 1306s # enumsince: 1306s # type: flags 1306s # Type: Flags 1306s # TYPE: FLAGS 1306s # file-tail 1306s # 1306s # comment 1306s # comment: Generated data ends here 1306s # Error: 1306s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 1306s # glib-mkenums: /usr/bin/glib-mkenums 1306s # tmpdir: /tmp/tmpqhei9rv5 1306s # rspfile: True 1306s # /tmp/tmpqhei9rv5/tmp0u1jhne0.h: 1306s # typedef enum { 1306s # 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) 1306s # } GDBusServerFlags; 1306s # 1306s # /tmp/tmpqhei9rv5/tmp_ckrpfo7.template: 1306s # /*** BEGIN file-header ***/ 1306s # file-header 1306s # /*** END file-header ***/ 1306s # 1306s # /*** BEGIN file-production ***/ 1306s # file-production 1306s # filename: @filename@ 1306s # basename: @basename@ 1306s # /*** END file-production ***/ 1306s # 1306s # /*** BEGIN enumeration-production ***/ 1306s # enumeration-production 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END enumeration-production ***/ 1306s # 1306s # /*** BEGIN value-header ***/ 1306s # value-header 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-header ***/ 1306s # 1306s # /*** BEGIN value-production ***/ 1306s # value-production 1306s # VALUENAME: @VALUENAME@ 1306s # valuenick: @valuenick@ 1306s # valuenum: @valuenum@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-production ***/ 1306s # 1306s # /*** BEGIN value-tail ***/ 1306s # value-tail 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-tail ***/ 1306s # 1306s # /*** BEGIN comment ***/ 1306s # comment 1306s # comment: @comment@ 1306s # /*** END comment ***/ 1306s # 1306s # /*** BEGIN file-tail ***/ 1306s # file-tail 1306s # /*** END file-tail ***/ 1306s # 1306s # Response file contains: --template /tmp/tmpqhei9rv5/tmp_ckrpfo7.template /tmp/tmpqhei9rv5/tmp0u1jhne0.h 1306s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpqhei9rv5/tmpnkjglh5h'] 1306s # Return code: 0 1306s # Output: 1306s # comment 1306s # 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. 1306s # 1306s # 1306s # file-header 1306s # file-production 1306s # filename: /tmp/tmpqhei9rv5/tmp0u1jhne0.h 1306s # basename: tmp0u1jhne0.h 1306s # enumeration-production 1306s # EnumName: GDBusServerFlags 1306s # enum_name: g_dbus_server_flags 1306s # ENUMNAME: G_DBUS_SERVER_FLAGS 1306s # ENUMSHORT: DBUS_SERVER_FLAGS 1306s # ENUMPREFIX: G 1306s # enumsince: 1306s # type: flags 1306s # Type: Flags 1306s # TYPE: FLAGS 1306s # value-header 1306s # EnumName: GDBusServerFlags 1306s # enum_name: g_dbus_server_flags 1306s # ENUMNAME: G_DBUS_SERVER_FLAGS 1306s # ENUMSHORT: DBUS_SERVER_FLAGS 1306s # ENUMPREFIX: G 1306s # enumsince: 1306s # type: flags 1306s # Type: Flags 1306s # TYPE: FLAGS 1306s # value-production 1306s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 1306s # valuenick: user 1306s # valuenum: 4 1306s # type: flags 1306s # Type: Flags 1306s # TYPE: FLAGS 1306s # value-tail 1306s # EnumName: GDBusServerFlags 1306s # enum_name: g_dbus_server_flags 1306s # ENUMNAME: G_DBUS_SERVER_FLAGS 1306s # ENUMSHORT: DBUS_SERVER_FLAGS 1306s # ENUMPREFIX: G 1306s # enumsince: 1306s # type: flags 1306s # Type: Flags 1306s # TYPE: FLAGS 1306s # file-tail 1306s # 1306s # comment 1306s # comment: Generated data ends here 1306s # Error: 1306s ok 23 __main__.TestRspMkenums.test_empty_header 1306s # glib-mkenums: /usr/bin/glib-mkenums 1306s # tmpdir: /tmp/tmpiw1q_n3b 1306s # rspfile: True 1306s # /tmp/tmpiw1q_n3b/tmpk56jjwbe.h: 1306s # /tmp/tmpiw1q_n3b/tmp8apdvbu4.template: 1306s # /*** BEGIN file-header ***/ 1306s # file-header 1306s # /*** END file-header ***/ 1306s # 1306s # /*** BEGIN file-production ***/ 1306s # file-production 1306s # filename: @filename@ 1306s # basename: @basename@ 1306s # /*** END file-production ***/ 1306s # 1306s # /*** BEGIN enumeration-production ***/ 1306s # enumeration-production 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END enumeration-production ***/ 1306s # 1306s # /*** BEGIN value-header ***/ 1306s # value-header 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-header ***/ 1306s # 1306s # /*** BEGIN value-production ***/ 1306s # value-production 1306s # VALUENAME: @VALUENAME@ 1306s # valuenick: @valuenick@ 1306s # valuenum: @valuenum@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-production ***/ 1306s # 1306s # /*** BEGIN value-tail ***/ 1306s # value-tail 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-tail ***/ 1306s # 1306s # /*** BEGIN comment ***/ 1306s # comment 1306s # comment: @comment@ 1306s # /*** END comment ***/ 1306s # 1306s # /*** BEGIN file-tail ***/ 1306s # file-tail 1306s # /*** END file-tail ***/ 1306s # 1306s # Response file contains: --template /tmp/tmpiw1q_n3b/tmp8apdvbu4.template /tmp/tmpiw1q_n3b/tmpk56jjwbe.h 1306s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpiw1q_n3b/tmprnkfow3y'] 1306s # Return code: 0 1306s # Output: 1306s # comment 1306s # 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. 1306s # 1306s # 1306s # file-header 1306s # file-tail 1306s # 1306s # comment 1306s # comment: Generated data ends here 1306s # Error: 1306s ok 24 __main__.TestRspMkenums.test_empty_template 1306s # glib-mkenums: /usr/bin/glib-mkenums 1306s # tmpdir: /tmp/tmps2c8p5oe 1306s # rspfile: True 1306s # /tmp/tmps2c8p5oe/tmp1098gfx5.template: 1306s # Response file contains: --template /tmp/tmps2c8p5oe/tmp1098gfx5.template 1306s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmps2c8p5oe/tmpv5tlt6te'] 1306s # Return code: 0 1306s # Output: 1306s # /* 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. */ 1306s # 1306s # 1306s # /* Generated data ends here */ 1306s # Error: 1306s ok 25 __main__.TestRspMkenums.test_enum_name 1306s # glib-mkenums: /usr/bin/glib-mkenums 1306s # tmpdir: /tmp/tmplhhargrh 1306s # rspfile: True 1306s # /tmp/tmplhhargrh/tmp4nrwi4fs.h: 1306s # typedef enum _SomeEnumIdentifier { 1306s # ENUM_VALUE 1306s # } SomeEnumIdentifier; 1306s # 1306s # /tmp/tmplhhargrh/tmpz4agk3cn.template: 1306s # /*** BEGIN file-header ***/ 1306s # file-header 1306s # /*** END file-header ***/ 1306s # 1306s # /*** BEGIN file-production ***/ 1306s # file-production 1306s # filename: @filename@ 1306s # basename: @basename@ 1306s # /*** END file-production ***/ 1306s # 1306s # /*** BEGIN enumeration-production ***/ 1306s # enumeration-production 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END enumeration-production ***/ 1306s # 1306s # /*** BEGIN value-header ***/ 1306s # value-header 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-header ***/ 1306s # 1306s # /*** BEGIN value-production ***/ 1306s # value-production 1306s # VALUENAME: @VALUENAME@ 1306s # valuenick: @valuenick@ 1306s # valuenum: @valuenum@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-production ***/ 1306s # 1306s # /*** BEGIN value-tail ***/ 1306s # value-tail 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-tail ***/ 1306s # 1306s # /*** BEGIN comment ***/ 1306s # comment 1306s # comment: @comment@ 1306s # /*** END comment ***/ 1306s # 1306s # /*** BEGIN file-tail ***/ 1306s # file-tail 1306s # /*** END file-tail ***/ 1306s # 1306s # Response file contains: --template /tmp/tmplhhargrh/tmpz4agk3cn.template /tmp/tmplhhargrh/tmp4nrwi4fs.h 1306s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmplhhargrh/tmplev2gmpw'] 1306s # Return code: 0 1306s # Output: 1306s # comment 1306s # 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. 1306s # 1306s # 1306s # file-header 1306s # file-production 1306s # filename: /tmp/tmplhhargrh/tmp4nrwi4fs.h 1306s # basename: tmp4nrwi4fs.h 1306s # enumeration-production 1306s # EnumName: SomeEnumIdentifier 1306s # enum_name: some_enum_identifier 1306s # ENUMNAME: SOME_ENUM_IDENTIFIER 1306s # ENUMSHORT: ENUM_IDENTIFIER 1306s # ENUMPREFIX: SOME 1306s # enumsince: 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # value-header 1306s # EnumName: SomeEnumIdentifier 1306s # enum_name: some_enum_identifier 1306s # ENUMNAME: SOME_ENUM_IDENTIFIER 1306s # ENUMSHORT: ENUM_IDENTIFIER 1306s # ENUMPREFIX: SOME 1306s # enumsince: 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # value-production 1306s # VALUENAME: ENUM_VALUE 1306s # valuenick: value 1306s # valuenum: 0 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # value-tail 1306s # EnumName: SomeEnumIdentifier 1306s # enum_name: some_enum_identifier 1306s # ENUMNAME: SOME_ENUM_IDENTIFIER 1306s # ENUMSHORT: ENUM_IDENTIFIER 1306s # ENUMPREFIX: SOME 1306s # enumsince: 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # file-tail 1306s # 1306s # comment 1306s # comment: Generated data ends here 1306s # Error: 1306s ok 26 __main__.TestRspMkenums.test_enum_private_public 1306s # glib-mkenums: /usr/bin/glib-mkenums 1306s # tmpdir: /tmp/tmpa9h620cc 1306s # rspfile: True 1306s # /tmp/tmpa9h620cc/tmp_owih7v7.h: 1306s # typedef enum { 1306s # ENUM_VALUE_PUBLIC1, 1306s # /*< private >*/ 1306s # ENUM_VALUE_PRIVATE, 1306s # } SomeEnumA 1306s # 1306s # /tmp/tmpa9h620cc/tmp8bf5b91j.template: 1306s # /*** BEGIN file-header ***/ 1306s # file-header 1306s # /*** END file-header ***/ 1306s # 1306s # /*** BEGIN file-production ***/ 1306s # file-production 1306s # filename: @filename@ 1306s # basename: @basename@ 1306s # /*** END file-production ***/ 1306s # 1306s # /*** BEGIN enumeration-production ***/ 1306s # enumeration-production 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END enumeration-production ***/ 1306s # 1306s # /*** BEGIN value-header ***/ 1306s # value-header 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-header ***/ 1306s # 1306s # /*** BEGIN value-production ***/ 1306s # value-production 1306s # VALUENAME: @VALUENAME@ 1306s # valuenick: @valuenick@ 1306s # valuenum: @valuenum@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-production ***/ 1306s # 1306s # /*** BEGIN value-tail ***/ 1306s # value-tail 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-tail ***/ 1306s # 1306s # /*** BEGIN comment ***/ 1306s # comment 1306s # comment: @comment@ 1306s # /*** END comment ***/ 1306s # 1306s # /*** BEGIN file-tail ***/ 1306s # file-tail 1306s # /*** END file-tail ***/ 1306s # 1306s # Response file contains: --template /tmp/tmpa9h620cc/tmp8bf5b91j.template /tmp/tmpa9h620cc/tmp_owih7v7.h 1306s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpa9h620cc/tmp9t9hb5jh'] 1306s # Return code: 0 1306s # Output: 1306s # comment 1306s # 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. 1306s # 1306s # 1306s # file-header 1306s # file-production 1306s # filename: /tmp/tmpa9h620cc/tmp_owih7v7.h 1306s # basename: tmp_owih7v7.h 1306s # enumeration-production 1306s # EnumName: SomeEnumA 1306s # enum_name: some_enum_a 1306s # ENUMNAME: SOME_ENUM_A 1306s # ENUMSHORT: ENUM_A 1306s # ENUMPREFIX: SOME 1306s # enumsince: 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # value-header 1306s # EnumName: SomeEnumA 1306s # enum_name: some_enum_a 1306s # ENUMNAME: SOME_ENUM_A 1306s # ENUMSHORT: ENUM_A 1306s # ENUMPREFIX: SOME 1306s # enumsince: 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # value-production 1306s # VALUENAME: ENUM_VALUE_PUBLIC1 1306s # valuenick: public1 1306s # valuenum: 0 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # value-tail 1306s # EnumName: SomeEnumA 1306s # enum_name: some_enum_a 1306s # ENUMNAME: SOME_ENUM_A 1306s # ENUMSHORT: ENUM_A 1306s # ENUMPREFIX: SOME 1306s # enumsince: 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # file-tail 1306s # 1306s # comment 1306s # comment: Generated data ends here 1306s # Error: 1306s # 1306s # /tmp/tmpa9h620cc/tmpedzlmg8x.h: 1306s # typedef enum { 1306s # /*< private >*/ 1306s # ENUM_VALUE_PRIVATE, 1306s # /*< public >*/ 1306s # ENUM_VALUE_PUBLIC2, 1306s # } SomeEnumB; 1306s # 1306s # /tmp/tmpa9h620cc/tmprjneb0lz.template: 1306s # /*** BEGIN file-header ***/ 1306s # file-header 1306s # /*** END file-header ***/ 1306s # 1306s # /*** BEGIN file-production ***/ 1306s # file-production 1306s # filename: @filename@ 1306s # basename: @basename@ 1306s # /*** END file-production ***/ 1306s # 1306s # /*** BEGIN enumeration-production ***/ 1306s # enumeration-production 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END enumeration-production ***/ 1306s # 1306s # /*** BEGIN value-header ***/ 1306s # value-header 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-header ***/ 1306s # 1306s # /*** BEGIN value-production ***/ 1306s # value-production 1306s # VALUENAME: @VALUENAME@ 1306s # valuenick: @valuenick@ 1306s # valuenum: @valuenum@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-production ***/ 1306s # 1306s # /*** BEGIN value-tail ***/ 1306s # value-tail 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-tail ***/ 1306s # 1306s # /*** BEGIN comment ***/ 1306s # comment 1306s # comment: @comment@ 1306s # /*** END comment ***/ 1306s # 1306s # /*** BEGIN file-tail ***/ 1306s # file-tail 1306s # /*** END file-tail ***/ 1306s # 1306s # Response file contains: --template /tmp/tmpa9h620cc/tmprjneb0lz.template /tmp/tmpa9h620cc/tmpedzlmg8x.h 1306s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpa9h620cc/tmpofkg8jlw'] 1306s # Return code: 0 1306s # Output: 1306s # comment 1306s # 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. 1306s # 1306s # 1306s # file-header 1306s # file-production 1306s # filename: /tmp/tmpa9h620cc/tmpedzlmg8x.h 1306s # basename: tmpedzlmg8x.h 1306s # enumeration-production 1306s # EnumName: SomeEnumB 1306s # enum_name: some_enum_b 1306s # ENUMNAME: SOME_ENUM_B 1306s # ENUMSHORT: ENUM_B 1306s # ENUMPREFIX: SOME 1306s # enumsince: 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # value-header 1306s # EnumName: SomeEnumB 1306s # enum_name: some_enum_b 1306s # ENUMNAME: SOME_ENUM_B 1306s # ENUMSHORT: ENUM_B 1306s # ENUMPREFIX: SOME 1306s # enumsince: 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # value-production 1306s # VALUENAME: ENUM_VALUE_PUBLIC2 1306s # valuenick: public2 1306s # valuenum: 1 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # value-tail 1306s # EnumName: SomeEnumB 1306s # enum_name: some_enum_b 1306s # ENUMNAME: SOME_ENUM_B 1306s # ENUMSHORT: ENUM_B 1306s # ENUMPREFIX: SOME 1306s # enumsince: 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # file-tail 1306s # 1306s # comment 1306s # comment: Generated data ends here 1306s # Error: 1306s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 1306s # glib-mkenums: /usr/bin/glib-mkenums 1306s # tmpdir: /tmp/tmp4fzmixi7 1306s # rspfile: True 1306s # /tmp/tmp4fzmixi7/tmp5k_lu4_1.h: 1306s # typedef enum { 1306s # /*< private >*/ 1306s # ENUM_VALUE_PRIVATE = 5, 1306s # /*< public >*/ 1306s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 1306s # } TestSymbolicEnum; 1306s # 1306s # /tmp/tmp4fzmixi7/tmp8rr8qsiq.template: 1306s # /*** BEGIN file-header ***/ 1306s # file-header 1306s # /*** END file-header ***/ 1306s # 1306s # /*** BEGIN file-production ***/ 1306s # file-production 1306s # filename: @filename@ 1306s # basename: @basename@ 1306s # /*** END file-production ***/ 1306s # 1306s # /*** BEGIN enumeration-production ***/ 1306s # enumeration-production 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END enumeration-production ***/ 1306s # 1306s # /*** BEGIN value-header ***/ 1306s # value-header 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-header ***/ 1306s # 1306s # /*** BEGIN value-production ***/ 1306s # value-production 1306s # VALUENAME: @VALUENAME@ 1306s # valuenick: @valuenick@ 1306s # valuenum: @valuenum@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-production ***/ 1306s # 1306s # /*** BEGIN value-tail ***/ 1306s # value-tail 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-tail ***/ 1306s # 1306s # /*** BEGIN comment ***/ 1306s # comment 1306s # comment: @comment@ 1306s # /*** END comment ***/ 1306s # 1306s # /*** BEGIN file-tail ***/ 1306s # file-tail 1306s # /*** END file-tail ***/ 1306s # 1306s # Response file contains: --template /tmp/tmp4fzmixi7/tmp8rr8qsiq.template /tmp/tmp4fzmixi7/tmp5k_lu4_1.h 1306s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp4fzmixi7/tmpggai30_4'] 1306s # Return code: 0 1306s # Output: 1306s # comment 1306s # 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. 1306s # 1306s # 1306s # file-header 1306s # file-production 1306s # filename: /tmp/tmp4fzmixi7/tmp5k_lu4_1.h 1306s # basename: tmp5k_lu4_1.h 1306s # enumeration-production 1306s # EnumName: TestSymbolicEnum 1306s # enum_name: test_symbolic_enum 1306s # ENUMNAME: TEST_SYMBOLIC_ENUM 1306s # ENUMSHORT: SYMBOLIC_ENUM 1306s # ENUMPREFIX: TEST 1306s # enumsince: 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # value-header 1306s # EnumName: TestSymbolicEnum 1306s # enum_name: test_symbolic_enum 1306s # ENUMNAME: TEST_SYMBOLIC_ENUM 1306s # ENUMSHORT: SYMBOLIC_ENUM 1306s # ENUMPREFIX: TEST 1306s # enumsince: 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # value-production 1306s # VALUENAME: ENUM_VALUE_PUBLIC 1306s # valuenick: public 1306s # valuenum: 7 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # value-tail 1306s # EnumName: TestSymbolicEnum 1306s # enum_name: test_symbolic_enum 1306s # ENUMNAME: TEST_SYMBOLIC_ENUM 1306s # ENUMSHORT: SYMBOLIC_ENUM 1306s # ENUMPREFIX: TEST 1306s # enumsince: 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # file-tail 1306s # 1306s # comment 1306s # comment: Generated data ends here 1306s # Error: 1306s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 1306s # glib-mkenums: /usr/bin/glib-mkenums 1306s # tmpdir: /tmp/tmp12tkpjjz 1306s # rspfile: True 1306s # /tmp/tmp12tkpjjz/tmp1kg02rd5.template: 1306s # /*** BEGIN file-header ***/ 1306s # file-header 1306s # filename: @filename@ 1306s # basename: @basename@ 1306s # /*** END file-header ***/ 1306s # 1306s # /*** BEGIN comment ***/ 1306s # comment 1306s # comment: @comment@ 1306s # /*** END comment ***/ 1306s # 1306s # /*** BEGIN file-tail ***/ 1306s # file-tail 1306s # filename: @filename@ 1306s # basename: @basename@ 1306s # /*** END file-tail ***/ 1306s # Response file contains: --template /tmp/tmp12tkpjjz/tmp1kg02rd5.template 1306s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp12tkpjjz/tmpx_phkp_q'] 1306s # Return code: 0 1306s # Output: 1306s # comment 1306s # 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. 1306s # 1306s # 1306s # file-header 1306s # filename: @filename@ 1306s # basename: @basename@ 1306s # file-tail 1306s # filename: @filename@ 1306s # basename: @basename@ 1306s # 1306s # comment 1306s # comment: Generated data ends here 1306s # Error: 1306s # WARNING: @filename@ used in file-header section. 1306s # WARNING: @basename@ used in file-header section. 1306s # WARNING: @filename@ used in file-tail section. 1306s # WARNING: @basename@ used in file-tail section. 1306s ok 29 __main__.TestRspMkenums.test_help 1306s # glib-mkenums: /usr/bin/glib-mkenums 1306s # tmpdir: /tmp/tmpzhhv0f0e 1306s # rspfile: True 1306s # Response file contains: --help 1306s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpzhhv0f0e/tmp4dpaxvud'] 1306s # Return code: 0 1306s # Output: 1306s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 1306s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 1306s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 1306s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 1306s # [--comments COMMENT_TMPL] [--template TEMPLATE] 1306s # [--output OUTPUT] [--version] 1306s # [args ...] 1306s # 1306s # positional arguments: 1306s # args One or more input files, or a single argument 1306s # @rspfile_path pointing to a file that contains the 1306s # actual arguments 1306s # 1306s # options: 1306s # -h, --help show this help message and exit 1306s # --identifier-prefix IDPREFIX 1306s # Identifier prefix 1306s # --symbol-prefix SYMPREFIX 1306s # Symbol prefix 1306s # --fhead FHEAD Output file header 1306s # --ftail FTAIL Output file footer 1306s # --fprod FPROD Put out TEXT every time a new input file is being 1306s # processed. 1306s # --eprod EPROD Per enum text, produced prior to value iterations 1306s # --vhead VHEAD Value header, produced before iterating over enum 1306s # values 1306s # --vprod VPROD Value text, produced for each enum value. 1306s # --vtail VTAIL Value tail, produced after iterating over enum values 1306s # --comments COMMENT_TMPL 1306s # Comment structure 1306s # --template TEMPLATE Template file 1306s # --output OUTPUT 1306s # --version, -v Print version information 1306s # 1306s # Production text substitutions: 1306s # @EnumName@ PrefixTheXEnum 1306s # @enum_name@ prefix_the_xenum 1306s # @ENUMNAME@ PREFIX_THE_XENUM 1306s # @ENUMSHORT@ THE_XENUM 1306s # @ENUMPREFIX@ PREFIX 1306s # @enumsince@ the user-provided since value given 1306s # @VALUENAME@ PREFIX_THE_XVALUE 1306s # @valuenick@ the-xvalue 1306s # @valuenum@ the integer value (limited support, Since: 2.26) 1306s # @type@ either enum or flags 1306s # @Type@ either Enum or Flags 1306s # @TYPE@ either ENUM or FLAGS 1306s # @filename@ name of current input file 1306s # @basename@ base name of the current input file (Since: 2.22) 1306s # Error: 1306s ok 30 __main__.TestRspMkenums.test_no_args 1306s # glib-mkenums: /usr/bin/glib-mkenums 1306s # tmpdir: /tmp/tmpyszkn2fj 1306s # rspfile: True 1306s # Response file contains: 1306s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpyszkn2fj/tmpwp15f01d'] 1306s # Return code: 0 1306s # Output: 1306s # /* 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. */ 1306s # 1306s # 1306s # /* Generated data ends here */ 1306s # Error: 1306s ok 31 __main__.TestRspMkenums.test_no_headers 1306s # glib-mkenums: /usr/bin/glib-mkenums 1306s # tmpdir: /tmp/tmpgusf4doy 1306s # rspfile: True 1306s # /tmp/tmpgusf4doy/tmphpuez2c4.template: 1306s # /*** BEGIN file-header ***/ 1306s # file-header 1306s # /*** END file-header ***/ 1306s # 1306s # /*** BEGIN file-production ***/ 1306s # file-production 1306s # filename: @filename@ 1306s # basename: @basename@ 1306s # /*** END file-production ***/ 1306s # 1306s # /*** BEGIN enumeration-production ***/ 1306s # enumeration-production 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END enumeration-production ***/ 1306s # 1306s # /*** BEGIN value-header ***/ 1306s # value-header 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-header ***/ 1306s # 1306s # /*** BEGIN value-production ***/ 1306s # value-production 1306s # VALUENAME: @VALUENAME@ 1306s # valuenick: @valuenick@ 1306s # valuenum: @valuenum@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-production ***/ 1306s # 1306s # /*** BEGIN value-tail ***/ 1306s # value-tail 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-tail ***/ 1306s # 1306s # /*** BEGIN comment ***/ 1306s # comment 1306s # comment: @comment@ 1306s # /*** END comment ***/ 1306s # 1306s # /*** BEGIN file-tail ***/ 1306s # file-tail 1306s # /*** END file-tail ***/ 1306s # 1306s # Response file contains: --template /tmp/tmpgusf4doy/tmphpuez2c4.template 1306s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpgusf4doy/tmpjjnqy7rr'] 1306s # Return code: 0 1306s # Output: 1306s # comment 1306s # 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. 1306s # 1306s # 1306s # file-header 1306s # file-tail 1306s # 1306s # comment 1306s # comment: Generated data ends here 1306s # Error: 1306s ok 32 __main__.TestRspMkenums.test_no_nick 1306s # glib-mkenums: /usr/bin/glib-mkenums 1306s # tmpdir: /tmp/tmpyt270mue 1306s # rspfile: True 1306s # /tmp/tmpyt270mue/tmpjl_9l_mt.h: 1306s # typedef enum { 1306s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 1306s # } GeglSamplerType; 1306s # 1306s # /tmp/tmpyt270mue/tmpvt4ktemx.template: 1306s # /*** BEGIN file-header ***/ 1306s # file-header 1306s # /*** END file-header ***/ 1306s # 1306s # /*** BEGIN file-production ***/ 1306s # file-production 1306s # filename: @filename@ 1306s # basename: @basename@ 1306s # /*** END file-production ***/ 1306s # 1306s # /*** BEGIN enumeration-production ***/ 1306s # enumeration-production 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END enumeration-production ***/ 1306s # 1306s # /*** BEGIN value-header ***/ 1306s # value-header 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-header ***/ 1306s # 1306s # /*** BEGIN value-production ***/ 1306s # value-production 1306s # VALUENAME: @VALUENAME@ 1306s # valuenick: @valuenick@ 1306s # valuenum: @valuenum@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-production ***/ 1306s # 1306s # /*** BEGIN value-tail ***/ 1306s # value-tail 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-tail ***/ 1306s # 1306s # /*** BEGIN comment ***/ 1306s # comment 1306s # comment: @comment@ 1306s # /*** END comment ***/ 1306s # 1306s # /*** BEGIN file-tail ***/ 1306s # file-tail 1306s # /*** END file-tail ***/ 1306s # 1306s # Response file contains: --template /tmp/tmpyt270mue/tmpvt4ktemx.template /tmp/tmpyt270mue/tmpjl_9l_mt.h 1306s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpyt270mue/tmpbu_99g0a'] 1306s # Return code: 0 1306s # Output: 1306s # comment 1306s # 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. 1306s # 1306s # 1306s # file-header 1306s # file-production 1306s # filename: /tmp/tmpyt270mue/tmpjl_9l_mt.h 1306s # basename: tmpjl_9l_mt.h 1306s # enumeration-production 1306s # EnumName: GeglSamplerType 1306s # enum_name: gegl_sampler_type 1306s # ENUMNAME: GEGL_SAMPLER_TYPE 1306s # ENUMSHORT: SAMPLER_TYPE 1306s # ENUMPREFIX: GEGL 1306s # enumsince: 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # value-header 1306s # EnumName: GeglSamplerType 1306s # enum_name: gegl_sampler_type 1306s # ENUMNAME: GEGL_SAMPLER_TYPE 1306s # ENUMSHORT: SAMPLER_TYPE 1306s # ENUMPREFIX: GEGL 1306s # enumsince: 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # value-production 1306s # VALUENAME: GEGL_SAMPLER_NEAREST 1306s # valuenick: nearest 1306s # valuenum: 0 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # value-tail 1306s # EnumName: GeglSamplerType 1306s # enum_name: gegl_sampler_type 1306s # ENUMNAME: GEGL_SAMPLER_TYPE 1306s # ENUMSHORT: SAMPLER_TYPE 1306s # ENUMPREFIX: GEGL 1306s # enumsince: 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # file-tail 1306s # 1306s # comment 1306s # comment: Generated data ends here 1306s # Error: 1306s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 1306s # glib-mkenums: /usr/bin/glib-mkenums 1306s # tmpdir: /tmp/tmphn2hejnm 1306s # rspfile: True 1306s # /tmp/tmphn2hejnm/tmpzrsm40mi.h: 1306s # /* Copyright © La Peña */ 1306s # typedef enum { 1306s # ENUM_VALUE 1306s # } SomeEnumIdentifier; 1306s # 1306s # /tmp/tmphn2hejnm/tmp1fhkxtir.template: 1306s # /*** BEGIN file-header ***/ 1306s # file-header 1306s # /*** END file-header ***/ 1306s # 1306s # /*** BEGIN file-production ***/ 1306s # file-production 1306s # filename: @filename@ 1306s # basename: @basename@ 1306s # /*** END file-production ***/ 1306s # 1306s # /*** BEGIN enumeration-production ***/ 1306s # enumeration-production 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END enumeration-production ***/ 1306s # 1306s # /*** BEGIN value-header ***/ 1306s # value-header 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-header ***/ 1306s # 1306s # /*** BEGIN value-production ***/ 1306s # value-production 1306s # VALUENAME: @VALUENAME@ 1306s # valuenick: @valuenick@ 1306s # valuenum: @valuenum@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-production ***/ 1306s # 1306s # /*** BEGIN value-tail ***/ 1306s # value-tail 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-tail ***/ 1306s # 1306s # /*** BEGIN comment ***/ 1306s # comment 1306s # comment: @comment@ 1306s # /*** END comment ***/ 1306s # 1306s # /*** BEGIN file-tail ***/ 1306s # file-tail 1306s # /*** END file-tail ***/ 1306s # 1306s # Response file contains: --template /tmp/tmphn2hejnm/tmp1fhkxtir.template /tmp/tmphn2hejnm/tmpzrsm40mi.h 1306s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmphn2hejnm/tmp_m_n8j7m'] 1306s # Return code: 0 1306s # Output: 1306s # comment 1306s # 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. 1306s # 1306s # 1306s # file-header 1306s # file-production 1306s # filename: /tmp/tmphn2hejnm/tmpzrsm40mi.h 1306s # basename: tmpzrsm40mi.h 1306s # enumeration-production 1306s # EnumName: SomeEnumIdentifier 1306s # enum_name: some_enum_identifier 1306s # ENUMNAME: SOME_ENUM_IDENTIFIER 1306s # ENUMSHORT: ENUM_IDENTIFIER 1306s # ENUMPREFIX: SOME 1306s # enumsince: 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # value-header 1306s # EnumName: SomeEnumIdentifier 1306s # enum_name: some_enum_identifier 1306s # ENUMNAME: SOME_ENUM_IDENTIFIER 1306s # ENUMSHORT: ENUM_IDENTIFIER 1306s # ENUMPREFIX: SOME 1306s # enumsince: 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # value-production 1306s # VALUENAME: ENUM_VALUE 1306s # valuenick: value 1306s # valuenum: 0 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # value-tail 1306s # EnumName: SomeEnumIdentifier 1306s # enum_name: some_enum_identifier 1306s # ENUMNAME: SOME_ENUM_IDENTIFIER 1306s # ENUMSHORT: ENUM_IDENTIFIER 1306s # ENUMPREFIX: SOME 1306s # enumsince: 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # file-tail 1306s # 1306s # comment 1306s # comment: Generated data ends here 1306s # Error: 1306s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 1306s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 1306s ok 34 __main__.TestRspMkenums.test_reproducible 1306s # glib-mkenums: /usr/bin/glib-mkenums 1306s # tmpdir: /tmp/tmpi956t3m_ 1306s # rspfile: True 1306s # /tmp/tmpi956t3m_/tmpnhmzgr4d.template: template 1306s # Response file contains: --template /tmp/tmpi956t3m_/tmpnhmzgr4d.template /tmp/tmpi956t3m_/tmpviowbbc21.h /tmp/tmpi956t3m_/tmpwszfnx9x2.h 1306s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpi956t3m_/tmpztg1qzs0'] 1306s # Return code: 0 1306s # Output: 1306s # /* 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. */ 1306s # 1306s # 1306s # /* Generated data ends here */ 1306s # Error: 1306s # 1306s # /tmp/tmpi956t3m_/tmp09a48n0d.template: template 1306s # Response file contains: --template /tmp/tmpi956t3m_/tmp09a48n0d.template /tmp/tmpi956t3m_/tmpwszfnx9x2.h /tmp/tmpi956t3m_/tmpviowbbc21.h 1306s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpi956t3m_/tmpammmkthc'] 1306s # Return code: 0 1306s # Output: 1306s # /* 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. */ 1306s # 1306s # 1306s # /* Generated data ends here */ 1306s # Error: 1306s ok 35 __main__.TestRspMkenums.test_since 1306s # glib-mkenums: /usr/bin/glib-mkenums 1306s # tmpdir: /tmp/tmp6z80lkjt 1306s # rspfile: True 1306s # /tmp/tmp6z80lkjt/tmpqiimisxl.h: 1306s # typedef enum { /*< since=1.0 >*/ 1306s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 1306s # } QmiWmsMessageProtocol; 1306s # 1306s # /tmp/tmp6z80lkjt/tmpoipg_4h3.template: 1306s # /*** BEGIN file-header ***/ 1306s # file-header 1306s # /*** END file-header ***/ 1306s # 1306s # /*** BEGIN file-production ***/ 1306s # file-production 1306s # filename: @filename@ 1306s # basename: @basename@ 1306s # /*** END file-production ***/ 1306s # 1306s # /*** BEGIN enumeration-production ***/ 1306s # enumeration-production 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END enumeration-production ***/ 1306s # 1306s # /*** BEGIN value-header ***/ 1306s # value-header 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-header ***/ 1306s # 1306s # /*** BEGIN value-production ***/ 1306s # value-production 1306s # VALUENAME: @VALUENAME@ 1306s # valuenick: @valuenick@ 1306s # valuenum: @valuenum@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-production ***/ 1306s # 1306s # /*** BEGIN value-tail ***/ 1306s # value-tail 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-tail ***/ 1306s # 1306s # /*** BEGIN comment ***/ 1306s # comment 1306s # comment: @comment@ 1306s # /*** END comment ***/ 1306s # 1306s # /*** BEGIN file-tail ***/ 1306s # file-tail 1306s # /*** END file-tail ***/ 1306s # 1306s # Response file contains: --template /tmp/tmp6z80lkjt/tmpoipg_4h3.template /tmp/tmp6z80lkjt/tmpqiimisxl.h 1306s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp6z80lkjt/tmpaptruavm'] 1306s # Return code: 0 1306s # Output: 1306s # comment 1306s # 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. 1306s # 1306s # 1306s # file-header 1306s # file-production 1306s # filename: /tmp/tmp6z80lkjt/tmpqiimisxl.h 1306s # basename: tmpqiimisxl.h 1306s # enumeration-production 1306s # EnumName: QmiWmsMessageProtocol 1306s # enum_name: qmi_wms_message_protocol 1306s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1306s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1306s # ENUMPREFIX: QMI 1306s # enumsince: 1.0 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # value-header 1306s # EnumName: QmiWmsMessageProtocol 1306s # enum_name: qmi_wms_message_protocol 1306s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1306s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1306s # ENUMPREFIX: QMI 1306s # enumsince: 1.0 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # value-production 1306s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 1306s # valuenick: cdma 1306s # valuenum: 0 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # value-tail 1306s # EnumName: QmiWmsMessageProtocol 1306s # enum_name: qmi_wms_message_protocol 1306s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 1306s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 1306s # ENUMPREFIX: QMI 1306s # enumsince: 1.0 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # file-tail 1306s # 1306s # comment 1306s # comment: Generated data ends here 1306s # Error: 1306s ok 36 __main__.TestRspMkenums.test_with_double_quotes 1306s # glib-mkenums: /usr/bin/glib-mkenums 1306s # tmpdir: /tmp/tmpmvfawxjn 1306s # rspfile: True 1306s # /tmp/tmpmvfawxjn/tmpxgljuaem.h: 1306s # typedef enum { 1306s # FOO_VALUE /*< nick="eek, a comma" >*/ 1306s # } Foo; 1306s # 1306s # /tmp/tmpmvfawxjn/tmpqistotcn.template: 1306s # /*** BEGIN file-header ***/ 1306s # file-header 1306s # /*** END file-header ***/ 1306s # 1306s # /*** BEGIN file-production ***/ 1306s # file-production 1306s # filename: @filename@ 1306s # basename: @basename@ 1306s # /*** END file-production ***/ 1306s # 1306s # /*** BEGIN enumeration-production ***/ 1306s # enumeration-production 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END enumeration-production ***/ 1306s # 1306s # /*** BEGIN value-header ***/ 1306s # value-header 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-header ***/ 1306s # 1306s # /*** BEGIN value-production ***/ 1306s # value-production 1306s # VALUENAME: @VALUENAME@ 1306s # valuenick: @valuenick@ 1306s # valuenum: @valuenum@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-production ***/ 1306s # 1306s # /*** BEGIN value-tail ***/ 1306s # value-tail 1306s # EnumName: @EnumName@ 1306s # enum_name: @enum_name@ 1306s # ENUMNAME: @ENUMNAME@ 1306s # ENUMSHORT: @ENUMSHORT@ 1306s # ENUMPREFIX: @ENUMPREFIX@ 1306s # enumsince: @enumsince@ 1306s # type: @type@ 1306s # Type: @Type@ 1306s # TYPE: @TYPE@ 1306s # /*** END value-tail ***/ 1306s # 1306s # /*** BEGIN comment ***/ 1306s # comment 1306s # comment: @comment@ 1306s # /*** END comment ***/ 1306s # 1306s # /*** BEGIN file-tail ***/ 1306s # file-tail 1306s # /*** END file-tail ***/ 1306s # 1306s # Response file contains: --template /tmp/tmpmvfawxjn/tmpqistotcn.template /tmp/tmpmvfawxjn/tmpxgljuaem.h 1306s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpmvfawxjn/tmpho5qyubw'] 1306s # Return code: 0 1306s # Output: 1306s # comment 1306s # 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. 1306s # 1306s # 1306s # file-header 1306s # file-production 1306s # filename: /tmp/tmpmvfawxjn/tmpxgljuaem.h 1306s # basename: tmpxgljuaem.h 1306s # enumeration-production 1306s # EnumName: Foo 1306s # enum_name: foo_ 1306s # ENUMNAME: FOO_ 1306s # ENUMSHORT: 1306s # ENUMPREFIX: FOO 1306s # enumsince: 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # value-header 1306s # EnumName: Foo 1306s # enum_name: foo_ 1306s # ENUMNAME: FOO_ 1306s # ENUMSHORT: 1306s # ENUMPREFIX: FOO 1306s # enumsince: 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # value-production 1306s # VALUENAME: FOO_VALUE 1306s # valuenick: eek, a comma 1306s # valuenum: 0 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # value-tail 1306s # EnumName: Foo 1306s # enum_name: foo_ 1306s # ENUMNAME: FOO_ 1306s # ENUMSHORT: 1306s # ENUMPREFIX: FOO 1306s # enumsince: 1306s # type: enum 1306s # Type: Enum 1306s # TYPE: ENUM 1306s # file-tail 1306s # 1306s # comment 1306s # comment: Generated data ends here 1306s # Error: 1306s 1..36 1306s ok - glib/mkenums.py.test 1306s # Running test: glib/reference.test 1306s TAP version 14 1306s # random seed: R02S0e8a46bd20426b42ba6895cf8058ad62 1306s 1..29 1306s # Start of type tests 1306s ok 1 /type/fundamentals 1306s ok 2 /type/qdata 1306s ok 3 /type/query 1306s ok 4 /type/class-private 1306s # End of type tests 1306s # Start of object tests 1306s ok 5 /object/clear 1306s ok 6 /object/clear-function 1306s ok 7 /object/set 1306s ok 8 /object/set-function 1306s ok 9 /object/value 1306s ok 10 /object/initially-unowned 1306s ok 11 /object/weak-pointer 1306s ok 12 /object/weak-ref 1306s ok 13 /object/toggle-ref 1306s ok 14 /object/qdata 1306s ok 15 /object/qdata2 1306s # Start of set tests 1306s # /object/set/derived-type summary: Check that g_set_object() doesn’t give strict aliasing warnings when used on types derived from GObject 1306s ok 16 /object/set/derived-type 1306s # End of set tests 1306s # Start of weak-pointer tests 1306s ok 17 /object/weak-pointer/clear 1306s ok 18 /object/weak-pointer/clear-function 1306s ok 19 /object/weak-pointer/set 1306s ok 20 /object/weak-pointer/set-function 1306s # End of weak-pointer tests 1306s # Start of weak-ref tests 1306s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1306s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 1306s ok 21 /object/weak-ref/on-dispose 1306s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 1306s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 1306s ok 22 /object/weak-ref/on-run-dispose 1306s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1306s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 1306s ok 23 /object/weak-ref/on-toggle-notify 1306s ok 24 /object/weak-ref/in-toggle-notify 1306s ok 25 /object/weak-ref/many 1306s # Start of concurrent tests 1306s ok 26 /object/weak-ref/concurrent/0 1306s ok 27 /object/weak-ref/concurrent/1 1306s # End of concurrent tests 1306s # End of weak-ref tests 1306s ok - glib/reference.test 1306s # Start of toggle-ref tests 1306s ok 28 /object/toggle-ref/ref-on-dispose 1306s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 1306s # End of toggle-ref tests 1306s # End of object tests 1306s # Running test: glib/cxx-98.test 1306s TAP version 14 1306s # random seed: R02S27d10dd9463af44cabf512eb7d3755d7 1306s 1..2 1306s # Start of gtask tests 1306s # 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. 1306s ok 1 /gtask/name 1306s # Start of name tests 1306s # 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. 1306s ok 2 /gtask/name/macro-wrapper 1306s # End of name tests 1306s # End of gtask tests 1306s ok - glib/cxx-98.test 1306s # Running test: glib/collate.test 1306s ok - glib/collate.test 1306s TAP version 14 1306s # random seed: R02Sd05a5464f91f0e9be8bcfdc345b593a5 1306s 1..9 1306s # Start of unicode tests 1306s # Start of collate tests 1306s ok 1 /unicode/collate/0 1306s ok 2 /unicode/collate/1 1306s ok 3 /unicode/collate/2 1306s # End of collate tests 1306s # Start of collate-key tests 1306s ok 4 /unicode/collate-key/0 1306s ok 5 /unicode/collate-key/1 1306s ok 6 /unicode/collate-key/2 1306s # End of collate-key tests 1306s # Start of collate-filename tests 1306s ok 7 /unicode/collate-filename/0 1306s ok 8 /unicode/collate-filename/1 1306s ok 9 /unicode/collate-filename/2 1306s # End of collate-filename tests 1306s # End of unicode tests 1306s # Running test: glib/utf8-validate.test 1306s TAP version 14 1306s # random seed: R02Sb2c86c2c33b5a9f37871459190c9689c 1306s 1..238 1306s # Start of utf8 tests 1306s # Vector 0 1306s # Vector 1 1306s # Vector 2 1306s # Vector 3 1306s # Vector 4 1306s # Vector 5 1306s # Vector 6 1306s # Vector 7 1306s # Vector 8 1306s # Vector 9 1306s # Vector 10 1306s # Vector 11 1306s # Vector 12 1306s # Vector 13 1306s # Vector 14 1306s # Vector 15 1306s # Vector 16 1306s # Vector 17 1306s # Vector 18 1306s # Vector 19 1306s # Vector 20 1306s # Vector 21 1306s # Vector 22 1306s # Vector 23 1306s # Vector 24 1306s # Vector 25 1306s # Vector 26 1306s # Vector 27 1306s ok 1 /utf8/get-char-validated 1306s # Start of validate tests 1306s ok 2 /utf8/validate/0 1306s ok 3 /utf8/validate/1 1306s ok 4 /utf8/validate/2 1306s ok 5 /utf8/validate/3 1306s ok 6 /utf8/validate/4 1306s ok 7 /utf8/validate/5 1306s ok 8 /utf8/validate/6 1306s ok 9 /utf8/validate/7 1306s ok 10 /utf8/validate/8 1306s ok 11 /utf8/validate/9 1306s ok 12 /utf8/validate/10 1306s ok 13 /utf8/validate/11 1306s ok 14 /utf8/validate/12 1306s ok 15 /utf8/validate/13 1306s ok 16 /utf8/validate/14 1306s ok 17 /utf8/validate/15 1306s ok 18 /utf8/validate/16 1306s ok 19 /utf8/validate/17 1306s ok 20 /utf8/validate/18 1306s ok 21 /utf8/validate/19 1306s ok 22 /utf8/validate/20 1306s ok 23 /utf8/validate/21 1306s ok 24 /utf8/validate/22 1306s ok 25 /utf8/validate/23 1306s ok 26 /utf8/validate/24 1306s ok 27 /utf8/validate/25 1306s ok 28 /utf8/validate/26 1306s ok 29 /utf8/validate/27 1306s ok 30 /utf8/validate/28 1306s ok 31 /utf8/validate/29 1306s ok 32 /utf8/validate/30 1306s ok 33 /utf8/validate/31 1306s ok 34 /utf8/validate/32 1306s ok 35 /utf8/validate/33 1306s ok 36 /utf8/validate/34 1306s ok 37 /utf8/validate/35 1306s ok 38 /utf8/validate/36 1306s ok 39 /utf8/validate/37 1306s ok 40 /utf8/validate/38 1306s ok 41 /utf8/validate/39 1306s ok 42 /utf8/validate/40 1306s ok 43 /utf8/validate/41 1306s ok 44 /utf8/validate/42 1306s ok 45 /utf8/validate/43 1306s ok 46 /utf8/validate/44 1306s ok 47 /utf8/validate/45 1306s ok 48 /utf8/validate/46 1306s ok 49 /utf8/validate/47 1306s ok 50 /utf8/validate/48 1306s ok 51 /utf8/validate/49 1306s ok 52 /utf8/validate/50 1306s ok 53 /utf8/validate/51 1306s ok 54 /utf8/validate/52 1306s ok 55 /utf8/validate/53 1306s ok 56 /utf8/validate/54 1306s ok 57 /utf8/validate/55 1306s ok 58 /utf8/validate/56 1306s ok 59 /utf8/validate/57 1306s ok 60 /utf8/validate/58 1306s ok 61 /utf8/validate/59 1306s ok 62 /utf8/validate/60 1306s ok 63 /utf8/validate/61 1306s ok 64 /utf8/validate/62 1306s ok 65 /utf8/validate/63 1306s ok 66 /utf8/validate/64 1306s ok 67 /utf8/validate/65 1306s ok 68 /utf8/validate/66 1306s ok 69 /utf8/validate/67 1306s ok 70 /utf8/validate/68 1306s ok 71 /utf8/validate/69 1306s ok 72 /utf8/validate/70 1306s ok 73 /utf8/validate/71 1306s ok 74 /utf8/validate/72 1306s ok 75 /utf8/validate/73 1306s ok 76 /utf8/validate/74 1306s ok 77 /utf8/validate/75 1306s ok 78 /utf8/validate/76 1306s ok 79 /utf8/validate/77 1306s ok 80 /utf8/validate/78 1306s ok 81 /utf8/validate/79 1306s ok 82 /utf8/validate/80 1306s ok 83 /utf8/validate/81 1306s ok 84 /utf8/validate/82 1306s ok 85 /utf8/validate/83 1306s ok 86 /utf8/validate/84 1306s ok 87 /utf8/validate/85 1306s ok 88 /utf8/validate/86 1306s ok 89 /utf8/validate/87 1306s ok 90 /utf8/validate/88 1306s ok 91 /utf8/validate/89 1306s ok 92 /utf8/validate/90 1306s ok 93 /utf8/validate/91 1306s ok 94 /utf8/validate/92 1306s ok 95 /utf8/validate/93 1306s ok 96 /utf8/validate/94 1306s ok 97 /utf8/validate/95 1306s ok 98 /utf8/validate/96 1306s ok 99 /utf8/validate/97 1306s ok 100 /utf8/validate/98 1306s ok 101 /utf8/validate/99 1306s ok 102 /utf8/validate/100 1306s ok 103 /utf8/validate/101 1306s ok 104 /utf8/validate/102 1306s ok 105 /utf8/validate/103 1306s ok 106 /utf8/validate/104 1306s ok 107 /utf8/validate/105 1306s ok 108 /utf8/validate/106 1306s ok 109 /utf8/validate/107 1306s ok 110 /utf8/validate/108 1306s ok 111 /utf8/validate/109 1306s ok 112 /utf8/validate/110 1306s ok 113 /utf8/validate/111 1306s ok 114 /utf8/validate/112 1306s ok 115 /utf8/validate/113 1306s ok 116 /utf8/validate/114 1306s ok 117 /utf8/validate/115 1306s ok 118 /utf8/validate/116 1306s ok 119 /utf8/validate/117 1306s ok 120 /utf8/validate/118 1306s ok 121 /utf8/validate/119 1306s ok 122 /utf8/validate/120 1306s ok 123 /utf8/validate/121 1306s ok 124 /utf8/validate/122 1306s ok 125 /utf8/validate/123 1306s ok 126 /utf8/validate/124 1306s ok 127 /utf8/validate/125 1306s ok 128 /utf8/validate/126 1306s ok - glib/utf8-validate.test 1306s # Running test: glib/memory-input-stream.test 1306s ok - glib/memory-input-stream.test 1306s # Running test: glib/genmarshal.py.test 1306s ok 129 /utf8/validate/127 1306s ok 130 /utf8/validate/128 1306s ok 131 /utf8/validate/129 1306s ok 132 /utf8/validate/130 1306s ok 133 /utf8/validate/131 1306s ok 134 /utf8/validate/132 1306s ok 135 /utf8/validate/133 1306s ok 136 /utf8/validate/134 1306s ok 137 /utf8/validate/135 1306s ok 138 /utf8/validate/136 1306s ok 139 /utf8/validate/137 1306s ok 140 /utf8/validate/138 1306s ok 141 /utf8/validate/139 1306s ok 142 /utf8/validate/140 1306s ok 143 /utf8/validate/141 1306s ok 144 /utf8/validate/142 1306s ok 145 /utf8/validate/143 1306s ok 146 /utf8/validate/144 1306s ok 147 /utf8/validate/145 1306s ok 148 /utf8/validate/146 1306s ok 149 /utf8/validate/147 1306s ok 150 /utf8/validate/148 1306s ok 151 /utf8/validate/149 1306s ok 152 /utf8/validate/150 1306s ok 153 /utf8/validate/151 1306s ok 154 /utf8/validate/152 1306s ok 155 /utf8/validate/153 1306s ok 156 /utf8/validate/154 1306s ok 157 /utf8/validate/155 1306s ok 158 /utf8/validate/156 1306s ok 159 /utf8/validate/157 1306s ok 160 /utf8/validate/158 1306s ok 161 /utf8/validate/159 1306s ok 162 /utf8/validate/160 1306s ok 163 /utf8/validate/161 1306s ok 164 /utf8/validate/162 1306s ok 165 /utf8/validate/163 1306s ok 166 /utf8/validate/164 1306s ok 167 /utf8/validate/165 1306s ok 168 /utf8/validate/166 1306s ok 169 /utf8/validate/167 1306s ok 170 /utf8/validate/168 1306s ok 171 /utf8/validate/169 1306s ok 172 /utf8/validate/170 1306s ok 173 /utf8/validate/171 1306s ok 174 /utf8/validate/172 1306s ok 175 /utf8/validate/173 1306s ok 176 /utf8/validate/174 1306s ok 177 /utf8/validate/175 1306s ok 178 /utf8/validate/176 1306s ok 179 /utf8/validate/177 1306s ok 180 /utf8/validate/178 1306s ok 181 /utf8/validate/179 1306s ok 182 /utf8/validate/180 1306s ok 183 /utf8/validate/181 1306s ok 184 /utf8/validate/182 1306s ok 185 /utf8/validate/183 1306s ok 186 /utf8/validate/184 1306s ok 187 /utf8/validate/185 1306s ok 188 /utf8/validate/186 1306s ok 189 /utf8/validate/187 1306s ok 190 /utf8/validate/188 1306s ok 191 /utf8/validate/189 1306s ok 192 /utf8/validate/190 1306s ok 193 /utf8/validate/191 1306s ok 194 /utf8/validate/192 1306s ok 195 /utf8/validate/193 1306s ok 196 /utf8/validate/194 1306s ok 197 /utf8/validate/195 1306s ok 198 /utf8/validate/196 1306s ok 199 /utf8/validate/197 1306s ok 200 /utf8/validate/198 1306s ok 201 /utf8/validate/199 1306s ok 202 /utf8/validate/200 1306s ok 203 /utf8/validate/201 1306s ok 204 /utf8/validate/202 1306s ok 205 /utf8/validate/203 1306s ok 206 /utf8/validate/204 1306s ok 207 /utf8/validate/205 1306s ok 208 /utf8/validate/206 1306s ok 209 /utf8/validate/207 1306s ok 210 /utf8/validate/208 1306s ok 211 /utf8/validate/209 1306s ok 212 /utf8/validate/210 1306s ok 213 /utf8/validate/211 1306s ok 214 /utf8/validate/212 1306s ok 215 /utf8/validate/213 1306s ok 216 /utf8/validate/214 1306s ok 217 /utf8/validate/215 1306s ok 218 /utf8/validate/216 1306s ok 219 /utf8/validate/217 1306s ok 220 /utf8/validate/218 1306s ok 221 /utf8/validate/219 1306s ok 222 /utf8/validate/220 1306s ok 223 /utf8/validate/221 1306s ok 224 /utf8/validate/222 1306s ok 225 /utf8/validate/223 1306s ok 226 /utf8/validate/224 1306s ok 227 /utf8/validate/225 1306s ok 228 /utf8/validate/226 1306s ok 229 /utf8/validate/227 1306s ok 230 /utf8/validate/228 1306s ok 231 /utf8/validate/229 1306s ok 232 /utf8/validate/230 1306s ok 233 /utf8/validate/231 1306s ok 234 /utf8/validate/232 1306s ok 235 /utf8/validate/233 1306s ok 236 /utf8/validate/234 1306s ok 237 /utf8/validate/235 1306s ok 238 /utf8/validate/236 1306s # End of validate tests 1306s # End of utf8 tests 1306s TAP version 14 1306s # random seed: R02S1731964455a0995cf302b4c030c1de87 1306s 1..6 1306s # Start of memory-input-stream tests 1306s ok 1 /memory-input-stream/read-chunks 1306s ok 2 /memory-input-stream/async 1306s ok 3 /memory-input-stream/seek 1306s ok 4 /memory-input-stream/truncate 1306s ok 5 /memory-input-stream/read-bytes 1306s ok 6 /memory-input-stream/from-bytes 1306s # End of memory-input-stream tests 1307s TAP version 13 1307s ok 1 __main__.TestGenmarshal.test_empty_list 1307s # glib-genmarshal: /usr/bin/glib-genmarshal 1307s # tmpdir: /tmp/tmp7_ja9a_3 1307s # /tmp/tmp7_ja9a_3/tmp_e6j8o00.list: 1307s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp7_ja9a_3/tmp_e6j8o00.list', '--header', '--quiet'] 1307s # Return code: 0 1307s # Output: 1307s # /* 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. */ 1307s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1307s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1307s # 1307s # #include 1307s # 1307s # G_BEGIN_DECLS 1307s # 1307s # 1307s # G_END_DECLS 1307s # 1307s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1307s # Error: 1307s # 1307s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp7_ja9a_3/tmp_e6j8o00.list', '--body', '--quiet'] 1307s # Return code: 0 1307s # Output: 1307s # /* 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. */ 1307s # #include 1307s # 1307s # #ifdef G_ENABLE_DEBUG 1307s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1307s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1307s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1307s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1307s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1307s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1307s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1307s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1307s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1307s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1307s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1307s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1307s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1307s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1307s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1307s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1307s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1307s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1307s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1307s # #else /* !G_ENABLE_DEBUG */ 1307s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1307s # * Do not access GValues directly in your code. Instead, use the 1307s # * g_value_get_*() functions 1307s # */ 1307s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1307s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1307s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1307s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1307s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1307s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1307s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1307s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1307s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1307s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1307s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1307s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1307s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1307s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1307s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1307s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1307s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1307s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1307s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1307s # #endif /* !G_ENABLE_DEBUG */ 1307s # Error: 1307s ok 2 __main__.TestGenmarshal.test_help 1307s # glib-genmarshal: /usr/bin/glib-genmarshal 1307s # tmpdir: /tmp/tmpg66bsp7v 1307s # Running: ['/usr/bin/glib-genmarshal', '--help'] 1307s # Return code: 0 1307s # Output: 1307s # usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 1307s # [--internal] [--valist-marshallers] [-v] 1307s # [--g-fatal-warnings] [--include-header [HEADER]] 1307s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 1307s # [--prototypes] [--header] [--body] [--stdinc | 1307s # --nostdinc] [--quiet | --verbose] 1307s # [FILE ...] 1307s # 1307s # Generate signal marshallers for GObject 1307s # 1307s # positional arguments: 1307s # FILE Files with lists of marshallers to generate, or "-" 1307s # for standard input 1307s # 1307s # options: 1307s # -h, --help show this help message and exit 1307s # --prefix STRING Specify marshaller prefix 1307s # --output FILE Write output into the specified file 1307s # --skip-source Skip source location comments 1307s # --internal Mark generated functions as internal 1307s # --valist-marshallers Generate va_list marshallers 1307s # -v, --version Print version information, and exit 1307s # --g-fatal-warnings Make warnings fatal 1307s # --include-header [HEADER] 1307s # Include the specified header in the body 1307s # --pragma-once Use "pragma once" as the inclusion guard 1307s # -D CPP_DEFINES Pre-processor define 1307s # -U CPP_UNDEFINES Pre-processor undefine 1307s # --prototypes Generate the marshallers prototype in the C code 1307s # --header Generate C headers 1307s # --body Generate C code 1307s # --stdinc Include standard marshallers 1307s # --nostdinc Use standard marshallers 1307s # --quiet Only print warnings and errors 1307s # --verbose Be verbose, and include debugging information 1307s # Error: 1307s ok 3 __main__.TestGenmarshal.test_no_args 1307s # glib-genmarshal: /usr/bin/glib-genmarshal 1307s # tmpdir: /tmp/tmp0otx69xo 1307s # Running: ['/usr/bin/glib-genmarshal'] 1307s # Return code: 0 1307s # Output: 1307s # 1307s # Error: 1307s ok 4 __main__.TestGenmarshal.test_void_boolean 1307s # glib-genmarshal: /usr/bin/glib-genmarshal 1307s # tmpdir: /tmp/tmp7xxv3hyc 1307s # /tmp/tmp7xxv3hyc/tmpaty5fgmp.list: VOID:BOOLEAN 1307s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp7xxv3hyc/tmpaty5fgmp.list', '--header', '--quiet'] 1307s # Return code: 0 1307s # Output: 1307s # /* 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. */ 1307s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1307s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1307s # 1307s # #include 1307s # 1307s # G_BEGIN_DECLS 1307s # 1307s # /* VOID:BOOLEAN (/tmp/tmp7xxv3hyc/tmpaty5fgmp.list:1) */ 1307s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 1307s # 1307s # 1307s # G_END_DECLS 1307s # 1307s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1307s # Error: 1307s # 1307s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp7xxv3hyc/tmpaty5fgmp.list', '--body', '--quiet'] 1307s # Return code: 0 1307s # Output: 1307s # /* 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. */ 1307s # #include 1307s # 1307s # #ifdef G_ENABLE_DEBUG 1307s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1307s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1307s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1307s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1307s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1307s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1307s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1307s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1307s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1307s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1307s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1307s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1307s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1307s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1307s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1307s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1307s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1307s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1307s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1307s # #else /* !G_ENABLE_DEBUG */ 1307s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1307s # * Do not access GValues directly in your code. Instead, use the 1307s # * g_value_get_*() functions 1307s # */ 1307s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1307s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1307s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1307s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1307s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1307s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1307s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1307s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1307s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1307s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1307s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1307s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1307s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1307s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1307s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1307s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1307s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1307s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1307s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1307s # #endif /* !G_ENABLE_DEBUG */ 1307s # Error: 1307s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 1307s # glib-genmarshal: /usr/bin/glib-genmarshal 1307s # tmpdir: /tmp/tmp1d3q131e 1307s # /tmp/tmp1d3q131e/tmpyes_fsfa.list: VOID:BOOLEAN,INT64 1307s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp1d3q131e/tmpyes_fsfa.list', '--header', '--quiet'] 1307s # Return code: 0 1307s # Output: 1307s # /* 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. */ 1307s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1307s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1307s # 1307s # #include 1307s # 1307s # G_BEGIN_DECLS 1307s # 1307s # /* VOID:BOOLEAN,INT64 (/tmp/tmp1d3q131e/tmpyes_fsfa.list:1) */ 1307s # extern 1307s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1307s # GValue *return_value, 1307s # guint n_param_values, 1307s # const GValue *param_values, 1307s # gpointer invocation_hint, 1307s # gpointer marshal_data); 1307s # 1307s # 1307s # G_END_DECLS 1307s # 1307s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1307s # Error: 1307s # 1307s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp1d3q131e/tmpyes_fsfa.list', '--body', '--quiet'] 1307s # Return code: 0 1307s # Output: 1307s # /* 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. */ 1307s # #include 1307s # 1307s # #ifdef G_ENABLE_DEBUG 1307s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1307s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1307s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1307s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1307s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1307s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1307s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1307s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1307s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1307s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1307s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1307s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1307s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1307s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1307s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1307s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1307s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1307s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1307s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1307s # #else /* !G_ENABLE_DEBUG */ 1307s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1307s # * Do not access GValues directly in your code. Instead, use the 1307s # * g_value_get_*() functions 1307s # */ 1307s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1307s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1307s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1307s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1307s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1307s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1307s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1307s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1307s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1307s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1307s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1307s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1307s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1307s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1307s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1307s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1307s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1307s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1307s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1307s # #endif /* !G_ENABLE_DEBUG */ 1307s # 1307s # /* VOID:BOOLEAN,INT64 (/tmp/tmp1d3q131e/tmpyes_fsfa.list:1) */ 1307s # void 1307s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 1307s # GValue *return_value G_GNUC_UNUSED, 1307s # guint n_param_values, 1307s # const GValue *param_values, 1307s # gpointer invocation_hint G_GNUC_UNUSED, 1307s # gpointer marshal_data) 1307s # { 1307s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 1307s # gboolean arg1, 1307s # gint64 arg2, 1307s # gpointer data2); 1307s # GCClosure *cc = (GCClosure *) closure; 1307s # gpointer data1, data2; 1307s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 1307s # 1307s # g_return_if_fail (n_param_values == 3); 1307s # 1307s # if (G_CCLOSURE_SWAP_DATA (closure)) 1307s # { 1307s # data1 = closure->data; 1307s # data2 = g_value_peek_pointer (param_values + 0); 1307s # } 1307s # else 1307s # { 1307s # data1 = g_value_peek_pointer (param_values + 0); 1307s # data2 = closure->data; 1307s # } 1307s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 1307s # 1307s # callback (data1, 1307s # g_marshal_value_peek_boolean (param_values + 1), 1307s # g_marshal_value_peek_int64 (param_values + 2), 1307s # data2); 1307s # } 1307s # Error: 1307s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 1307s # glib-genmarshal: /usr/bin/glib-genmarshal 1307s # tmpdir: /tmp/tmp38zsqxa6 1307s # /tmp/tmp38zsqxa6/tmp4zll7m28.list: VOID:PARAM 1307s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp38zsqxa6/tmp4zll7m28.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1307s # Return code: 0 1307s # Output: 1307s # /* 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. */ 1307s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1307s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1307s # 1307s # G_BEGIN_DECLS 1307s # 1307s # /* VOID:PARAM (/tmp/tmp38zsqxa6/tmp4zll7m28.list:1) */ 1307s # extern 1307s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1307s # GValue *return_value, 1307s # guint n_param_values, 1307s # const GValue *param_values, 1307s # gpointer invocation_hint, 1307s # gpointer marshal_data); 1307s # extern 1307s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1307s # GValue *return_value, 1307s # gpointer instance, 1307s # va_list args, 1307s # gpointer marshal_data, 1307s # int n_params, 1307s # GType *param_types); 1307s # 1307s # 1307s # G_END_DECLS 1307s # 1307s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1307s # Error: 1307s # 1307s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp38zsqxa6/tmp4zll7m28.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1307s # Return code: 0 1307s # Output: 1307s # /* 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. */ 1307s # #ifdef G_ENABLE_DEBUG 1307s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1307s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1307s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1307s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1307s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1307s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1307s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1307s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1307s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1307s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1307s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1307s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1307s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1307s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1307s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1307s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1307s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1307s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1307s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1307s # #else /* !G_ENABLE_DEBUG */ 1307s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1307s # * Do not access GValues directly in your code. Instead, use the 1307s # * g_value_get_*() functions 1307s # */ 1307s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1307s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1307s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1307s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1307s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1307s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1307s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1307s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1307s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1307s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1307s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1307s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1307s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1307s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1307s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1307s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1307s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1307s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1307s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1307s # #endif /* !G_ENABLE_DEBUG */ 1307s # 1307s # /* VOID:PARAM (/tmp/tmp38zsqxa6/tmp4zll7m28.list:1) */ 1307s # void 1307s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 1307s # GValue *return_value G_GNUC_UNUSED, 1307s # guint n_param_values, 1307s # const GValue *param_values, 1307s # gpointer invocation_hint G_GNUC_UNUSED, 1307s # gpointer marshal_data) 1307s # { 1307s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1307s # gpointer arg1, 1307s # gpointer data2); 1307s # GCClosure *cc = (GCClosure *) closure; 1307s # gpointer data1, data2; 1307s # GMarshalFunc_VOID__PARAM callback; 1307s # 1307s # g_return_if_fail (n_param_values == 2); 1307s # 1307s # if (G_CCLOSURE_SWAP_DATA (closure)) 1307s # { 1307s # data1 = closure->data; 1307s # data2 = g_value_peek_pointer (param_values + 0); 1307s # } 1307s # else 1307s # { 1307s # data1 = g_value_peek_pointer (param_values + 0); 1307s # data2 = closure->data; 1307s # } 1307s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1307s # 1307s # callback (data1, 1307s # g_marshal_value_peek_param (param_values + 1), 1307s # data2); 1307s # } 1307s # 1307s # void 1307s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 1307s # GValue *return_value G_GNUC_UNUSED, 1307s # gpointer instance, 1307s # va_list args, 1307s # gpointer marshal_data, 1307s # int n_params, 1307s # GType *param_types) 1307s # { 1307s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 1307s # gpointer arg1, 1307s # gpointer data2); 1307s # GCClosure *cc = (GCClosure *) closure; 1307s # gpointer data1, data2; 1307s # GMarshalFunc_VOID__PARAM callback; 1307s # gpointer arg0; 1307s # va_list args_copy; 1307s # 1307s # va_copy (args_copy, args); 1307s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1307s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1307s # arg0 = g_param_spec_ref (arg0); 1307s # va_end (args_copy); 1307s # 1307s # 1307s # if (G_CCLOSURE_SWAP_DATA (closure)) 1307s # { 1307s # data1 = closure->data; 1307s # data2 = instance; 1307s # } 1307s # else 1307s # { 1307s # data1 = instance; 1307s # data2 = closure->data; 1307s # } 1307s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 1307s # 1307s # callback (data1, 1307s # arg0, 1307s # data2); 1307s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1307s # g_param_spec_unref (arg0); 1307s # } 1307s # Error: 1307s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 1307s # glib-genmarshal: /usr/bin/glib-genmarshal 1307s # tmpdir: /tmp/tmpi_o3_6ck 1307s # /tmp/tmpi_o3_6ck/tmprs2v51v2.list: VOID:STRING 1307s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpi_o3_6ck/tmprs2v51v2.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1307s # Return code: 0 1307s # Output: 1307s # /* 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. */ 1307s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1307s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1307s # 1307s # G_BEGIN_DECLS 1307s # 1307s # /* VOID:STRING (/tmp/tmpi_o3_6ck/tmprs2v51v2.list:1) */ 1307s # extern 1307s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1307s # GValue *return_value, 1307s # guint n_param_values, 1307s # const GValue *param_values, 1307s # gpointer invocation_hint, 1307s # gpointer marshal_data); 1307s # extern 1307s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1307s # GValue *return_value, 1307s # gpointer instance, 1307s # va_list args, 1307s # gpointer marshal_data, 1307s # int n_params, 1307s # GType *param_types); 1307s # 1307s # 1307s # G_END_DECLS 1307s # 1307s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1307s # Error: 1307s # 1307s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpi_o3_6ck/tmprs2v51v2.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1307s # Return code: 0 1307s # Output: 1307s # /* 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. */ 1307s # #ifdef G_ENABLE_DEBUG 1307s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1307s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1307s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1307s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1307s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1307s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1307s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1307s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1307s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1307s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1307s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1307s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1307s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1307s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1307s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1307s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1307s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1307s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1307s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1307s # #else /* !G_ENABLE_DEBUG */ 1307s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1307s # * Do not access GValues directly in your code. Instead, use the 1307s # * g_value_get_*() functions 1307s # */ 1307s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1307s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1307s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1307s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1307s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1307s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1307s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1307s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1307s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1307s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1307s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1307s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1307s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1307s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1307s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1307s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1307s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1307s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1307s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1307s # #endif /* !G_ENABLE_DEBUG */ 1307s # 1307s # /* VOID:STRING (/tmp/tmpi_o3_6ck/tmprs2v51v2.list:1) */ 1307s # void 1307s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 1307s # GValue *return_value G_GNUC_UNUSED, 1307s # guint n_param_values, 1307s # const GValue *param_values, 1307s # gpointer invocation_hint G_GNUC_UNUSED, 1307s # gpointer marshal_data) 1307s # { 1307s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1307s # gpointer arg1, 1307s # gpointer data2); 1307s # GCClosure *cc = (GCClosure *) closure; 1307s # gpointer data1, data2; 1307s # GMarshalFunc_VOID__STRING callback; 1307s # 1307s # g_return_if_fail (n_param_values == 2); 1307s # 1307s # if (G_CCLOSURE_SWAP_DATA (closure)) 1307s # { 1307s # data1 = closure->data; 1307s # data2 = g_value_peek_pointer (param_values + 0); 1307s # } 1307s # else 1307s # { 1307s # data1 = g_value_peek_pointer (param_values + 0); 1307s # data2 = closure->data; 1307s # } 1307s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1307s # 1307s # callback (data1, 1307s # g_marshal_value_peek_string (param_values + 1), 1307s # data2); 1307s # } 1307s # 1307s # void 1307s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 1307s # GValue *return_value G_GNUC_UNUSED, 1307s # gpointer instance, 1307s # va_list args, 1307s # gpointer marshal_data, 1307s # int n_params, 1307s # GType *param_types) 1307s # { 1307s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 1307s # gpointer arg1, 1307s # gpointer data2); 1307s # GCClosure *cc = (GCClosure *) closure; 1307s # gpointer data1, data2; 1307s # GMarshalFunc_VOID__STRING callback; 1307s # gpointer arg0; 1307s # va_list args_copy; 1307s # 1307s # va_copy (args_copy, args); 1307s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1307s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1307s # arg0 = g_strdup (arg0); 1307s # va_end (args_copy); 1307s # 1307s # 1307s # if (G_CCLOSURE_SWAP_DATA (closure)) 1307s # { 1307s # data1 = closure->data; 1307s # data2 = instance; 1307s # } 1307s # else 1307s # { 1307s # data1 = instance; 1307s # data2 = closure->data; 1307s # } 1307s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 1307s # 1307s # callback (data1, 1307s # arg0, 1307s # data2); 1307s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1307s # g_free (arg0); 1307s # } 1307s # Error: 1307s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 1307s # glib-genmarshal: /usr/bin/glib-genmarshal 1307s # tmpdir: /tmp/tmp517po5d6 1307s # /tmp/tmp517po5d6/tmp2qvha3hy.list: VOID:VARIANT 1307s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp517po5d6/tmp2qvha3hy.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 1307s # Return code: 0 1307s # Output: 1307s # /* 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. */ 1307s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1307s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 1307s # 1307s # G_BEGIN_DECLS 1307s # 1307s # /* VOID:VARIANT (/tmp/tmp517po5d6/tmp2qvha3hy.list:1) */ 1307s # extern 1307s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1307s # GValue *return_value, 1307s # guint n_param_values, 1307s # const GValue *param_values, 1307s # gpointer invocation_hint, 1307s # gpointer marshal_data); 1307s # extern 1307s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1307s # GValue *return_value, 1307s # gpointer instance, 1307s # va_list args, 1307s # gpointer marshal_data, 1307s # int n_params, 1307s # GType *param_types); 1307s # 1307s # 1307s # G_END_DECLS 1307s # 1307s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 1307s # Error: 1307s # 1307s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp517po5d6/tmp2qvha3hy.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 1307s # Return code: 0 1307s # Output: 1307s # /* 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. */ 1307s # #ifdef G_ENABLE_DEBUG 1307s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 1307s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 1307s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 1307s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 1307s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 1307s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 1307s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 1307s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 1307s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 1307s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 1307s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 1307s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 1307s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 1307s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 1307s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 1307s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 1307s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 1307s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 1307s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 1307s # #else /* !G_ENABLE_DEBUG */ 1307s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 1307s # * Do not access GValues directly in your code. Instead, use the 1307s # * g_value_get_*() functions 1307s # */ 1307s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 1307s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 1307s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 1307s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 1307s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 1307s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 1307s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 1307s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 1307s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 1307s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 1307s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 1307s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 1307s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 1307s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 1307s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 1307s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 1307s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 1307s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 1307s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 1307s # #endif /* !G_ENABLE_DEBUG */ 1307s # 1307s # /* VOID:VARIANT (/tmp/tmp517po5d6/tmp2qvha3hy.list:1) */ 1307s # void 1307s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 1307s # GValue *return_value G_GNUC_UNUSED, 1307s # guint n_param_values, 1307s # const GValue *param_values, 1307s # gpointer invocation_hint G_GNUC_UNUSED, 1307s # gpointer marshal_data) 1307s # { 1307s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1307s # gpointer arg1, 1307s # gpointer data2); 1307s # GCClosure *cc = (GCClosure *) closure; 1307s # gpointer data1, data2; 1307s # GMarshalFunc_VOID__VARIANT callback; 1307s # 1307s # g_return_if_fail (n_param_values == 2); 1307s # 1307s # if (G_CCLOSURE_SWAP_DATA (closure)) 1307s # { 1307s # data1 = closure->data; 1307s # data2 = g_value_peek_pointer (param_values + 0); 1307s # } 1307s # else 1307s # { 1307s # data1 = g_value_peek_pointer (param_values + 0); 1307s # data2 = closure->data; 1307s # } 1307s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1307s # 1307s # callback (data1, 1307s # g_marshal_value_peek_variant (param_values + 1), 1307s # data2); 1307s # } 1307s # 1307s # void 1307s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 1307s # GValue *return_value G_GNUC_UNUSED, 1307s # gpointer instance, 1307s # va_list args, 1307s # gpointer marshal_data, 1307s # int n_params, 1307s # GType *param_types) 1307s # { 1307s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 1307s # gpointer arg1, 1307s # gpointer data2); 1307s # GCClosure *cc = (GCClosure *) closure; 1307s # gpointer data1, data2; 1307s # GMarshalFunc_VOID__VARIANT callback; 1307s # gpointer arg0; 1307s # va_list args_copy; 1307s # 1307s # va_copy (args_copy, args); 1307s # arg0 = (gpointer) va_arg (args_copy, gpointer); 1307s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1307s # arg0 = g_variant_ref_sink (arg0); 1307s # va_end (args_copy); 1307s # 1307s # 1307s # if (G_CCLOSURE_SWAP_DATA (closure)) 1307s # { 1307s # data1 = closure->data; 1307s # data2 = instance; 1307s # } 1307s # else 1307s # { 1307s # data1 = instance; 1307s # data2 = closure->data; 1307s # } 1307s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 1307s # 1307s # callback (data1, 1307s # arg0, 1307s # data2); 1307s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 1307s # g_variant_unref (arg0); 1307s # } 1307s # Error: 1307s 1..8 1307s ok - glib/genmarshal.py.test 1307s # Running test: glib/cache.test 1307s TAP version 14 1307s ok - glib/cache.test 1307s # Running test: glib/gdbus-proxy-well-known-name.test 1307s # random seed: R02S905b1d1d997bd525e879e35c3a3ca523 1307s 1..1 1307s # Start of cache tests 1307s ok 1 /cache/basic 1307s # End of cache tests 1307s TAP version 14 1307s # random seed: R02S1a7e521c8518248a6739208e0367f640 1307s 1..1 1307s # Start of gdbus tests 1307s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_NCTGC3/gdbus/proxy-well-known-name/.dirs/home 1307s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_NCTGC3/gdbus/proxy-well-known-name/.dirs/cache 1307s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_NCTGC3/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_NCTGC3/gdbus/proxy-well-known-name/.dirs/system-config2 1307s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_NCTGC3/gdbus/proxy-well-known-name/.dirs/config 1307s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_NCTGC3/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_NCTGC3/gdbus/proxy-well-known-name/.dirs/system-data2 1307s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_NCTGC3/gdbus/proxy-well-known-name/.dirs/data 1307s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_NCTGC3/gdbus/proxy-well-known-name/.dirs/state 1307s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_NCTGC3/gdbus/proxy-well-known-name/.dirs/runtime 1307s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1307s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1307s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1307s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1307s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1307s ok 1 /gdbus/proxy-well-known-name 1307s # End of gdbus tests 1307s ok - glib/gdbus-proxy-well-known-name.test 1307s # Running test: glib/overflow-fallback.test 1307s TAP version 14 1307s # random seed: R02Sc7b2b7bcd187112d36a941391d75afb4 1307s 1..6 1307s # Start of glib tests 1307s # Start of checked-math tests 1307s ok 1 /glib/checked-math/guint-add 1307s ok 2 /glib/checked-math/guint-mul 1307s ok 3 /glib/checked-math/guint64-add 1307s ok 4 /glib/checked-math/guint64-mul 1307s ok 5 /glib/checked-math/gsize-add 1307s ok 6 /glib/checked-math/gsize-mul 1307s # End of checked-math tests 1307s # End of glib tests 1307s ok - glib/overflow-fallback.test 1307s # Running test: glib/sequence.test 1307s TAP version 14 1307s # random seed: R02S1ff95493d66350f4d5312c78ae5c3cc8 1307s 1..16 1307s # Start of sequence tests 1307s ok 1 /sequence/out-of-range-jump 1307s ok 2 /sequence/iter-move 1307s ok 3 /sequence/insert-sorted-non-pointer 1307s ok 4 /sequence/stable-sort 1307s ok 5 /sequence/is_empty 1307s # Start of random tests 1308s ok 6 /sequence/random/seed:825541564 1308s # slow test /sequence/random/seed:825541564 executed in 0.69 secs 1309s ok 7 /sequence/random/seed:801678400 1309s # slow test /sequence/random/seed:801678400 executed in 0.65 secs 1309s # Executing: glib/sequence.test 1309s ok 8 /sequence/random/seed:1477639090 1309s # slow test /sequence/random/seed:1477639090 executed in 0.68 secs 1310s ok 9 /sequence/random/seed:3369132895 1310s # slow test /sequence/random/seed:3369132895 executed in 0.62 secs 1310s ok 10 /sequence/random/seed:1192944867 1310s # slow test /sequence/random/seed:1192944867 executed in 0.66 secs 1311s ok 11 /sequence/random/seed:770458294 1311s # slow test /sequence/random/seed:770458294 executed in 0.69 secs 1312s ok 12 /sequence/random/seed:1099575817 1312s # slow test /sequence/random/seed:1099575817 executed in 0.66 secs 1312s ok 13 /sequence/random/seed:590523467 1312s # slow test /sequence/random/seed:590523467 executed in 0.68 secs 1313s ok 14 /sequence/random/seed:3583571454 1313s # slow test /sequence/random/seed:3583571454 executed in 0.69 secs 1314s # Executing: glib/sequence.test 1314s ok 15 /sequence/random/seed:579241222 1314s # slow test /sequence/random/seed:579241222 executed in 0.68 secs 1315s ok 16 /sequence/random/seed:329388170 1315s # slow test /sequence/random/seed:329388170 executed in 0.67 secs 1315s # End of random tests 1315s # End of sequence tests 1315s ok - glib/sequence.test 1315s # Running test: glib/timeout.test 1315s TAP version 14 1315s # random seed: R02Saf11d6c4c4cd7b027a319b79e9bbbe3f 1315s 1..5 1315s # Start of timeout tests 1315s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1317s ok 1 /timeout/seconds 1317s # slow test /timeout/seconds executed in 2.10 secs 1319s # Executing: glib/timeout.test 1319s ok 2 /timeout/seconds-once 1319s # slow test /timeout/seconds-once executed in 2.10 secs 1319s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1321s ok 3 /timeout/weeks-overflow 1321s # slow test /timeout/weeks-overflow executed in 2.10 secs 1321s ok 4 /timeout/far-future-ready-time 1324s # Executing: glib/timeout.test 1329s # Executing: glib/timeout.test 1332s ok 5 /timeout/rounding 1332s # slow test /timeout/rounding executed in 10.78 secs 1332s # End of timeout tests 1332s ok - glib/timeout.test 1332s # Running test: glib/scannerapi.test 1332s TAP version 14 1332s # random seed: R02S0ce8400b81ea950bed4bf1c56fdd7d04 1332s 1..8 1332s # Start of scanner tests 1332s ok 1 /scanner/warn 1332s ok 2 /scanner/error 1332s ok 3 /scanner/symbols 1332s ok 4 /scanner/tokens 1332s ok 5 /scanner/multiline-comment 1332s ok 6 /scanner/int-to-float 1332s ok 7 /scanner/fd-input 1332s # Start of fd-input tests 1332s ok 8 /scanner/fd-input/rewind 1332s # End of fd-input tests 1332s # End of scanner tests 1332s ok - glib/scannerapi.test 1332s # Running test: glib/hash.test 1332s TAP version 14 1332s # random seed: R02S4f24f6f3fa2da9a6f7e62f5809a7b0ec 1332s 1..34 1332s # Start of hash tests 1332s ok - glib/hash.test 1332s # Running test: glib/fileattributematcher.test 1332s ok - glib/fileattributematcher.test 1332s # Running test: glib/markup-parse.test 1332s ok 1 /hash/misc 1332s ok 2 /hash/one 1332s ok 3 /hash/honeyman 1332s ok 4 /hash/direct 1332s ok 5 /hash/direct2 1332s ok 6 /hash/int 1332s ok 7 /hash/int64 1332s ok 8 /hash/double 1332s ok 9 /hash/string 1332s ok 10 /hash/set 1332s ok 11 /hash/set-ref 1332s ok 12 /hash/ref 1332s ok 13 /hash/remove-all 1332s ok 14 /hash/recursive-remove-all 1332s ok 15 /hash/find 1332s ok 16 /hash/foreach 1332s ok 17 /hash/foreach-steal 1332s ok 18 /hash/steal-extended 1332s ok 19 /hash/steal-all-keys 1332s ok 20 /hash/steal-all-values 1332s ok 21 /hash/lookup-extended 1332s ok 22 /hash/new-similar 1332s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 1332s ok 23 /hash/lookup-null-key 1332s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 1332s ok 24 /hash/destroy-modify 1332s ok 25 /hash/consistency 1332s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 1332s ok 26 /hash/iter-replace 1332s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 1332s ok 27 /hash/set-insert-corruption 1332s ok 28 /hash/set-to-strv 1332s ok 29 /hash/get-keys-as-ptr-array 1332s ok 30 /hash/get-values-as-ptr-array 1332s ok 31 /hash/primes 1332s # Start of int64 tests 1332s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 1332s ok 32 /hash/int64/collisions 1332s # End of int64 tests 1332s # Start of double tests 1332s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 1332s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 1332s ok 33 /hash/double/collisions 1332s # End of double tests 1332s # Start of recursive-remove-all tests 1332s # End of recursive-remove-all tests 1332s # Start of steal-extended tests 1332s ok 34 /hash/steal-extended/optional 1332s # End of steal-extended tests 1332s # End of hash tests 1332s TAP version 14 1332s # random seed: R02Sdc6f16d498c8de75757eb8a3f1a88757 1332s 1..3 1332s # Start of fileattributematcher tests 1332s ok 1 /fileattributematcher/exact 1332s ok 2 /fileattributematcher/equality 1332s ok 3 /fileattributematcher/subtract 1332s # End of fileattributematcher tests 1332s TAP version 14 1332s # random seed: R02Sa70ef0fb45a5a0b782b4440e4561e82f 1332s 1..71 1332s # Start of markup tests 1332s # Start of parse tests 1332s ok 1 /markup/parse/fail-24.gmarkup 1332s ok 2 /markup/parse/fail-47.gmarkup 1332s ok 3 /markup/parse/fail-51.gmarkup 1332s ok 4 /markup/parse/fail-16.gmarkup 1332s ok 5 /markup/parse/fail-49.gmarkup 1332s ok 6 /markup/parse/fail-18.gmarkup 1332s ok 7 /markup/parse/valid-2.gmarkup 1332s ok 8 /markup/parse/fail-1.gmarkup 1332s ok 9 /markup/parse/fail-38.gmarkup 1332s ok 10 /markup/parse/valid-3.gmarkup 1332s ok 11 /markup/parse/fail-3.gmarkup 1332s ok 12 /markup/parse/fail-30.gmarkup 1332s ok 13 /markup/parse/fail-17.gmarkup 1332s ok 14 /markup/parse/valid-5.gmarkup 1332s ok 15 /markup/parse/fail-43.gmarkup 1332s ok 16 /markup/parse/valid-9.gmarkup 1332s ok 17 /markup/parse/fail-50.gmarkup 1332s ok 18 /markup/parse/fail-6.gmarkup 1332s ok 19 /markup/parse/fail-7.gmarkup 1332s ok 20 /markup/parse/fail-27.gmarkup 1332s ok 21 /markup/parse/valid-12.gmarkup 1332s ok 22 /markup/parse/fail-5.gmarkup 1332s ok - glib/markup-parse.test 1332s # Running test: glib/utf8-private.test 1332s ok - glib/utf8-private.test 1332s # Running test: glib/custom-dispatch.test 1332s ok 23 /markup/parse/fail-31.gmarkup 1332s ok 24 /markup/parse/fail-37.gmarkup 1332s ok 25 /markup/parse/fail-36.gmarkup 1332s ok 26 /markup/parse/valid-17.gmarkup 1332s ok 27 /markup/parse/fail-4.gmarkup 1332s ok 28 /markup/parse/valid-16.gmarkup 1332s ok 29 /markup/parse/fail-40.gmarkup 1332s ok 30 /markup/parse/fail-45.gmarkup 1332s ok 31 /markup/parse/fail-9.gmarkup 1332s ok 32 /markup/parse/fail-28.gmarkup 1332s ok 33 /markup/parse/fail-8.gmarkup 1332s ok 34 /markup/parse/fail-41.gmarkup 1332s ok 35 /markup/parse/fail-19.gmarkup 1332s ok 36 /markup/parse/fail-32.gmarkup 1332s ok 37 /markup/parse/valid-14.gmarkup 1332s ok 38 /markup/parse/valid-4.gmarkup 1332s ok 39 /markup/parse/fail-23.gmarkup 1332s ok 40 /markup/parse/fail-54.gmarkup 1332s ok 41 /markup/parse/valid-11.gmarkup 1332s ok 42 /markup/parse/fail-35.gmarkup 1332s ok 43 /markup/parse/fail-22.gmarkup 1332s ok 44 /markup/parse/fail-11.gmarkup 1332s ok 45 /markup/parse/valid-7.gmarkup 1332s ok 46 /markup/parse/fail-13.gmarkup 1332s ok 47 /markup/parse/valid-10.gmarkup 1332s ok 48 /markup/parse/fail-10.gmarkup 1332s ok 49 /markup/parse/fail-15.gmarkup 1332s ok 50 /markup/parse/fail-48.gmarkup 1332s ok 51 /markup/parse/fail-20.gmarkup 1332s ok 52 /markup/parse/fail-52.gmarkup 1332s ok 53 /markup/parse/valid-1.gmarkup 1332s ok 54 /markup/parse/fail-12.gmarkup 1332s ok 55 /markup/parse/fail-33.gmarkup 1332s ok 56 /markup/parse/fail-2.gmarkup 1332s ok 57 /markup/parse/valid-6.gmarkup 1332s ok 58 /markup/parse/fail-46.gmarkup 1332s ok 59 /markup/parse/fail-53.gmarkup 1332s ok 60 /markup/parse/valid-15.gmarkup 1332s ok 61 /markup/parse/fail-29.gmarkup 1332s ok 62 /markup/parse/fail-21.gmarkup 1332s ok 63 /markup/parse/fail-42.gmarkup 1332s ok 64 /markup/parse/valid-13.gmarkup 1332s ok 65 /markup/parse/valid-8.gmarkup 1332s ok 66 /markup/parse/fail-25.gmarkup 1332s ok 67 /markup/parse/fail-39.gmarkup 1332s ok 68 /markup/parse/fail-14.gmarkup 1332s ok 69 /markup/parse/fail-44.gmarkup 1332s ok 70 /markup/parse/fail-34.gmarkup 1332s ok 71 /markup/parse/fail-26.gmarkup 1332s # End of parse tests 1332s # End of markup tests 1332s TAP version 14 1332s # random seed: R02S434ff870be2949f6e0ae05e855f5d886 1332s 1..2 1332s # Start of utf8 tests 1332s ok 1 /utf8/utf8-to-utf16-make-valid 1332s ok 2 /utf8/utf8-to-utf16-make-valid-backtrack 1332s # End of utf8 tests 1332s TAP version 14 1332s ok - glib/custom-dispatch.test 1332s # Running test: glib/dump.test 1332s ok - glib/dump.test 1332s # Running test: glib/markup-escape.test 1332s # random seed: R02Sfa9ce80046e93033b2370977ffa12607 1332s 1..2 1332s # Start of properties tests 1332s # Start of custom-dispatch tests 1332s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 1332s ok 1 /properties/custom-dispatch/init 1332s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 1332s ok 2 /properties/custom-dispatch/set 1332s # End of custom-dispatch tests 1332s # End of properties tests 1332s TAP version 14 1332s # random seed: R02S53290f57535c23076ad08436e1957764 1332s 1..4 1332s # Start of dump tests 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_CJTBC3/dump/empty-file/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_CJTBC3/dump/empty-file/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_CJTBC3/dump/empty-file/.dirs/system-config1:/tmp/test_dump_CJTBC3/dump/empty-file/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_CJTBC3/dump/empty-file/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_CJTBC3/dump/empty-file/.dirs/system-data1:/tmp/test_dump_CJTBC3/dump/empty-file/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_CJTBC3/dump/empty-file/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_CJTBC3/dump/empty-file/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_CJTBC3/dump/empty-file/.dirs/runtime 1332s ok 1 /dump/empty-file 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_CJTBC3/dump/missing-get-type/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_CJTBC3/dump/missing-get-type/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_CJTBC3/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_CJTBC3/dump/missing-get-type/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_CJTBC3/dump/missing-get-type/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_CJTBC3/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_CJTBC3/dump/missing-get-type/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_CJTBC3/dump/missing-get-type/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_CJTBC3/dump/missing-get-type/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_CJTBC3/dump/missing-get-type/.dirs/runtime 1332s Invalid GType function: 'does_not_exist_get_type' 1332s ok 2 /dump/missing-get-type 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_CJTBC3/dump/missing-quark/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_CJTBC3/dump/missing-quark/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_CJTBC3/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_CJTBC3/dump/missing-quark/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_CJTBC3/dump/missing-quark/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_CJTBC3/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_CJTBC3/dump/missing-quark/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_CJTBC3/dump/missing-quark/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_CJTBC3/dump/missing-quark/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_CJTBC3/dump/missing-quark/.dirs/runtime 1332s Invalid error quark function: 'does_not_exist_error' 1332s ok 3 /dump/missing-quark 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_CJTBC3/dump/basic/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_CJTBC3/dump/basic/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_CJTBC3/dump/basic/.dirs/system-config1:/tmp/test_dump_CJTBC3/dump/basic/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_CJTBC3/dump/basic/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_CJTBC3/dump/basic/.dirs/system-data1:/tmp/test_dump_CJTBC3/dump/basic/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_CJTBC3/dump/basic/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_CJTBC3/dump/basic/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_CJTBC3/dump/basic/.dirs/runtime 1332s ok 4 /dump/basic 1332s # End of dump tests 1332s TAP version 14 1332s # random seed: R02Sbd19e4e5e4f8e4c76ae6aa75a64b230d 1332s 1..41 1332s # Start of markup tests 1332s ok 1 /markup/format 1332s # Start of escape-text tests 1332s ok 2 /markup/escape-text/0 1332s ok 3 /markup/escape-text/1 1332s ok 4 /markup/escape-text/2 1332s ok 5 /markup/escape-text/3 1332s ok 6 /markup/escape-text/4 1332s ok 7 /markup/escape-text/5 1332s ok 8 /markup/escape-text/6 1332s ok 9 /markup/escape-text/7 1332s ok 10 /markup/escape-text/8 1332s ok 11 /markup/escape-text/9 1332s ok 12 /markup/escape-text/10 1332s ok 13 /markup/escape-text/11 1332s ok 14 /markup/escape-text/12 1332s ok 15 /markup/escape-text/13 1332s ok 16 /markup/escape-text/14 1332s ok 17 /markup/escape-text/15 1332s ok 18 /markup/escape-text/16 1332s ok 19 /markup/escape-text/17 1332s ok 20 /markup/escape-text/18 1332s ok 21 /markup/escape-text/19 1332s ok 22 /markup/escape-text/20 1332s ok 23 /markup/escape-text/21 1332s ok 24 /markup/escape-text/22 1332s # End of escape-text tests 1332s # Start of escape-unichar tests 1332s ok 25 /markup/escape-unichar/0 1332s ok 26 /markup/escape-unichar/1 1332s ok 27 /markup/escape-unichar/2 1332s ok 28 /markup/escape-unichar/3 1332s ok 29 /markup/escape-unichar/4 1332s ok 30 /markup/escape-unichar/5 1332s ok 31 /markup/escape-unichar/6 1332s ok 32 /markup/escape-unichar/7 1332s ok 33 /markup/escape-unichar/8 1332s ok 34 /markup/escape-unichar/9 1332s ok 35 /markup/escape-unichar/10 1332s ok 36 /markup/escape-unichar/11 1332s ok 37 /markup/escape-unichar/12 1332s ok 38 /markup/escape-unichar/13 1332s ok 39 /markup/escape-unichar/14 1332s ok 40 /markup/escape-unichar/15 1332s ok 41 /markup/escape-unichar/16 1332s # End of escape-unichar tests 1332s # End of markup tests 1332s TAP version 14 1332s # random seed: R02S2d74c1c77b0d95e741aea8dd75f24198 1332s 1..4 1332s # Start of gdbus tests 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_C07AC3/gdbus/registered-errors/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_C07AC3/gdbus/registered-errors/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_C07AC3/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_C07AC3/gdbus/registered-errors/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_C07AC3/gdbus/registered-errors/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_C07AC3/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_C07AC3/gdbus/registered-errors/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_C07AC3/gdbus/registered-errors/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_C07AC3/gdbus/registered-errors/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_C07AC3/gdbus/registered-errors/.dirs/runtime 1332s ok 1 /gdbus/registered-errors 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_C07AC3/gdbus/unregistered-errors/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_C07AC3/gdbus/unregistered-errors/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_C07AC3/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_C07AC3/gdbus/unregistered-errors/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_C07AC3/gdbus/unregistered-errors/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_C07AC3/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_C07AC3/gdbus/unregistered-errors/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_C07AC3/gdbus/unregistered-errors/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_C07AC3/gdbus/unregistered-errors/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_C07AC3/gdbus/unregistered-errors/.dirs/runtime 1332s ok 2 /gdbus/unregistered-errors 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_C07AC3/gdbus/transparent-gerror/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_C07AC3/gdbus/transparent-gerror/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_C07AC3/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_C07AC3/gdbus/transparent-gerror/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_C07AC3/gdbus/transparent-gerror/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_C07AC3/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_C07AC3/gdbus/transparent-gerror/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_C07AC3/gdbus/transparent-gerror/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_C07AC3/gdbus/transparent-gerror/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_C07AC3/gdbus/transparent-gerror/.dirs/runtime 1332s ok - glib/markup-escape.test 1332s # Running test: glib/gdbus-error.test 1332s ok 3 /gdbus/transparent-gerror 1332s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_C07AC3/gdbus/register-error/.dirs/home 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_C07AC3/gdbus/register-error/.dirs/cache 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_C07AC3/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_C07AC3/gdbus/register-error/.dirs/system-config2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_C07AC3/gdbus/register-error/.dirs/config 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_C07AC3/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_C07AC3/gdbus/register-error/.dirs/system-data2 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_C07AC3/gdbus/register-error/.dirs/data 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_C07AC3/gdbus/register-error/.dirs/state 1332s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_C07AC3/gdbus/register-error/.dirs/runtime 1332s ok 4 /gdbus/register-error 1332s # End of gdbus tests 1332s TAP version 14 1332s # random seed: R02Sa6ba2a66b3d327b72318947f59b6dc91 1332s 1..1 1332s # Start of memory-monitor tests 1332s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 1332s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ‘gio-memory-monitor’ 1332s ok 1 /memory-monitor/default 1332s # End of memory-monitor tests 1332s TAP version 14 1332s # random seed: R02S9112e4bce5cb869965dde3babc92f6b8 1332s 1..3 1332s # Start of dir tests 1332s ok 1 /dir/read 1332s ok 2 /dir/nonexisting 1332s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 1332s ok 3 /dir/refcounting 1332s # End of dir tests 1332s TAP version 14 1332s # random seed: R02S20048d897913f5ce341c6dc51810797d 1332s 1..1 1332s # Start of markup tests 1332s ok 1 /markup/stack 1332s # End of markup tests 1332s TAP version 14 1332s # random seed: R02S510f25382d02a4019ecbbe21812cbe13 1332s 1..4 1332s # Start of unix-mounts tests 1332s ok 1 /unix-mounts/is-system-fs-type 1332s ok 2 /unix-mounts/is-system-device-path 1332s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 1332s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1332s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1332s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1332s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1332s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1332s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1332s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 1332s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 1332s ok 3 /unix-mounts/get-mount-points 1332s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 1332s ok 4 /unix-mounts/get-mount-entries 1332s # End of unix-mounts tests 1332s ok - glib/gdbus-error.test 1332s # Running test: glib/memory-monitor.test 1332s ok - glib/memory-monitor.test 1332s # Running test: glib/dir.test 1332s ok - glib/dir.test 1332s # Running test: glib/markup.test 1332s ok - glib/markup.test 1332s # Running test: glib/unix-mounts.test 1332s ok - glib/unix-mounts.test 1332s # Running test: glib/signals-refcount1.test 1332s TAP version 14 1332s # random seed: R02S82d4946bb07471d77ecfe2a0841cb53f 1332s 1..1 1332s # Start of gobject tests 1332s # Start of refcount tests 1332s # init 0x9ff3d0cd490 1332s # 1332s # init 0x9ff3d0c5580 1332s # 1334s # Executing: glib/signals-refcount1.test 1337s # dispose 0x9ff3d0cd490! 1337s # 1337s # dispose 0x9ff3d0c5580! 1337s # 1337s ok 1 /gobject/refcount/signals 1337s # slow test /gobject/refcount/signals executed in 5.00 secs 1337s # End of refcount tests 1337s # End of gobject tests 1337s ok - glib/signals-refcount1.test 1337s # Running test: glib/gutils-user-database.test 1337s TAP version 14 1337s # random seed: R02S8d27895e447bfc9066dac7ce363cd264 1337s 1..1 1337s # Start of gutils tests 1337s ok 1 /gutils/get_user_database_entry 1337s # End of gutils tests 1337s ok - glib/gutils-user-database.test 1337s # Running test: glib/override.test 1337s TAP version 14 1337s # random seed: R02Sbcd0633128d8f76920eac3c8fed43560 1337s 1..1 1337s # Start of gobject tests 1337s # *** emitting foo on a TestA instance 1337s # Expecting: TestA::foo,TestI::foo 1337s # Got: TestA::foo,TestI::foo 1337s # *** emitting bar on a TestA instance 1337s # Expecting: TestA::bar 1337s # Got: TestA::bar 1337s # *** emitting baz on a TestA instance 1337s # Expecting: TestA::baz 1337s # Got: TestA::baz 1337s # *** emitting foo on a TestB instance 1337s # Expecting: TestB::foo,TestA::foo,TestI::foo 1337s # Got: TestB::foo,TestA::foo,TestI::foo 1337s # *** emitting bar on a TestB instance 1337s # Expecting: TestB::bar,TestA::bar 1337s # Got: TestB::bar,TestA::bar 1337s # *** emitting baz on a TestB instance 1337s # Expecting: TestB::baz,TestA::baz 1337s # Got: TestB::baz,TestA::baz 1337s # *** emitting foo on a TestC instance 1337s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1337s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 1337s # *** emitting bar on a TestC instance 1337s # Expecting: TestC::bar,TestB::bar,TestA::bar 1337s # Got: TestC::bar,TestB::bar,TestA::bar 1337s # *** emitting baz on a TestC instance 1337s # Expecting: TestC::baz,TestB::baz,TestA::baz 1337s # Got: TestC::baz,TestB::baz,TestA::baz 1337s ok 1 /gobject/override 1337s # End of gobject tests 1337s TAP version 14 1337s # random seed: R02S4d795f285c83320f8e70c384d75c4c88 1337s 1..22 1337s # Start of snprintf tests 1337s ok 1 /snprintf/retval-and-trunc 1337s ok 2 /snprintf/%d 1337s ok 3 /snprintf/%d-invalid 1337s ok 4 /snprintf/%o 1337s ok 5 /snprintf/%u 1337s ok 6 /snprintf/%x 1337s ok 7 /snprintf/%X 1337s ok 8 /snprintf/%f 1337s ok 9 /snprintf/%e 1337s ok 10 /snprintf/%c 1337s ok 11 /snprintf/%s 1337s ok 12 /snprintf/%n 1337s ok 13 /snprintf/test-percent 1337s ok 14 /snprintf/test-positional-params 1337s ok 15 /snprintf/test-64bit 1337s # End of snprintf tests 1337s # Start of printf tests 1337s ok 16 /printf/test-percent 1337s ok 17 /printf/test-positional-params 1337s ok 18 /printf/test-64bit 1337s # Start of test-64bit tests 1337s # Start of subprocess tests 1337s # End of subprocess tests 1337s # End of test-64bit tests 1337s # End of printf tests 1337s # Start of sprintf tests 1337s ok 19 /sprintf/test-positional-params 1337s ok 20 /sprintf/upper-bound 1337s # End of sprintf tests 1337s # Start of vasprintf tests 1337s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 1337s ok 21 /vasprintf/invalid-format-placeholder 1337s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 1337s ok 22 /vasprintf/invalid-wide-string 1337s # End of vasprintf tests 1337s TAP version 14 1337s # random seed: R02Sb34ad9aad2dc91590b3f9f667ca8d4d0 1337s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 1337s TAP version 14 1337s # random seed: R02S6603167c99a19cb9294a09d76aa0e3ff 1337s 1..4 1337s # Start of type tests 1337s # Start of flags tests 1337s ok 1 /type/flags/interface 1337s ok 2 /type/flags/final 1337s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 1337s ok 3 /type/flags/deprecated 1337s # Start of final tests 1337s ok 4 /type/flags/final/instance-check 1337s # End of final tests 1337s # End of flags tests 1337s # End of type tests 1337s TAP version 14 1337s # random seed: R02S70e243bd4d6337817e74ce4c8b28df3b 1337s 1..1 1337s # Start of gdbus tests 1337s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_8HSCC3/gdbus/bz627724/.dirs/home 1337s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_8HSCC3/gdbus/bz627724/.dirs/cache 1337s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_8HSCC3/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_8HSCC3/gdbus/bz627724/.dirs/system-config2 1337s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_8HSCC3/gdbus/bz627724/.dirs/config 1337s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_8HSCC3/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_8HSCC3/gdbus/bz627724/.dirs/system-data2 1337s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_8HSCC3/gdbus/bz627724/.dirs/data 1337s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_8HSCC3/gdbus/bz627724/.dirs/state 1337s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_8HSCC3/gdbus/bz627724/.dirs/runtime 1337s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1337s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1337s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1337s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1337s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1337s ok - glib/override.test 1337s # Running test: glib/test-printf.test 1337s ok - glib/test-printf.test 1337s # Running test: glib/gdbus-threading.test 1337s ok - glib/gdbus-threading.test 1337s # Running test: glib/type-flags.test 1337s ok - glib/type-flags.test 1337s # Running test: glib/gdbus-bz627724.test 1337s ok 1 /gdbus/bz627724 1337s # End of gdbus tests 1337s TAP version 14 1337s # random seed: R02S0e8e5e9f4482cb650d45b6a3c04dce18 1337s 1..7 1337s # Start of data-output-stream tests 1337s ok 1 /data-output-stream/basic 1337s ok 2 /data-output-stream/write-lines-LF 1337s ok 3 /data-output-stream/write-lines-CR 1337s ok 4 /data-output-stream/write-lines-CR-LF 1337s ok 5 /data-output-stream/write-int 1337s ok 6 /data-output-stream/seek 1337s ok 7 /data-output-stream/truncate 1337s # End of data-output-stream tests 1337s TAP version 14 1337s # random seed: R02S772d4daf1a0f3a5b800bf3ef977d4d1a 1337s 1..1 1337s # Start of thread tests 1337s ok - glib/gdbus-bz627724.test 1337s # Running test: glib/data-output-stream.test 1337s ok - glib/data-output-stream.test 1337s # Running test: glib/onceinit.test 1337s ok 1 /thread/onceinit 1337s # End of thread tests 1337s ok - glib/onceinit.test 1337s # Running test: glib/param.test 1337s TAP version 14 1337s # random seed: R02Sfeb901324027b09ea00fb3a1355234ab 1337s 1..32 1337s # Start of param tests 1337s ok 1 /param/value 1337s ok 2 /param/strings 1337s ok 3 /param/qdata 1337s ok 4 /param/validate 1337s ok 5 /param/convert 1337s ok 6 /param/implement # SKIP Skipping slow /param/implement test 1337s ok 7 /param/default 1337s ok 8 /param/is-valid-name 1337s # Start of invalid-name tests 1337s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 1337s ok 9 /param/invalid-name/colon 1337s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 1337s ok 10 /param/invalid-name/first-char 1337s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 1337s ok 11 /param/invalid-name/empty 1337s # End of invalid-name tests 1337s # Start of implement tests 1337s # Start of subprocess tests 1337s # End of subprocess tests 1337s # End of implement tests 1337s # End of param tests 1337s # Start of value tests 1337s ok 12 /value/transform 1337s # End of value tests 1337s # Start of paramspec tests 1337s ok 13 /paramspec/char 1337s ok 14 /paramspec/uchar 1337s ok 15 /paramspec/int 1337s ok 16 /paramspec/uint 1337s ok 17 /paramspec/long 1337s ok 18 /paramspec/ulong 1337s ok 19 /paramspec/int64 1337s ok 20 /paramspec/uint64 1337s ok 21 /paramspec/float 1337s ok 22 /paramspec/double 1337s ok 23 /paramspec/unichar 1337s ok 24 /paramspec/param 1337s ok 25 /paramspec/null-param 1337s ok 26 /paramspec/string 1337s ok 27 /paramspec/override 1337s ok 28 /paramspec/gtype 1337s ok 29 /paramspec/variant 1337s ok 30 /paramspec/custom 1337s ok 31 /paramspec/pool 1337s # Start of variant tests 1337s ok 32 /paramspec/variant/cmp 1337s # End of variant tests 1337s ok - glib/param.test 1337s # End of paramspec tests 1337s # Running test: glib/glistmodel.test 1337s TAP version 14 1337s # random seed: R02Sf00d0f9b971b2ed20081635a671c3e74 1337s 1..18 1337s # Start of glistmodel tests 1337s # Start of store tests 1337s ok 1 /glistmodel/store/properties 1337s ok 2 /glistmodel/store/non-gobjects 1337s ok 3 /glistmodel/store/boundaries 1337s ok 4 /glistmodel/store/refcounts 1337s ok - glib/glistmodel.test 1337s ok 5 /glistmodel/store/sorted 1337s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1337s ok 6 /glistmodel/store/splice-replace-middle 1337s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 1337s ok 7 /glistmodel/store/splice-replace-all 1337s ok 8 /glistmodel/store/splice-noop 1337s ok 9 /glistmodel/store/splice-remove-multiple 1337s ok 10 /glistmodel/store/splice-add-multiple 1337s ok 11 /glistmodel/store/splice-wrong-type 1337s ok 12 /glistmodel/store/item-type 1337s ok 13 /glistmodel/store/remove-all 1337s ok 14 /glistmodel/store/sort 1337s ok 15 /glistmodel/store/get-item-cache 1337s ok 16 /glistmodel/store/items-changed 1337s ok 17 /glistmodel/store/past-end 1337s ok 18 /glistmodel/store/find 1337s # End of store tests 1337s # End of glistmodel tests 1337s # Running test: glib/gdbus-connection-slow.test 1337s TAP version 14 1337s # random seed: R02Sa2c1cba5806f9cf3fed2cad7e90e80ad 1337s 1..2 1337s # Start of gdbus tests 1337s # Start of connection tests 1337s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_YNLIC3/gdbus/connection/flush/.dirs/home 1337s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_YNLIC3/gdbus/connection/flush/.dirs/cache 1337s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_YNLIC3/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_YNLIC3/gdbus/connection/flush/.dirs/system-config2 1337s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_YNLIC3/gdbus/connection/flush/.dirs/config 1337s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_YNLIC3/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_YNLIC3/gdbus/connection/flush/.dirs/system-data2 1337s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_YNLIC3/gdbus/connection/flush/.dirs/data 1337s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_YNLIC3/gdbus/connection/flush/.dirs/state 1337s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_YNLIC3/gdbus/connection/flush/.dirs/runtime 1337s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1337s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1337s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1337s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1337s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1337s ok 1 /gdbus/connection/flush 1337s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_YNLIC3/gdbus/connection/large_message/.dirs/home 1337s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_YNLIC3/gdbus/connection/large_message/.dirs/cache 1337s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_YNLIC3/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_YNLIC3/gdbus/connection/large_message/.dirs/system-config2 1337s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_YNLIC3/gdbus/connection/large_message/.dirs/config 1337s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_YNLIC3/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_YNLIC3/gdbus/connection/large_message/.dirs/system-data2 1337s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_YNLIC3/gdbus/connection/large_message/.dirs/data 1337s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_YNLIC3/gdbus/connection/large_message/.dirs/state 1337s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_YNLIC3/gdbus/connection/large_message/.dirs/runtime 1337s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1337s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1337s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1337s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1337s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1337s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1338s ok - glib/gdbus-connection-slow.test 1338s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1338s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1338s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1338s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1338s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1338s ok 2 /gdbus/connection/large_message 1338s # End of connection tests 1338s # End of gdbus tests 1338s cleaning up pid 38997 1338s # Running test: glib/dbus-appinfo.test 1338s TAP version 14 1338s # random seed: R02S251c1fab5c06f167eaa71bdf74ee991a 1338s 1..7 1338s # Start of appinfo tests 1338s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/dbusappinfo/.dirs/home 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/dbusappinfo/.dirs/cache 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/dbusappinfo/.dirs/system-config1:/tmp/test_dbus-appinfo_HZ8IC3/appinfo/dbusappinfo/.dirs/system-config2 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/dbusappinfo/.dirs/config 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/dbusappinfo/.dirs/system-data1:/tmp/test_dbus-appinfo_HZ8IC3/appinfo/dbusappinfo/.dirs/system-data2 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/dbusappinfo/.dirs/data 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/dbusappinfo/.dirs/state 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/dbusappinfo/.dirs/runtime 1338s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1338s ok 1 /appinfo/dbusappinfo 1338s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/flatpak-doc-export/.dirs/home 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/flatpak-doc-export/.dirs/cache 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/flatpak-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_HZ8IC3/appinfo/flatpak-doc-export/.dirs/system-config2 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/flatpak-doc-export/.dirs/config 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/flatpak-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_HZ8IC3/appinfo/flatpak-doc-export/.dirs/system-data2 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/flatpak-doc-export/.dirs/data 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/flatpak-doc-export/.dirs/state 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/flatpak-doc-export/.dirs/runtime 1338s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1338s # Acquired a message bus connection 1338s # Acquired the name org.freedesktop.portal.Documents 1338s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_HZ8IC3/appinfo/dbusappinfo/.dirs/config to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/flatpak-doc-export/.dirs/config 1338s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 1338s # fake-document-portal cancelled 1338s ok 2 /appinfo/flatpak-doc-export 1338s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/flatpak-missing-doc-export/.dirs/home 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/flatpak-missing-doc-export/.dirs/cache 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/flatpak-missing-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_HZ8IC3/appinfo/flatpak-missing-doc-export/.dirs/system-config2 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/flatpak-missing-doc-export/.dirs/config 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/flatpak-missing-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_HZ8IC3/appinfo/flatpak-missing-doc-export/.dirs/system-data2 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/flatpak-missing-doc-export/.dirs/data 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/flatpak-missing-doc-export/.dirs/state 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/flatpak-missing-doc-export/.dirs/runtime 1338s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 1338s # Acquired a message bus connection 1338s # Acquired the name org.freedesktop.portal.Documents 1338s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_HZ8IC3/appinfo/flatpak-doc-export/.dirs/config to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/flatpak-missing-doc-export/.dirs/config 1338s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 1338s # fake-document-portal cancelled 1338s ok 3 /appinfo/flatpak-missing-doc-export 1338s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-file/.dirs/home 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-file/.dirs/cache 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-file/.dirs/system-config1:/tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-file/.dirs/system-config2 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-file/.dirs/config 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-file/.dirs/system-data1:/tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-file/.dirs/system-data2 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-file/.dirs/data 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-file/.dirs/state 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-file/.dirs/runtime 1338s # Acquired a message bus connection 1338s # Acquired the name org.freedesktop.portal.Desktop 1338s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_HZ8IC3/appinfo/flatpak-missing-doc-export/.dirs/config to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-file/.dirs/config 1338s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 1338s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_5/t 1338s # Response emitted 1338s # fake-desktop-portal cancelled 1338s ok 4 /appinfo/portal-open-file 1338s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-uri/.dirs/home 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-uri/.dirs/cache 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-uri/.dirs/system-config1:/tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-uri/.dirs/system-config2 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-uri/.dirs/config 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-uri/.dirs/system-data1:/tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-uri/.dirs/system-data2 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-uri/.dirs/data 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-uri/.dirs/state 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-uri/.dirs/runtime 1338s # Acquired a message bus connection 1338s # Acquired the name org.freedesktop.portal.Desktop 1338s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-file/.dirs/config to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-uri/.dirs/config 1338s # Got open file request for http://example.com 1338s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_7/t 1338s # Response emitted 1338s # fake-desktop-portal cancelled 1338s ok 5 /appinfo/portal-open-uri 1338s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-file-async/.dirs/home 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-file-async/.dirs/cache 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-file-async/.dirs/system-config1:/tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-file-async/.dirs/system-config2 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-file-async/.dirs/config 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-file-async/.dirs/system-data1:/tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-file-async/.dirs/system-data2 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-file-async/.dirs/data 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-file-async/.dirs/state 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-file-async/.dirs/runtime 1338s # Acquired a message bus connection 1338s # Acquired the name org.freedesktop.portal.Desktop 1338s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-uri/.dirs/config to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-file-async/.dirs/config 1338s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 1338s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_9/gio551808746 1338s # Response emitted 1338s # fake-desktop-portal cancelled 1338s ok - glib/dbus-appinfo.test 1338s # Running test: glib/protocol.test 1338s ok - glib/protocol.test 1338s # Running test: glib/cxx-11.test 1338s ok - glib/cxx-11.test 1338s # Running test: glib/simple-async-result.test 1338s ok - glib/simple-async-result.test 1338s # Running test: glib/macros-c-89.test 1338s ok 6 /appinfo/portal-open-file-async 1338s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-uri-async/.dirs/home 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-uri-async/.dirs/cache 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-uri-async/.dirs/system-config1:/tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-uri-async/.dirs/system-config2 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-uri-async/.dirs/config 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-uri-async/.dirs/system-data1:/tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-uri-async/.dirs/system-data2 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-uri-async/.dirs/data 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-uri-async/.dirs/state 1338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-uri-async/.dirs/runtime 1338s # Acquired a message bus connection 1338s # Acquired the name org.freedesktop.portal.Desktop 1338s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-file-async/.dirs/config to /tmp/test_dbus-appinfo_HZ8IC3/appinfo/portal-open-uri-async/.dirs/config 1338s # Got open file request for http://example.com 1338s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_11/gio1803722088 1338s # Response emitted 1338s # fake-desktop-portal cancelled 1338s ok 7 /appinfo/portal-open-uri-async 1338s # End of appinfo tests 1338s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1338s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1338s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1338s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1338s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1338s TAP version 14 1338s # random seed: R02S6426c503fe9f80200bfde7cd71cd6f57 1338s 1..9 1338s # Start of glib tests 1338s # Start of testing tests 1338s # Start of protocol tests 1338s ok 1 /glib/testing/protocol/debug 1338s ok 2 /glib/testing/protocol/info 1338s ok 3 /glib/testing/protocol/message 1338s ok 4 /glib/testing/protocol/warning 1338s ok 5 /glib/testing/protocol/critical 1338s ok 6 /glib/testing/protocol/error 1338s ok 7 /glib/testing/protocol/gtest-message 1338s ok 8 /glib/testing/protocol/test-message 1338s ok 9 /glib/testing/protocol/test-error 1338s # End of protocol tests 1338s # End of testing tests 1338s # End of glib tests 1338s TAP version 14 1338s # random seed: R02S3cced9020e196140d35e30026de2955c 1338s 1..2 1338s # Start of gtask tests 1338s # 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. 1338s ok 1 /gtask/name 1338s # Start of name tests 1338s # 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. 1338s ok 2 /gtask/name/macro-wrapper 1338s # End of name tests 1338s # End of gtask tests 1338s TAP version 14 1338s # random seed: R02Safa82e1828171a066498bf11c50414a7 1338s 1..2 1338s # Start of gio tests 1338s # Start of simple-async-result tests 1338s ok 1 /gio/simple-async-result/test 1338s # GLib-GIO-DEBUG: GTask 0x1606f7665700 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1338s ok 2 /gio/simple-async-result/valid 1338s # End of simple-async-result tests 1338s # End of gio tests 1338s ok - glib/macros-c-89.test 1338s # Running test: glib/properties-refcount2.test 1338s TAP version 14 1338s # random seed: R02S4c475dae3b6f316bfc835ce926e694f0 1338s 1..4 1338s # Start of C tests 1338s ok 1 /C/standard-89 1338s # End of C tests 1338s # Start of alignof tests 1338s ok 2 /alignof/fallback 1338s # End of alignof tests 1338s # Start of assert tests 1338s ok 3 /assert/static 1338s # End of assert tests 1338s # Start of struct tests 1338s ok 4 /struct/sizeof_member 1338s # End of struct tests 1338s TAP version 14 1338s # random seed: R02Sa60cd98f47929d03d9d2f3a9d0da2112 1338s 1..1 1338s # Start of gobject tests 1338s # Start of refcount tests 1338s # init 0xeecc74eb0 1338s # 1338s # . 1338s # . 1338s # . 1338s # . 1338s # . 1338s # . 1338s # . 1338s # . 1338s # . 1338s # . 1338s # . 1338s # . 1338s # . 1338s # . 1338s # . 1338s # . 1338s # . 1338s # . 1338s # . 1338s # . 1339s # . 1339s # Executing: glib/properties-refcount2.test 1339s # . 1339s # . 1339s # . 1339s # . 1339s # . 1339s # . 1339s # . 1339s # . 1339s # . 1339s # . 1339s # . 1339s # . 1339s # . 1339s # . 1339s # . 1339s # . 1339s # . 1339s # . 1339s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1340s # . 1341s # . 1341s # . 1341s # . 1341s # . 1341s # . 1341s # . 1341s ok - glib/properties-refcount2.test 1341s # . 1341s # dispose 0xeecc74eb0! 1341s # 1341s ok 1 /gobject/refcount/properties-2 1341s # slow test /gobject/refcount/properties-2 executed in 2.72 secs 1341s # End of refcount tests 1341s # End of gobject tests 1341s # Running test: glib/unix-fd.test 1341s TAP version 14 1341s # random seed: R02S79a060876cbe2d0ed5a4879636988ab4 1341s 1..2 1341s # Start of unix-fd tests 1341s ok 1 /unix-fd/fd-list 1341s ok 2 /unix-fd/scm 1341s # End of unix-fd tests 1341s ok - glib/unix-fd.test 1341s # Running test: glib/properties-refcount4.test 1341s TAP version 14 1341s # random seed: R02S07acc67db17daf2396ed4609eebf9a36 1341s 1..1 1341s # Start of gobject tests 1341s # Start of refcount tests 1341s ok 1 /gobject/refcount/properties-4 1341s # End of refcount tests 1341s # End of gobject tests 1341s ok - glib/properties-refcount4.test 1341s # Running test: glib/utils-c-99.test 1341s TAP version 14 1341s # random seed: R02S7dded8afe5a06fc8296f5b570e888c40 1341s 1..41 1341s # Start of utils tests 1341s ok 1 /utils/language-names 1341s # Testing locale ‘en’ 1341s # Testing locale ‘sr@latin’ 1341s # Testing locale ‘fr_BE’ 1341s # Testing locale ‘sr_SR@latin’ 1341s # Testing locale ‘sr_SR@latin.UTF-8’ 1341s # Testing locale ‘sr@latin_invalid’ 1341s # Testing locale ‘sr.UTF-8@latin’ 1341s # Testing locale ‘sr.UTF-8_latin’ 1341s # Testing locale ‘sr.UTF-8@latin_invalid’ 1341s ok 2 /utils/locale-variants 1341s ok 3 /utils/version 1341s ok 4 /utils/appname 1341s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1341s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1341s ok 5 /utils/prgname-thread-safety 1341s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1341s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1341s ok 6 /utils/tmpdir 1341s ok 7 /utils/basic_bits 1341s ok 8 /utils/bits 1341s ok 9 /utils/swap 1341s ok 10 /utils/find-program 1341s ok 11 /utils/find-program-for-path 1341s ok 12 /utils/debug 1341s ok 13 /utils/codeset 1341s ok 14 /utils/codeset2 1341s ok 15 /utils/console-charset 1341s ok 16 /utils/gettext 1341s ok 17 /utils/username 1341s ok 18 /utils/realname 1341s ok 19 /utils/hostname 1341s ok 20 /utils/xdgdirs 1341s ok 21 /utils/specialdir 1341s # NAME: Ubuntu 1341s ok 22 /utils/os-info 1341s ok 23 /utils/clear-pointer 1341s ok 24 /utils/clear-pointer-cast 1341s ok 25 /utils/take-pointer 1341s ok 26 /utils/clear-source 1341s ok 27 /utils/misc-mem 1341s # /utils/aligned-mem summary: Aligned memory allocator 1341s # Alignment must not be zero 1341s # Alignment must be a power of two 1341s # Alignment must be a multiple of sizeof(void*) 1341s ok 28 /utils/aligned-mem 1341s # /utils/free-sized summary: Check that g_free_sized() works 1341s ok 29 /utils/free-sized 1341s ok 30 /utils/nullify 1341s ok 31 /utils/atexit 1341s ok 32 /utils/check-setuid 1341s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1341s ok 33 /utils/int-limits 1341s ok 34 /utils/clear-list 1341s ok 35 /utils/clear-slist 1341s ok 36 /utils/steal-handle-id 1341s # Start of specialdir tests 1341s ok 37 /utils/specialdir/desktop 1341s # End of specialdir tests 1341s # Start of clear-pointer tests 1341s ok 38 /utils/clear-pointer/side-effects 1341s # End of clear-pointer tests 1341s # Start of aligned-mem tests 1341s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1341s ok 39 /utils/aligned-mem/alignment 1341s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1341s ok 40 /utils/aligned-mem/zeroed 1341s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1341s ok 41 /utils/aligned-mem/free-sized 1341s # Start of subprocess tests 1341s # End of subprocess tests 1341s # End of aligned-mem tests 1341s ok - glib/utils-c-99.test 1341s # Running test: glib/atomic.test 1341s # End of utils tests 1341s TAP version 14 1341s # random seed: R02S95402e41d208d26df1e9d5a69b0c7e71 1341s 1..2 1341s # Start of atomic tests 1341s ok 1 /atomic/types 1341s ok - glib/atomic.test 1341s ok 2 /atomic/threaded 1341s # End of atomic tests 1341s # Running test: glib/gdbus-sasl.test 1341s TAP version 14 1341s # random seed: R02S5ffdc90af47bf8b65f5232e804a992cc 1341s 1..1 1341s # Start of gdbus tests 1341s # Start of sasl tests 1341s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_25IJC3/gdbus/sasl/server/.dirs/home 1341s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_25IJC3/gdbus/sasl/server/.dirs/cache 1341s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_25IJC3/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_25IJC3/gdbus/sasl/server/.dirs/system-config2 1341s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_25IJC3/gdbus/sasl/server/.dirs/config 1341s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_25IJC3/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_25IJC3/gdbus/sasl/server/.dirs/system-data2 1341s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_25IJC3/gdbus/sasl/server/.dirs/data 1341s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_25IJC3/gdbus/sasl/server/.dirs/state 1341s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_25IJC3/gdbus/sasl/server/.dirs/runtime 1341s # New handshake: EXTERNAL with incorrect initial response 1341s # C:“AUTH EXTERNAL 30” 1341s # Expect: /^REJECTED.*$/ 1341s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1341s # New handshake: EXTERNAL without initial response, failing to authenticate 1341s # C:“AUTH EXTERNAL” 1341s # Expect: /^DATA$/ 1341s # S:“DATA” 1341s # C:“DATA 30” 1341s # Expect: /^REJECTED.*$/ 1341s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 1341s # New handshake: EXTERNAL with initial response 1341s # C:“AUTH EXTERNAL 31303030” 1341s # Expect: /^OK [0-9a-f]+$/ 1341s # S:“OK 9ba52092404948ccce8fde5c68badc06” 1341s # New handshake: EXTERNAL without initial response 1341s # C:“AUTH EXTERNAL” 1341s # Expect: /^DATA$/ 1341s # S:“DATA” 1341s # C:“DATA 31303030” 1341s # Expect: /^OK [0-9a-f]+$/ 1341s # S:“OK 9ba52092404948ccce8fde5c68badc06” 1341s # New handshake: EXTERNAL with empty authorization identity 1341s # C:“AUTH EXTERNAL” 1341s # Expect: /^DATA$/ 1341s # S:“DATA” 1341s # C:“DATA” 1341s # Expect: /^OK [0-9a-f]+$/ 1341s # S:“OK 9ba52092404948ccce8fde5c68badc06” 1341s # New handshake: EXTERNAL with empty authorization identity and whitespace 1341s # C:“AUTH EXTERNAL” 1341s # Expect: /^DATA$/ 1341s # S:“DATA” 1341s # C:“DATA ” 1341s # Expect: /^OK [0-9a-f]+$/ 1341s # S:“OK 9ba52092404948ccce8fde5c68badc06” 1341s ok 1 /gdbus/sasl/server 1341s # End of sasl tests 1341s # End of gdbus tests 1341s ok - glib/gdbus-sasl.test 1341s # Running test: glib/1bit-mutex.test 1341s TAP version 14 1341s # random seed: R02Sfb8634a4a265e124d21efecd2388e72a 1341s 1..2 1341s # Start of glib tests 1341s # Start of 1bit-mutex tests 1344s # Executing: glib/1bit-mutex.test 1345s ok 1 /glib/1bit-mutex/int 1345s # slow test /glib/1bit-mutex/int executed in 4.46 secs 1349s # Executing: glib/1bit-mutex.test 1350s ok 2 /glib/1bit-mutex/pointer 1350s # slow test /glib/1bit-mutex/pointer executed in 4.61 secs 1350s # End of 1bit-mutex tests 1350s # End of glib tests 1350s ok - glib/1bit-mutex.test 1350s # Running test: glib/portal-support-flatpak-network-only.test 1350s ok - glib/portal-support-flatpak-network-only.test 1350s TAP version 14 1350s # random seed: R02S8f2a00cc66c98122d15b1db8392ab23d 1350s 1..1 1350s # Start of portal-support tests 1350s # Start of flatpak tests 1350s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_J37GC3/portal-support/flatpak/network/.dirs/home 1350s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_J37GC3/portal-support/flatpak/network/.dirs/cache 1350s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_J37GC3/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_J37GC3/portal-support/flatpak/network/.dirs/system-config2 1350s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_J37GC3/portal-support/flatpak/network/.dirs/config 1350s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_J37GC3/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_J37GC3/portal-support/flatpak/network/.dirs/system-data2 1350s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_J37GC3/portal-support/flatpak/network/.dirs/data 1350s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_J37GC3/portal-support/flatpak/network/.dirs/state 1350s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_J37GC3/portal-support/flatpak/network/.dirs/runtime 1350s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_J37GC3/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 1350s ok 1 /portal-support/flatpak/network 1350s # End of flatpak tests 1350s # End of portal-support tests 1350s # Running test: glib/utils-c-17.test 1350s TAP version 14 1350s # random seed: R02S591c0ad50f82720ed33a36192795e9fa 1350s 1..41 1350s # Start of utils tests 1350s ok 1 /utils/language-names 1350s # Testing locale ‘en’ 1350s # Testing locale ‘sr@latin’ 1350s # Testing locale ‘fr_BE’ 1350s # Testing locale ‘sr_SR@latin’ 1350s # Testing locale ‘sr_SR@latin.UTF-8’ 1350s # Testing locale ‘sr@latin_invalid’ 1350s # Testing locale ‘sr.UTF-8@latin’ 1350s # Testing locale ‘sr.UTF-8_latin’ 1350s # Testing locale ‘sr.UTF-8@latin_invalid’ 1350s ok 2 /utils/locale-variants 1350s ok 3 /utils/version 1350s ok 4 /utils/appname 1350s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1350s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1350s ok - glib/utils-c-17.test 1350s # Running test: glib/singleton.test 1350s ok - glib/singleton.test 1350s # Running test: glib/cxx-17.test 1350s ok 5 /utils/prgname-thread-safety 1350s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1350s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1350s ok 6 /utils/tmpdir 1350s ok 7 /utils/basic_bits 1350s ok 8 /utils/bits 1350s ok 9 /utils/swap 1350s ok 10 /utils/find-program 1350s ok 11 /utils/find-program-for-path 1350s ok 12 /utils/debug 1350s ok 13 /utils/codeset 1350s ok 14 /utils/codeset2 1350s ok 15 /utils/console-charset 1350s ok 16 /utils/gettext 1350s ok 17 /utils/username 1350s ok 18 /utils/realname 1350s ok 19 /utils/hostname 1350s ok 20 /utils/xdgdirs 1350s ok 21 /utils/specialdir 1350s # NAME: Ubuntu 1350s ok 22 /utils/os-info 1350s ok 23 /utils/clear-pointer 1350s ok 24 /utils/clear-pointer-cast 1350s ok 25 /utils/take-pointer 1350s ok 26 /utils/clear-source 1350s ok 27 /utils/misc-mem 1350s # /utils/aligned-mem summary: Aligned memory allocator 1350s # Alignment must not be zero 1350s # Alignment must be a power of two 1350s # Alignment must be a multiple of sizeof(void*) 1350s ok 28 /utils/aligned-mem 1350s # /utils/free-sized summary: Check that g_free_sized() works 1350s ok 29 /utils/free-sized 1350s ok 30 /utils/nullify 1350s ok 31 /utils/atexit 1350s ok 32 /utils/check-setuid 1350s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1350s ok 33 /utils/int-limits 1350s ok 34 /utils/clear-list 1350s ok 35 /utils/clear-slist 1350s ok 36 /utils/steal-handle-id 1350s # Start of specialdir tests 1350s ok 37 /utils/specialdir/desktop 1350s # End of specialdir tests 1350s # Start of clear-pointer tests 1350s ok 38 /utils/clear-pointer/side-effects 1350s # End of clear-pointer tests 1350s # Start of aligned-mem tests 1350s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1350s ok 39 /utils/aligned-mem/alignment 1350s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1350s ok 40 /utils/aligned-mem/zeroed 1350s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1350s ok 41 /utils/aligned-mem/free-sized 1350s # Start of subprocess tests 1350s # End of subprocess tests 1350s # End of aligned-mem tests 1350s # End of utils tests 1350s TAP version 14 1350s # random seed: R02S1928c776fb128161d6a1c9bb22aeb11b 1350s 1..2 1350s # Start of gobject tests 1350s # Start of singleton tests 1350s ok 1 /gobject/singleton/construction 1350s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 1350s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 1350s ok 2 /gobject/singleton/construct-property 1350s # End of singleton tests 1350s # End of gobject tests 1350s TAP version 14 1350s # random seed: R02S35ff7105edd93c8a374804e0a50a041b 1350s 1..2 1350s ok - glib/cxx-17.test 1350s # Running test: glib/option-context.test 1350s # Start of gtask tests 1350s # 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. 1350s ok 1 /gtask/name 1350s # Start of name tests 1350s # 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. 1350s ok 2 /gtask/name/macro-wrapper 1350s # End of name tests 1350s # End of gtask tests 1350s TAP version 14 1350s # random seed: R02Se07984cbd8947fd8e20712755a6d8451 1350s 1..59 1350s # Start of option tests 1350s ok 1 /option/basic 1350s ok 2 /option/translate 1350s ok 3 /option/strict-posix 1350s # Testing command: program --double abc 1350s # Testing command: program --double 2e309 1350s # Testing command: program --int abc 1350s # Testing command: program --int 99999999999999999999999999999999999 1350s # Testing command: program --int64 abc 1350s # Testing command: program --int64 99999999999999999999999999999999999 1350s ok 4 /option/parsing-errors 1350s # Start of help tests 1350s ok 5 /option/help/options 1350s ok 6 /option/help/no-options 1350s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 1350s ok 7 /option/help/no-help-options 1350s # Usage: 1350s # /usr/libexec/installed-tests/glib/option-context [OPTION…] blabla 1350s # 1350s # Summary 1350s # 1350s # Help Options: 1350s # -h, --help Show help options 1350s # 1350s # Application Options: 1350s # -t, --test=Argument to use in test (deprecated) Test tests 1350s # --test2 Tests also 1350s # 1350s # Description 1350s # 1350s ok 8 /option/help/deprecated 1350s # End of help tests 1350s # Start of group tests 1350s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 1350s ok - glib/option-context.test 1350s # Running test: glib/enums.test 1350s ok - glib/enums.test 1350s # SUMMARY: total=330; passed=329; skipped=1; failed=0; user=283.6s; system=61.3s; maxrss=153600 1350s ok 9 /option/group/captions 1350s ok 10 /option/group/main 1350s ok 11 /option/group/error-hook 1350s ok 12 /option/group/parse 1350s # Start of captions tests 1350s # Start of subprocess tests 1350s # End of subprocess tests 1350s # End of captions tests 1350s # End of group tests 1350s # Start of restoration tests 1350s ok 13 /option/restoration/int 1350s ok 14 /option/restoration/string 1350s ok 15 /option/restoration/boolean 1350s # End of restoration tests 1350s # Start of arg tests 1350s ok 16 /option/arg/reverse-string 1350s ok 17 /option/arg/optional-int 1350s # Start of repetition tests 1350s ok 18 /option/arg/repetition/int 1350s ok 19 /option/arg/repetition/string 1350s ok 20 /option/arg/repetition/filename 1350s ok 21 /option/arg/repetition/double 1350s ok 22 /option/arg/repetition/locale 1350s ok 23 /option/arg/repetition/int64 1350s # End of repetition tests 1350s # Start of array tests 1350s ok 24 /option/arg/array/string 1350s # End of array tests 1350s # Start of callback tests 1350s ok 25 /option/arg/callback/string 1350s ok 26 /option/arg/callback/count 1350s ok 27 /option/arg/callback/optional1 1350s ok 28 /option/arg/callback/optional2 1350s ok 29 /option/arg/callback/optional3 1350s ok 30 /option/arg/callback/optional4 1350s ok 31 /option/arg/callback/optional5 1350s ok 32 /option/arg/callback/optional6 1350s ok 33 /option/arg/callback/optional7 1350s ok 34 /option/arg/callback/optional8 1350s # End of callback tests 1350s # Start of remaining tests 1350s ok 35 /option/arg/remaining/callback 1350s ok 36 /option/arg/remaining/callback-false 1350s ok 37 /option/arg/remaining/non-option 1350s ok 38 /option/arg/remaining/separator 1350s ok 39 /option/arg/remaining/array 1350s # End of remaining tests 1350s # Start of ignore tests 1350s ok 40 /option/arg/ignore/long 1350s ok 41 /option/arg/ignore/short 1350s ok 42 /option/arg/ignore/arg 1350s # End of ignore tests 1350s # Start of rest tests 1350s ok 43 /option/arg/rest/non-option 1350s ok 44 /option/arg/rest/separator1 1350s ok 45 /option/arg/rest/separator2 1350s ok 46 /option/arg/rest/separator3 1350s ok 47 /option/arg/rest/separator4 1350s ok 48 /option/arg/rest/separator5 1350s # End of rest tests 1350s # End of arg tests 1350s # Start of context tests 1350s ok 49 /option/context/add 1350s ok 50 /option/context/empty2 1350s ok 51 /option/context/empty3 1350s # End of context tests 1350s # Start of bug tests 1350s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 1350s ok 52 /option/bug/unknown-short 1350s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 1350s ok 53 /option/bug/lonely-dash 1350s ok 54 /option/bug/triple-dash 1350s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 1350s ok 55 /option/bug/missing-arg 1350s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 1350s ok 56 /option/bug/dash-arg 1350s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 1350s ok 57 /option/bug/short-remaining 1350s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 1350s ok 58 /option/bug/double-free 1350s ok 59 /option/bug/double-zero 1350s # End of bug tests 1350s # End of option tests 1350s TAP version 14 1350s # random seed: R02S555867c7916cfd60dc5491318d9142db 1350s 1..4 1350s # Start of enum tests 1350s ok 1 /enum/basic 1350s ok 2 /enum/define-type 1350s # End of enum tests 1350s # Start of flags tests 1350s ok 3 /flags/basic 1350s ok 4 /flags/define-type 1350s # End of flags tests 1350s autopkgtest [12:48:15]: test installed-tests: -----------------------] 1351s autopkgtest [12:48:16]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 1351s installed-tests PASS 1352s autopkgtest [12:48:17]: test closure-refcount: preparing testbed 1352s Reading package lists... 1352s Building dependency tree... 1352s Reading state information... 1352s Solving dependencies... 1352s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1353s autopkgtest [12:48:18]: test closure-refcount: [----------------------- 1353s Running test: glib/closure-refcount.test 1353s TAP version 14 1353s # random seed: R02S5ad0e0cd7539fe865052ca654ce6c151 1353s 1..1 1353s # Start of closure tests 1353s # Init 0x1949aec96db0 1353s # Yielding from main thread 1353s # Yielding from main thread 1353s # Yielding from main thread 1353s # Yielding from main thread 1353s # Yielding from main thread 1353s # Yielding from main thread 1353s # Yielding from main thread 1354s # Yielding from thread1 1354s # Yielding from main thread 1354s # Yielding from thread2 1354s # Yielding from main thread 1354s # Yielding from main thread 1354s # Yielding from main thread 1354s # Yielding from main thread 1354s # Yielding from main thread 1354s # Yielding from main thread 1354s # Yielding from main thread 1354s # Yielding from main thread 1354s # Yielding from thread2 1354s # Yielding from main thread 1354s # Yielding from thread1 1354s # Yielding from main thread 1354s # Yielding from main thread 1354s # Yielding from main thread 1354s # Yielding from main thread 1354s # Yielding from main thread 1354s # Yielding from main thread 1354s # Yielding from main thread 1354s # Yielding from thread2 1354s # Yielding from main thread 1354s # Yielding from main thread 1354s # Yielding from thread1 1355s # Yielding from main thread 1355s # Yielding from main thread 1355s # Yielding from main thread 1355s # Yielding from main thread 1355s # Yielding from main thread 1355s # Yielding from main thread 1355s # Yielding from thread2 1355s # Yielding from main thread 1355s # Yielding from thread1 1355s # Yielding from main thread 1355s # Yielding from main thread 1355s # Yielding from main thread 1355s # Yielding from main thread 1355s # Yielding from main thread 1355s # Yielding from main thread 1355s # Yielding from main thread 1355s # Yielding from thread2 1355s # Yielding from main thread 1355s # Yielding from main thread 1355s # Yielding from thread1 1355s # Yielding from main thread 1355s # Yielding from main thread 1355s # Yielding from main thread 1356s # Yielding from main thread 1356s # Yielding from main thread 1356s # Yielding from main thread 1356s # Yielding from main thread 1356s # Yielding from thread1 1356s # Yielding from main thread 1356s # Yielding from thread2 1356s # Yielding from main thread 1356s # Yielding from main thread 1356s # Yielding from main thread 1356s # Yielding from main thread 1356s # Yielding from main thread 1356s # Yielding from main thread 1356s # Yielding from main thread 1356s # Yielding from main thread 1356s # Yielding from thread1 1356s # Yielding from main thread 1356s # Yielding from thread2 1356s # Yielding from main thread 1356s # Yielding from main thread 1356s # Yielding from main thread 1356s # Yielding from main thread 1356s # Yielding from main thread 1357s # Yielding from main thread 1357s # Yielding from thread1 1357s # Yielding from main thread 1357s # Yielding from main thread 1357s # Yielding from main thread 1357s # Yielding from main thread 1357s # Yielding from thread2 1357s # Yielding from main thread 1357s # Yielding from main thread 1357s # Yielding from main thread 1357s # Yielding from main thread 1357s # Yielding from thread1 1357s # Yielding from main thread 1357s # Yielding from main thread 1357s # Yielding from main thread 1357s # Yielding from thread2 1357s # Yielding from main thread 1357s # Yielding from main thread 1357s # Yielding from main thread 1357s # Yielding from main thread 1357s # Yielding from main thread 1357s # Yielding from main thread 1357s # Yielding from thread1 1357s # Yielding from main thread 1358s # Yielding from main thread 1358s # Yielding from main thread 1358s # Yielding from thread2 1358s # Yielding from main thread 1358s # Yielding from main thread 1358s # Yielding from main thread 1358s # Yielding from main thread 1358s # Yielding from main thread 1358s # Yielding from main thread 1358s # Yielding from thread1 1358s # Yielding from main thread 1358s # Yielding from main thread 1358s # Yielding from thread2 1358s # Yielding from main thread 1358s # Yielding from main thread 1358s # Yielding from main thread 1358s # Yielding from main thread 1358s # Yielding from thread1 1358s # Yielding from main thread 1358s # Yielding from main thread 1358s # Stopping 1358s # Stopped 1358s ok 1 /closure/refcount 1358s # slow test /closure/refcount executed in 5.31 secs 1358s # End of closure tests 1358s PASS: glib/closure-refcount.test 1358s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=10.6s; system=0.0s; maxrss=4096 1359s autopkgtest [12:48:24]: test closure-refcount: -----------------------] 1359s autopkgtest [12:48:24]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 1359s closure-refcount PASS 1360s autopkgtest [12:48:25]: test debugcontroller: preparing testbed 1360s Reading package lists... 1360s Building dependency tree... 1360s Reading state information... 1360s Solving dependencies... 1360s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1361s autopkgtest [12:48:26]: test debugcontroller: [----------------------- 1361s Running test: glib/debugcontroller.test 1361s TAP version 14 1361s # random seed: R02S084815c862afe7d96b553890e2656811 1361s 1..3 1361s # Start of debug-controller tests 1361s # Start of dbus tests 1361s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 1361s # GLib-GIO-DEBUG: Debug output enabled 1361s # GLib-GIO-DEBUG: Debug output disabled 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s ok 1 /debug-controller/dbus/basic 1361s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s ok 2 /debug-controller/dbus/duplicate 1361s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1361s # GLib-GIO-DEBUG: Debug output enabled 1361s # GLib-GIO-DEBUG: Debug output disabled 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1361s ok 3 /debug-controller/dbus/properties 1361s # End of dbus tests 1361s # End of debug-controller tests 1361s PASS: glib/debugcontroller.test 1361s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=10240 1361s autopkgtest [12:48:26]: test debugcontroller: -----------------------] 1362s autopkgtest [12:48:27]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 1362s debugcontroller PASS 1362s autopkgtest [12:48:27]: test gdbus-server-auth: preparing testbed 1362s Reading package lists... 1363s Building dependency tree... 1363s Reading state information... 1363s Solving dependencies... 1363s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1363s autopkgtest [12:48:28]: test gdbus-server-auth: [----------------------- 1364s Running test: glib/gdbus-server-auth.test 1364s TAP version 14 1364s # random seed: R02S3b82f6b85f3da0a115dad0e06f2098b2 1364s 1..9 1364s # Start of gdbus tests 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/.dirs/runtime 1364s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_MOEEC3/gdbus-server-auth-E0EEC3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 1364s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_MOEEC3/gdbus-server-auth-E0EEC3/dbus-kjmHLCxK 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 39832 1364s ok 1 /gdbus/server-auth 1364s # Start of server-auth tests 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/abstract/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/abstract/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/abstract/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/abstract/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/abstract/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/abstract/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/abstract/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/abstract/.dirs/runtime 1364s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_MOEEC3/gdbus-server-auth-QE1DC3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 1364s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_MOEEC3/gdbus-server-auth-QE1DC3/dbus-kAkEcTcw 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 39832 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1364s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 39832 1364s ok 2 /gdbus/server-auth/abstract 1364s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/tcp/.dirs/home 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/tcp/.dirs/cache 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/tcp/.dirs/system-config2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/tcp/.dirs/config 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/tcp/.dirs/system-data2 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/tcp/.dirs/data 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/tcp/.dirs/state 1364s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/tcp/.dirs/runtime 1364s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 1364s # Connectable address: tcp:host=127.0.0.1,port=44275 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1364s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1364s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 1364s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 1364s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 1364s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1364s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1365s ok 3 /gdbus/server-auth/tcp 1365s # slow test /gdbus/server-auth/tcp executed in 0.94 secs 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/anonymous/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/anonymous/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/anonymous/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/anonymous/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/anonymous/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/anonymous/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/anonymous/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/anonymous/.dirs/runtime 1365s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_MOEEC3/gdbus-server-auth-5B44B3 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 1365s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_MOEEC3/gdbus-server-auth-5B44B3/dbus-sYUYtGUa 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 39832 1365s ok 4 /gdbus/server-auth/anonymous 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/external/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/external/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/external/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/external/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/external/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/external/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/external/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/external/.dirs/runtime 1365s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_MOEEC3/gdbus-server-auth-H9NEC3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1365s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_MOEEC3/gdbus-server-auth-H9NEC3/dbus-ki5vUKW2 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 39832 1365s ok 5 /gdbus/server-auth/external 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/sha1/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/sha1/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/sha1/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/sha1/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/sha1/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/sha1/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/sha1/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/sha1/.dirs/runtime 1365s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_MOEEC3/gdbus-server-auth-PX1DC3 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 1365s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_MOEEC3/gdbus-server-auth-PX1DC3/dbus-GlX657SN 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 39832 1365s ok 6 /gdbus/server-auth/sha1 1365s # Start of anonymous tests 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/anonymous/tcp/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/anonymous/tcp/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/anonymous/tcp/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/anonymous/tcp/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/anonymous/tcp/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/anonymous/tcp/.dirs/runtime 1365s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 1365s # Connectable address: tcp:host=127.0.0.1,port=38139 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1365s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1365s ok 7 /gdbus/server-auth/anonymous/tcp 1365s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.88 secs 1365s # End of anonymous tests 1365s # Start of external tests 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/external/require-same-user/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/external/require-same-user/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/external/require-same-user/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/external/require-same-user/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/external/require-same-user/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/external/require-same-user/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/external/require-same-user/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/external/require-same-user/.dirs/runtime 1365s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_MOEEC3/gdbus-server-auth-FZ94B3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 1365s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_MOEEC3/gdbus-server-auth-FZ94B3/dbus-huvflG2s 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 39832 1365s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1365s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 1365s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 1365s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=39832,uid=1000,gid=1000 1365s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 39832 1365s ok 8 /gdbus/server-auth/external/require-same-user 1365s # End of external tests 1365s # Start of sha1 tests 1365s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/sha1/tcp/.dirs/home 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/sha1/tcp/.dirs/cache 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/sha1/tcp/.dirs/system-config2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/sha1/tcp/.dirs/config 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/sha1/tcp/.dirs/system-data2 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/sha1/tcp/.dirs/data 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/sha1/tcp/.dirs/state 1365s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MOEEC3/gdbus/server-auth/sha1/tcp/.dirs/runtime 1365s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 1365s # Connectable address: tcp:host=127.0.0.1,port=41749 1366s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1366s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 1366s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1366s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1366s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 1366s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1366s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1366s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 1366s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1366s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1366s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 1366s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1366s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1366s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 1366s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1366s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1366s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 1366s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1366s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1366s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 1366s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1366s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1366s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 1366s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1366s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1366s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 1366s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1366s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1366s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 1366s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1366s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1366s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 1366s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1366s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1366s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 1366s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1366s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1366s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 1366s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1366s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1366s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 1366s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1366s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1366s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 1366s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1366s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1366s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 1366s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1366s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1366s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 1366s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1366s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1366s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 1366s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1366s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1366s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 1366s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1366s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1366s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 1366s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1366s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 1366s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 1366s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 1366s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 1366s ok 9 /gdbus/server-auth/sha1/tcp 1366s # slow test /gdbus/server-auth/sha1/tcp executed in 0.90 secs 1366s # End of sha1 tests 1366s # End of server-auth tests 1366s # End of gdbus tests 1366s PASS: glib/gdbus-server-auth.test 1366s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=8192 1367s autopkgtest [12:48:32]: test gdbus-server-auth: -----------------------] 1367s gdbus-server-auth PASS 1367s autopkgtest [12:48:32]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 1368s autopkgtest [12:48:33]: test gdbus-threading: preparing testbed 1368s Reading package lists... 1368s Building dependency tree... 1368s Reading state information... 1368s Solving dependencies... 1368s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1369s autopkgtest [12:48:34]: test gdbus-threading: [----------------------- 1369s Running test: glib/gdbus-threading.test 1369s TAP version 14 1369s # random seed: R02Sdc23aa9c28b9c9a98382d8acaeb57e42 1369s 1..3 1369s # Start of gdbus tests 1369s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_VQCKC3/gdbus/delivery-in-thread/.dirs/home 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_VQCKC3/gdbus/delivery-in-thread/.dirs/cache 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_VQCKC3/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_VQCKC3/gdbus/delivery-in-thread/.dirs/system-config2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_VQCKC3/gdbus/delivery-in-thread/.dirs/config 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_VQCKC3/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_VQCKC3/gdbus/delivery-in-thread/.dirs/system-data2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_VQCKC3/gdbus/delivery-in-thread/.dirs/data 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_VQCKC3/gdbus/delivery-in-thread/.dirs/state 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_VQCKC3/gdbus/delivery-in-thread/.dirs/runtime 1369s ok 1 /gdbus/delivery-in-thread 1369s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_VQCKC3/gdbus/method-calls-in-thread/.dirs/home 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_VQCKC3/gdbus/method-calls-in-thread/.dirs/cache 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_VQCKC3/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_VQCKC3/gdbus/method-calls-in-thread/.dirs/system-config2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_VQCKC3/gdbus/method-calls-in-thread/.dirs/config 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_VQCKC3/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_VQCKC3/gdbus/method-calls-in-thread/.dirs/system-data2 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_VQCKC3/gdbus/method-calls-in-thread/.dirs/data 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_VQCKC3/gdbus/method-calls-in-thread/.dirs/state 1369s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_VQCKC3/gdbus/method-calls-in-thread/.dirs/runtime 1370s ok 2 /gdbus/method-calls-in-thread 1370s # slow test /gdbus/method-calls-in-thread executed in 0.87 secs 1370s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_VQCKC3/gdbus/threaded-singleton/.dirs/home 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_VQCKC3/gdbus/threaded-singleton/.dirs/cache 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_VQCKC3/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_VQCKC3/gdbus/threaded-singleton/.dirs/system-config2 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_VQCKC3/gdbus/threaded-singleton/.dirs/config 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_VQCKC3/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_VQCKC3/gdbus/threaded-singleton/.dirs/system-data2 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_VQCKC3/gdbus/threaded-singleton/.dirs/data 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_VQCKC3/gdbus/threaded-singleton/.dirs/state 1370s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_VQCKC3/gdbus/threaded-singleton/.dirs/runtime 1370s # GLib-GIO-DEBUG: refcount of 0x695c58005480 is not right (2 rather than 1) in test_threaded_singleton(), sleeping 1371s ok 3 /gdbus/threaded-singleton 1371s # slow test /gdbus/threaded-singleton executed in 1.35 secs 1371s # End of gdbus tests 1371s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1371s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1371s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1371s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1371s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1371s PASS: glib/gdbus-threading.test 1371s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.6s; system=0.2s; maxrss=8192 1371s autopkgtest [12:48:36]: test gdbus-threading: -----------------------] 1372s autopkgtest [12:48:37]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 1372s gdbus-threading PASS 1372s autopkgtest [12:48:37]: test gmenumodel: preparing testbed 1372s Reading package lists... 1373s Building dependency tree... 1373s Reading state information... 1373s Solving dependencies... 1373s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1373s autopkgtest [12:48:38]: test gmenumodel: [----------------------- 1374s Running test: glib/gmenumodel.test 1374s TAP version 14 1374s # random seed: R02S8459adcb891e4151a9da1cf728e223fd 1374s 1..15 1374s # Start of gmenu tests 1375s ok 1 /gmenu/equality 1375s # slow test /gmenu/equality executed in 1.53 secs 1377s ok 2 /gmenu/random 1377s # slow test /gmenu/random executed in 1.68 secs 1377s ok 3 /gmenu/attributes 1377s ok 4 /gmenu/links 1377s ok 5 /gmenu/mutable 1377s ok 6 /gmenu/convenience 1377s ok 7 /gmenu/menuitem 1377s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 1377s ok 8 /gmenu/input-validation 1377s # Start of dbus tests 1378s ok 9 /gmenu/dbus/roundtrip 1378s # slow test /gmenu/dbus/roundtrip executed in 1.03 secs 1378s ok 10 /gmenu/dbus/subscriptions 1379s Executing: glib/gmenumodel.test 1380s ok 11 /gmenu/dbus/threaded 1380s # slow test /gmenu/dbus/threaded executed in 1.39 secs 1380s # Start of peer tests 1381s ok 12 /gmenu/dbus/peer/roundtrip 1381s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 1381s ok 13 /gmenu/dbus/peer/subscriptions 1381s # End of peer tests 1381s # Start of export tests 1381s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 1381s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 1381s ok 14 /gmenu/dbus/export/error-handling 1381s # End of export tests 1381s # End of dbus tests 1381s # Start of attributes tests 1381s ok 15 /gmenu/attributes/iterate 1381s # End of attributes tests 1381s # End of gmenu tests 1381s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1381s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1381s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1381s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1381s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1381s PASS: glib/gmenumodel.test 1381s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=5.6s; system=0.2s; maxrss=30720 1382s autopkgtest [12:48:47]: test gmenumodel: -----------------------] 1382s gmenumodel PASS 1382s autopkgtest [12:48:47]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 1382s autopkgtest [12:48:47]: test mainloop: preparing testbed 1383s Reading package lists... 1383s Building dependency tree... 1383s Reading state information... 1383s Solving dependencies... 1383s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1384s autopkgtest [12:48:49]: test mainloop: [----------------------- 1384s Running test: glib/mainloop.test 1384s TAP version 14 1384s # random seed: R02S368e30522c5072dc3dd23fbb77b159eb 1384s 1..47 1384s # Start of maincontext tests 1384s ok 1 /maincontext/basic 1384s # Add same-priority sources: 39 1384s # Find each source: 19 1384s # Remove in random order: 54 1384s ok 2 /maincontext/nsources_same_priority 1384s # Add different-priority sources: 45 1384s # Find each source: 19 1384s # Remove in random order: 59 1384s ok 3 /maincontext/nsources_different_priority 1384s # Add sources from threads: 88 1385s # Remove sources from threads: 258 1385s ok 4 /maincontext/nsources_threadpool 1385s ok 5 /maincontext/source_finalization 1385s # /maincontext/idle-once summary: Test g_idle_add_once() works 1385s ok 6 /maincontext/idle-once 1385s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 1385s ok 7 /maincontext/timeout-once 1385s # /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. 1385s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/3725 1385s ok 8 /maincontext/context-ref-in-source-callbackfuncs-unref 1385s # Start of source_finalization_from_source tests 1385s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1385s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1385s ok 9 /maincontext/source_finalization_from_source/0 1385s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1385s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1385s ok 10 /maincontext/source_finalization_from_source/1 1385s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1385s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1385s ok 11 /maincontext/source_finalization_from_source/2 1385s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1385s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1385s ok 12 /maincontext/source_finalization_from_source/3 1385s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1385s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1385s ok 13 /maincontext/source_finalization_from_source/4 1385s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1385s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1385s ok 14 /maincontext/source_finalization_from_source/5 1385s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1385s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1385s ok 15 /maincontext/source_finalization_from_source/6 1385s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1385s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1385s ok 16 /maincontext/source_finalization_from_source/7 1385s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1385s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1385s ok 17 /maincontext/source_finalization_from_source/8 1385s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 1385s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 1385s ok 18 /maincontext/source_finalization_from_source/9 1385s # End of source_finalization_from_source tests 1385s # Start of source_finalization_from_dispatch tests 1385s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1385s ok 19 /maincontext/source_finalization_from_dispatch/0 1385s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1385s ok 20 /maincontext/source_finalization_from_dispatch/1 1385s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 1385s ok 21 /maincontext/source_finalization_from_dispatch/2 1385s # End of source_finalization_from_dispatch tests 1385s # End of maincontext tests 1385s # Start of mainloop tests 1385s ok 22 /mainloop/basic 1385s ok 23 /mainloop/timeouts # SKIP Not running timing heavy test 1385s ok 24 /mainloop/priorities 1385s ok 25 /mainloop/invoke 1385s # slow test /mainloop/invoke executed in 0.50 secs 1386s ok 26 /mainloop/child_sources 1386s # slow test /mainloop/child_sources executed in 1.18 secs 1388s ok 27 /mainloop/recursive_child_sources 1388s # slow test /mainloop/recursive_child_sources executed in 2.17 secs 1388s ok 28 /mainloop/recursive_loop_child_sources 1388s ok 29 /mainloop/swapping_child_sources 1388s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 1388s ok 30 /mainloop/blocked_child_sources 1389s Executing: glib/mainloop.test 1389s ok 31 /mainloop/source_time 1389s # slow test /mainloop/source_time executed in 1.00 secs 1389s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 1389s ok 32 /mainloop/overflow 1390s ok 33 /mainloop/ready-time 1390s # slow test /mainloop/ready-time executed in 0.50 secs 1390s ok 34 /mainloop/wakeup 1390s ok 35 /mainloop/remove-invalid 1390s ok 36 /mainloop/unref-while-pending 1391s ok 37 /mainloop/unix-fd 1391s # slow test /mainloop/unix-fd executed in 1.47 secs 1391s ok 38 /mainloop/unix-fd-source 1391s ok 39 /mainloop/source-unix-fd-api 1392s ok 40 /mainloop/wait 1392s ok 41 /mainloop/unix-file-poll 1392s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 1392s ok 42 /mainloop/unix-fd-priority 1392s ok 43 /mainloop/nfds 1392s ok 44 /mainloop/steal-fd 1393s ok 45 /mainloop/simultaneous-source-context-destruction 1393s # slow test /mainloop/simultaneous-source-context-destruction executed in 1.32 secs 1393s # Start of ownerless-polling tests 1393s ok 46 /mainloop/ownerless-polling/attach-first 1393s ok 47 /mainloop/ownerless-polling/pop-first 1393s # End of ownerless-polling tests 1393s # End of mainloop tests 1393s PASS: glib/mainloop.test 1393s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.5s; system=2.8s; maxrss=30720 1393s autopkgtest [12:48:58]: test mainloop: -----------------------] 1394s mainloop PASS 1394s autopkgtest [12:48:59]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 1394s autopkgtest [12:48:59]: test memory-monitor-dbus: preparing testbed 1394s Reading package lists... 1394s Building dependency tree... 1394s Reading state information... 1395s Solving dependencies... 1395s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1395s autopkgtest [12:49:00]: test memory-monitor-dbus: [----------------------- 1396s Running test: glib/memory-monitor-dbus.test 1396s TAP version 13 1396s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 1396s # Received memory warning signal, level 1396s # Received memory warning signal, level 1396s # Received memory warning signal, level 1396s 1..1 1396s PASS: glib/memory-monitor-dbus.test 1396s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.0s; maxrss=36864 1396s autopkgtest [12:49:01]: test memory-monitor-dbus: -----------------------] 1397s autopkgtest [12:49:02]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 1397s memory-monitor-dbus PASS 1397s autopkgtest [12:49:02]: test socket: preparing testbed 1397s Reading package lists... 1397s Building dependency tree... 1397s Reading state information... 1397s Solving dependencies... 1397s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1398s autopkgtest [12:49:03]: test socket: [----------------------- 1398s Running test: glib/socket.test 1398s TAP version 14 1398s # random seed: R02Sed263bbdd6c54931f845f8967c6838a4 1398s 1..30 1398s # Start of socket tests 1399s ok 1 /socket/ipv4_sync 1399s # slow test /socket/ipv4_sync executed in 1.00 secs 1400s ok 2 /socket/ipv4_async 1400s # slow test /socket/ipv4_async executed in 1.00 secs 1400s ok 3 /socket/ipv6_sync 1400s ok 4 /socket/ipv6_async 1400s ok 5 /socket/ipv6_v4mapped 1401s ok 6 /socket/close_graceful 1401s # slow test /socket/close_graceful executed in 1.00 secs 1401s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 1401s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 1401s ok 8 /socket/fd_reuse 1401s ok 9 /socket/address 1401s ok 10 /socket/unix-from-fd 1401s ok 11 /socket/unix-connection 1401s ok 12 /socket/unix-connection-ancillary-data 1401s ok 13 /socket/source-postmortem 1401s ok 14 /socket/read_write 1401s ok 15 /socket/read_writev 1401s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 1401s ok 16 /socket/receive_bytes 1401s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 1401s ok 17 /socket/receive_bytes_from 1401s # Start of ipv4_sync tests 1401s ok 18 /socket/ipv4_sync/datagram 1401s # Start of datagram tests 1403s ok 19 /socket/ipv4_sync/datagram/timeouts 1403s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 1403s # End of datagram tests 1403s # End of ipv4_sync tests 1403s # Start of ipv6_sync tests 1403s ok 20 /socket/ipv6_sync/datagram 1403s # Start of datagram tests 1404s ok 21 /socket/ipv6_sync/datagram/timeouts 1404s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 1404s # End of datagram tests 1404s # End of ipv6_sync tests 1404s # Start of reuse tests 1404s ok 22 /socket/reuse/tcp 1404s ok 23 /socket/reuse/udp 1404s # End of reuse tests 1404s # Start of get_available tests 1404s Executing: glib/socket.test 1404s ok 24 /socket/get_available/datagram 1404s ok 25 /socket/get_available/stream 1404s # End of get_available tests 1404s # Start of credentials tests 1404s # Supported on this OS: GCredentials:linux-ucred:pid=0 1404s ok 26 /socket/credentials/tcp_client 1404s # Supported on this OS: GCredentials:linux-ucred:pid=0 1404s ok 27 /socket/credentials/tcp_server 1404s # Supported on this OS: GCredentials:linux-ucred:pid=65764,uid=1000,gid=1000 1404s ok 28 /socket/credentials/unix_socketpair 1404s # End of credentials tests 1404s # Start of accept tests 1404s # /socket/accept/cancelled summary: Calling g_socket_accept() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1404s ok 29 /socket/accept/cancelled 1404s # End of accept tests 1404s # Start of connect tests 1404s # /socket/connect/cancelled summary: Calling g_socket_connect() with a cancelled cancellable should return immediately regardless of whether the socket is blocking 1404s ok 30 /socket/connect/cancelled 1404s # End of connect tests 1404s # End of socket tests 1404s PASS: glib/socket.test 1404s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 1404s autopkgtest [12:49:09]: test socket: -----------------------] 1405s autopkgtest [12:49:10]: test socket: - - - - - - - - - - results - - - - - - - - - - 1405s socket PASS 1405s autopkgtest [12:49:10]: test testfilemonitor: preparing testbed 1405s Reading package lists... 1405s Building dependency tree... 1405s Reading state information... 1405s Solving dependencies... 1405s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1406s autopkgtest [12:49:11]: test testfilemonitor: [----------------------- 1406s Running test: glib/testfilemonitor.test 1406s TAP version 14 1406s # random seed: R02Sc6417cd530850f58b7118e15dcaa022b 1406s 1..8 1406s # Start of monitor tests 1406s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 1406s # Using temporary directory: /tmp/gio-test-testfilemonitor_9K90B3 1406s # Using GFileMonitor GInotifyFileMonitor 1408s ok 1 /monitor/atomic-replace 1408s # slow test /monitor/atomic-replace executed in 2.00 secs 1408s # Using temporary directory: /tmp/gio-test-testfilemonitor_LWT0B3 1408s # Using GFileMonitor GInotifyFileMonitor 1411s ok 2 /monitor/file-changes 1411s # slow test /monitor/file-changes executed in 2.50 secs 1411s # Using temporary directory: /tmp/gio-test-testfilemonitor_F98JC3 1411s # Using GFileMonitor GInotifyFileMonitor 1412s Executing: glib/testfilemonitor.test 1414s ok 3 /monitor/dir-monitor 1414s # slow test /monitor/dir-monitor executed in 3.50 secs 1414s # Using temporary directory: /tmp/gio-test-testfilemonitor_QB00B3 1414s # Using GFileMonitor GInotifyFileMonitor 1417s Executing: glib/testfilemonitor.test 1422s Executing: glib/testfilemonitor.test 1427s Executing: glib/testfilemonitor.test 1432s Executing: glib/testfilemonitor.test 1437s Executing: glib/testfilemonitor.test 1439s ok 4 /monitor/dir-not-existent 1439s # slow test /monitor/dir-not-existent executed in 25.02 secs 1439s # Using temporary directory: /tmp/gio-test-testfilemonitor_9HJ8B3 1439s # Using GFileMonitor 0 GInotifyFileMonitor 1439s # Using GFileMonitor 1 GInotifyFileMonitor 1441s ok 5 /monitor/cross-dir-moves 1441s # slow test /monitor/cross-dir-moves executed in 2.00 secs 1441s # Using temporary directory: /tmp/gio-test-testfilemonitor_OEI8B3 1441s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn’t cause a deadlock. 1441s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 1441s ok 6 /monitor/finalize-in-callback 1441s # Using temporary directory: /tmp/gio-test-testfilemonitor_9NQ8B3 1441s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 1441s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 1441s ok 7 /monitor/root 1441s # Start of file tests 1441s # Using temporary directory: /tmp/gio-test-testfilemonitor_ERQ8B3 1441s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 1441s # Running with hard link tests 1441s # Using GFileMonitor GInotifyFileMonitor 1442s Executing: glib/testfilemonitor.test 1445s # Event 0 at expected index 7 skipped because it is marked as optional 1445s # Event 2 at expected index 11 skipped because it is marked as optional 1445s ok 8 /monitor/file/hard-links 1445s # slow test /monitor/file/hard-links executed in 3.50 secs 1445s # End of file tests 1445s # End of monitor tests 1445s PASS: glib/testfilemonitor.test 1445s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=8192 1445s autopkgtest [12:49:50]: test testfilemonitor: -----------------------] 1446s testfilemonitor PASS 1446s autopkgtest [12:49:51]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 1446s autopkgtest [12:49:51]: test thread-pool-slow: preparing testbed 1446s Reading package lists... 1446s Building dependency tree... 1446s Reading state information... 1446s Solving dependencies... 1446s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1447s autopkgtest [12:49:52]: test thread-pool-slow: [----------------------- 1447s Running test: glib/thread-pool-slow.test 1447s TAP version 14 1447s # random seed: R02S3e208d045245c1d3702ce6fa1dd7cfe5 1447s 1..7 1447s # Start of threadpool tests 1447s ok 1 /threadpool/functions 1448s ok 2 /threadpool/stop-unused 1448s # slow test /threadpool/stop-unused executed in 0.51 secs 1448s ok 3 /threadpool/pools 1448s # [unsorted] ===> pushed new thread with id:73, number of threads:1, unprocessed:1 1448s # [unsorted] ===> pushed new thread with id:44, number of threads:2, unprocessed:2 1448s # [unsorted] ===> pushed new thread with id:32, number of threads:3, unprocessed:3 1448s # [unsorted] ===> pushed new thread with id:43, number of threads:4, unprocessed:4 1448s # [unsorted] ===> pushed new thread with id:14, number of threads:5, unprocessed:5 1448s # [unsorted] ===> pushed new thread with id:56, number of threads:6, unprocessed:6 1448s # [unsorted] ===> pushed new thread with id:21, number of threads:7, unprocessed:7 1448s # [unsorted] ===> pushed new thread with id:19, number of threads:8, unprocessed:8 1448s # [unsorted] ===> pushed new thread with id:72, number of threads:9, unprocessed:9 1448s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:9 1448s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:1 1448s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:2 1448s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:3 1448s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:4 1448s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:5 1448s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:6 1448s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:7 1448s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:8 1448s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:9 1448s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:10 1448s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:11 1448s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:12 1448s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:13 1448s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:14 1448s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:15 1448s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:16 1448s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:17 1448s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:18 1448s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:19 1448s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:20 1448s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:21 1448s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:22 1448s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:23 1448s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:24 1448s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:25 1448s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:26 1448s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:27 1448s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:28 1448s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:29 1448s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:30 1448s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:31 1448s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:32 1448s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:33 1448s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:34 1448s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:35 1448s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:36 1448s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:37 1448s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:38 1448s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:39 1448s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:40 1448s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:41 1448s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:42 1448s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:43 1448s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:44 1448s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:45 1448s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:46 1448s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:47 1448s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:48 1448s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:49 1448s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:50 1448s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:51 1448s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:52 1448s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:53 1448s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:54 1448s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:55 1448s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:56 1448s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:57 1448s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:58 1448s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:59 1448s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:60 1448s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:61 1448s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:62 1448s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:63 1448s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:64 1448s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:65 1448s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:66 1448s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:67 1448s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:68 1448s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:69 1448s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:70 1448s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:71 1448s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:72 1448s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:73 1448s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:74 1448s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:75 1448s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:76 1448s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:77 1448s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:78 1448s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:79 1448s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:80 1448s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:81 1448s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:82 1448s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:83 1448s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:84 1448s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:85 1448s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:86 1448s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:87 1448s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:88 1448s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:89 1448s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:90 1448s ok 4 /threadpool/no-sort 1448s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:1 1448s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:2 1448s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:3 1448s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:4 1448s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:5 1448s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:6 1448s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:7 1448s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:8 1448s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:9 1448s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:10 1448s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:11 1448s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:12 1448s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:13 1448s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:14 1448s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:15 1448s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:16 1448s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:17 1448s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:18 1448s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:19 1448s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:20 1448s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:21 1448s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:22 1448s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:23 1448s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:24 1448s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:25 1448s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:26 1448s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:27 1448s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:28 1448s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:29 1448s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:30 1448s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:31 1448s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:32 1448s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:33 1448s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:34 1448s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:35 1448s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:36 1448s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:37 1448s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:38 1448s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:39 1448s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:40 1448s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:41 1448s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:42 1448s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:43 1448s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:44 1448s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:45 1448s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:46 1448s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:47 1448s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:48 1448s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:49 1448s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:50 1448s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:51 1448s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:52 1448s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:53 1448s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:54 1448s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:55 1448s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:56 1448s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:57 1448s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:58 1448s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:59 1448s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:60 1448s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:61 1448s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:62 1448s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:63 1448s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:64 1448s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:65 1448s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:66 1448s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:67 1448s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:68 1448s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:69 1448s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:70 1448s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:71 1448s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:72 1448s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:73 1448s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:74 1448s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:75 1448s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:76 1448s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:77 1448s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:78 1448s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:79 1448s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:80 1448s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:81 1448s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:82 1448s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:83 1448s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:84 1448s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:85 1448s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:86 1448s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:87 1448s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:88 1448s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:89 1448s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:90 1448s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:91 1448s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:92 1448s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:93 1448s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:94 1448s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:95 1448s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:96 1448s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:97 1448s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:98 1448s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:99 1448s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:100 1448s # Starting thread pool processing 1448s ok 5 /threadpool/sort 1449s ok 6 /threadpool/stop-unused-multiple 1449s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 1449s # Pool idle thread count: 0, unprocessed jobs: 50 1449s # Pool idle thread count: 0, unprocessed jobs: 0 1449s # Pool idle thread count: 0, unprocessed jobs: 0 1450s # Pool idle thread count: 10, unprocessed jobs: 0 1450s # Pool idle thread count: 10, unprocessed jobs: 0 1450s # Pool idle thread count: 10, unprocessed jobs: 0 1450s # Pool idle thread count: 10, unprocessed jobs: 0 1451s # Pool idle thread count: 10, unprocessed jobs: 0 1451s # Pool idle thread count: 10, unprocessed jobs: 0 1451s # Pool idle thread count: 10, unprocessed jobs: 0 1451s # Pool idle thread count: 10, unprocessed jobs: 0 1452s # Pool idle thread count: 10, unprocessed jobs: 0 1452s # Pool idle thread count: 10, unprocessed jobs: 0 1452s # Pool idle thread count: 10, unprocessed jobs: 0 1452s # Pool idle thread count: 10, unprocessed jobs: 0 1453s # Pool idle thread count: 10, unprocessed jobs: 0 1453s # Pool idle thread count: 10, unprocessed jobs: 0 1453s Executing: glib/thread-pool-slow.test 1453s # Pool idle thread count: 10, unprocessed jobs: 0 1453s # Pool idle thread count: 10, unprocessed jobs: 0 1454s # Pool idle thread count: 10, unprocessed jobs: 0 1454s # Pool idle thread count: 10, unprocessed jobs: 0 1454s # Pool idle thread count: 10, unprocessed jobs: 0 1454s # Pool idle thread count: 10, unprocessed jobs: 0 1455s # Pool idle thread count: 10, unprocessed jobs: 0 1455s # Pool idle thread count: 10, unprocessed jobs: 0 1455s # Pool idle thread count: 10, unprocessed jobs: 0 1455s # Pool idle thread count: 10, unprocessed jobs: 0 1456s # Pool idle thread count: 10, unprocessed jobs: 0 1456s # Pool idle thread count: 10, unprocessed jobs: 0 1456s # Pool idle thread count: 10, unprocessed jobs: 0 1456s # Pool idle thread count: 10, unprocessed jobs: 0 1457s # Pool idle thread count: 10, unprocessed jobs: 0 1457s # Pool idle thread count: 10, unprocessed jobs: 0 1457s # Pool idle thread count: 10, unprocessed jobs: 0 1457s # Pool idle thread count: 10, unprocessed jobs: 0 1458s # Pool idle thread count: 10, unprocessed jobs: 2 1458s # Pool idle thread count: 10, unprocessed jobs: 2 1458s # Pool idle thread count: 8, unprocessed jobs: 0 1458s # Pool idle thread count: 8, unprocessed jobs: 0 1458s Executing: glib/thread-pool-slow.test 1458s # Pool idle thread count: 10, unprocessed jobs: 0 1458s # Pool idle thread count: 10, unprocessed jobs: 0 1459s # Pool idle thread count: 10, unprocessed jobs: 0 1459s # Pool idle thread count: 10, unprocessed jobs: 0 1459s # Pool idle thread count: 10, unprocessed jobs: 0 1459s # Pool idle thread count: 10, unprocessed jobs: 0 1460s # Pool idle thread count: 2, unprocessed jobs: 0 1460s # Pool idle thread count: 2, unprocessed jobs: 0 1460s # Pool idle thread count: 2, unprocessed jobs: 0 1460s # Pool idle thread count: 2, unprocessed jobs: 0 1461s # Pool idle thread count: 2, unprocessed jobs: 0 1461s # Pool idle thread count: 2, unprocessed jobs: 0 1461s # Pool idle thread count: 2, unprocessed jobs: 0 1461s # Pool idle thread count: 2, unprocessed jobs: 0 1462s # Pool idle thread count: 2, unprocessed jobs: 0 1462s # Pool idle thread count: 2, unprocessed jobs: 0 1462s # Pool idle thread count: 2, unprocessed jobs: 0 1462s # Pool idle thread count: 2, unprocessed jobs: 0 1463s # Pool idle thread count: 2, unprocessed jobs: 0 1463s # Pool idle thread count: 2, unprocessed jobs: 0 1463s Executing: glib/thread-pool-slow.test 1463s # Pool idle thread count: 2, unprocessed jobs: 0 1463s # Pool idle thread count: 2, unprocessed jobs: 0 1464s # Pool idle thread count: 2, unprocessed jobs: 0 1464s # Pool idle thread count: 2, unprocessed jobs: 0 1464s # Pool idle thread count: 2, unprocessed jobs: 0 1464s # Pool idle thread count: 2, unprocessed jobs: 0 1465s # Pool idle thread count: 2, unprocessed jobs: 0 1465s # Pool idle thread count: 2, unprocessed jobs: 0 1465s # Pool idle thread count: 2, unprocessed jobs: 0 1465s # Pool idle thread count: 2, unprocessed jobs: 0 1466s # Pool idle thread count: 2, unprocessed jobs: 0 1466s # Pool idle thread count: 2, unprocessed jobs: 0 1466s # Pool idle thread count: 2, unprocessed jobs: 0 1466s # Pool idle thread count: 2, unprocessed jobs: 0 1467s # Pool idle thread count: 2, unprocessed jobs: 0 1467s # Pool idle thread count: 2, unprocessed jobs: 0 1467s # Pool idle thread count: 2, unprocessed jobs: 0 1467s # Pool idle thread count: 2, unprocessed jobs: 0 1468s # Pool idle thread count: 2, unprocessed jobs: 0 1468s # Pool idle thread count: 2, unprocessed jobs: 0 1468s Executing: glib/thread-pool-slow.test 1468s ok 7 /threadpool/idle-time 1468s # slow test /threadpool/idle-time executed in 19.52 secs 1468s # End of threadpool tests 1468s PASS: glib/thread-pool-slow.test 1468s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=10240 1468s autopkgtest [12:50:13]: test thread-pool-slow: -----------------------] 1469s thread-pool-slow PASS 1469s autopkgtest [12:50:14]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 1469s autopkgtest [12:50:14]: test threadtests: preparing testbed 1469s Reading package lists... 1470s Building dependency tree... 1470s Reading state information... 1470s Solving dependencies... 1470s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1470s autopkgtest [12:50:15]: test threadtests: [----------------------- 1471s Running test: glib/threadtests.test 1471s TAP version 14 1471s # random seed: R02Se3982bbb5d17e732a5d3efd3d740a479 1471s 1..5 1471s # Start of GObject tests 1471s ok 1 /GObject/threaded-object-init 1472s ok 2 /GObject/threaded-weak-ref 1472s # slow test /GObject/threaded-weak-ref executed in 0.96 secs 1472s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 1472s # /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 1472s ok 3 /GObject/threaded-toggle-notify 1472s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 1472s # Start of threaded-weak-ref tests 1472s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 1472s # /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. 1472s ok 5 /GObject/threaded-weak-ref/on-finalization 1472s # End of threaded-weak-ref tests 1472s # End of GObject tests 1472s PASS: glib/threadtests.test 1472s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.6s; system=0.6s; maxrss=4096 1472s autopkgtest [12:50:17]: test threadtests: -----------------------] 1473s threadtests PASS 1473s autopkgtest [12:50:18]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 1473s autopkgtest [12:50:18]: test timeout: preparing testbed 1473s Reading package lists... 1473s Building dependency tree... 1473s Reading state information... 1473s Solving dependencies... 1474s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1474s autopkgtest [12:50:19]: test timeout: [----------------------- 1474s Running test: glib/timeout.test 1474s TAP version 14 1474s # random seed: R02Sa732e943e55355c453dfa390f60f75c4 1474s 1..5 1474s # Start of timeout tests 1474s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1477s ok 1 /timeout/seconds 1477s # slow test /timeout/seconds executed in 2.10 secs 1479s ok 2 /timeout/seconds-once 1479s # slow test /timeout/seconds-once executed in 2.10 secs 1479s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1480s Executing: glib/timeout.test 1481s ok 3 /timeout/weeks-overflow 1481s # slow test /timeout/weeks-overflow executed in 2.10 secs 1481s ok 4 /timeout/far-future-ready-time 1485s Executing: glib/timeout.test 1490s Executing: glib/timeout.test 1491s ok 5 /timeout/rounding 1491s # slow test /timeout/rounding executed in 10.01 secs 1491s # End of timeout tests 1491s PASS: glib/timeout.test 1491s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 1491s autopkgtest [12:50:36]: test timeout: -----------------------] 1492s autopkgtest [12:50:37]: test timeout: - - - - - - - - - - results - - - - - - - - - - 1492s timeout PASS 1492s autopkgtest [12:50:37]: test timer: preparing testbed 1492s Reading package lists... 1492s Building dependency tree... 1492s Reading state information... 1492s Solving dependencies... 1492s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1493s autopkgtest [12:50:38]: test timer: [----------------------- 1493s Running test: glib/timer.test 1493s TAP version 14 1493s # random seed: R02Sca32f35ddab9e32b1887f85d72792b52 1493s 1..10 1493s # Start of timer tests 1493s ok 1 /timer/basic 1493s ok 2 /timer/stop 1493s ok 3 /timer/continue 1493s ok 4 /timer/reset 1493s ok 5 /timer/is_active 1493s # End of timer tests 1493s # Start of timeval tests 1493s ok 6 /timeval/add 1493s ok 7 /timeval/from-iso8601 1493s ok 8 /timeval/to-iso8601 1493s # Start of to-iso8601 tests 1493s ok 9 /timeval/to-iso8601/overflow 1493s # End of to-iso8601 tests 1493s # End of timeval tests 1493s # Start of usleep tests 1493s ok 10 /usleep/with-zero-wait 1493s # End of usleep tests 1493s PASS: glib/timer.test 1493s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2048 1494s autopkgtest [12:50:39]: test timer: -----------------------] 1494s autopkgtest [12:50:39]: test timer: - - - - - - - - - - results - - - - - - - - - - 1494s timer PASS 1494s autopkgtest [12:50:39]: test 1065022-futureproofing: preparing testbed 1501s Creating nova instance adt-questing-ppc64el-glib2.0-20250905-122545-juju-7f2275-prod-proposed-migration-environment-20-1e415192-182c-47d6-9ea1-bc370a3005ce from image adt/ubuntu-questing-ppc64el-server-20250904.img (UUID e972553c-60b1-4e41-bd5d-505dae6af81e)... 1558s autopkgtest [12:51:43]: testbed dpkg architecture: ppc64el 1558s autopkgtest [12:51:43]: testbed apt version: 3.1.5ubuntu1 1559s autopkgtest [12:51:44]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1559s autopkgtest [12:51:44]: testbed release detected to be: questing 1559s autopkgtest [12:51:44]: updating testbed package index (apt update) 1560s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [265 kB] 1560s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease 1560s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease 1560s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease 1561s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/restricted Sources [1748 B] 1561s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [236 kB] 1561s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [14.1 kB] 1561s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [38.3 kB] 1561s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el Packages [65.4 kB] 1561s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/main ppc64el c-n-f Metadata [2600 B] 1561s Get:11 http://ftpmaster.internal/ubuntu questing-proposed/restricted ppc64el c-n-f Metadata [120 B] 1561s Get:12 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el Packages [258 kB] 1561s Get:13 http://ftpmaster.internal/ubuntu questing-proposed/universe ppc64el c-n-f Metadata [7024 B] 1561s Get:14 http://ftpmaster.internal/ubuntu questing-proposed/multiverse ppc64el Packages [4600 B] 1561s Get:15 http://ftpmaster.internal/ubuntu questing-proposed/multiverse ppc64el c-n-f Metadata [300 B] 1562s Fetched 893 kB in 1s (807 kB/s) 1563s Reading package lists... 1563s Failed to check for VM: Permission denied 1563s autopkgtest [12:51:48]: upgrading testbed (apt dist-upgrade and autopurge) 1564s Reading package lists... 1564s Building dependency tree... 1564s Reading state information... 1564s Calculating upgrade... 1564s The following NEW packages will be installed: 1564s linux-headers-6.17.0-3 linux-headers-6.17.0-3-generic 1564s linux-image-6.17.0-3-generic linux-modules-6.17.0-3-generic wireless-regdb 1564s The following packages will be upgraded: 1564s bpftool bpftrace coreutils coreutils-from-gnu cryptsetup-bin curl 1564s dracut-install findutils libcryptsetup12 libcurl3t64-gnutls libcurl4t64 1564s libfreetype6 linux-generic linux-headers-generic linux-headers-virtual 1564s linux-image-generic linux-image-virtual linux-libc-dev linux-perf 1564s linux-tools-common linux-virtual 1564s 21 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 1564s Need to get 238 MB of archives. 1564s After this operation, 327 MB of additional disk space will be used. 1564s Get:1 http://ftpmaster.internal/ubuntu questing/main ppc64el coreutils all 9.5-1ubuntu2+0.0.0~ubuntu22 [2942 B] 1564s Get:2 http://ftpmaster.internal/ubuntu questing/main ppc64el coreutils-from-gnu all 0.0.0~ubuntu22 [6762 B] 1564s Get:3 http://ftpmaster.internal/ubuntu questing/main ppc64el findutils ppc64el 4.10.0-3build1 [337 kB] 1565s Get:4 http://ftpmaster.internal/ubuntu questing/main ppc64el libcryptsetup12 ppc64el 2:2.8.0-1ubuntu2 [404 kB] 1565s Get:5 http://ftpmaster.internal/ubuntu questing/main ppc64el bpftool ppc64el 7.7.0+6.17.0-3.3 [1238 kB] 1565s Get:6 http://ftpmaster.internal/ubuntu questing/main ppc64el bpftrace ppc64el 0.23.5-1ubuntu1 [2112 kB] 1565s Get:7 http://ftpmaster.internal/ubuntu questing/main ppc64el cryptsetup-bin ppc64el 2:2.8.0-1ubuntu2 [250 kB] 1565s Get:8 http://ftpmaster.internal/ubuntu questing/main ppc64el curl ppc64el 8.14.1-1ubuntu3 [272 kB] 1565s Get:9 http://ftpmaster.internal/ubuntu questing/main ppc64el libcurl4t64 ppc64el 8.14.1-1ubuntu3 [536 kB] 1565s Get:10 http://ftpmaster.internal/ubuntu questing/main ppc64el dracut-install ppc64el 108-3ubuntu3 [49.0 kB] 1565s Get:11 http://ftpmaster.internal/ubuntu questing/main ppc64el libcurl3t64-gnutls ppc64el 8.14.1-1ubuntu3 [528 kB] 1565s Get:12 http://ftpmaster.internal/ubuntu questing/main ppc64el libfreetype6 ppc64el 2.13.3+dfsg-1build1 [566 kB] 1565s Get:13 http://ftpmaster.internal/ubuntu questing/main ppc64el wireless-regdb all 2025.07.10-0ubuntu1 [7454 B] 1565s Get:14 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-modules-6.17.0-3-generic ppc64el 6.17.0-3.3 [144 MB] 1569s Get:15 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-image-6.17.0-3-generic ppc64el 6.17.0-3.3 [64.4 MB] 1570s Get:16 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-generic ppc64el 6.17.0-3.3 [1688 B] 1570s Get:17 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-image-generic ppc64el 6.17.0-3.3 [11.7 kB] 1570s Get:18 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-virtual ppc64el 6.17.0-3.3 [1690 B] 1570s Get:19 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-image-virtual ppc64el 6.17.0-3.3 [11.7 kB] 1570s Get:20 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-headers-virtual ppc64el 6.17.0-3.3 [1642 B] 1570s Get:21 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-headers-6.17.0-3 all 6.17.0-3.3 [14.7 MB] 1571s Get:22 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-headers-6.17.0-3-generic ppc64el 6.17.0-3.3 [4190 kB] 1571s Get:23 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-headers-generic ppc64el 6.17.0-3.3 [11.6 kB] 1571s Get:24 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-libc-dev ppc64el 6.17.0-3.3 [1797 kB] 1571s Get:25 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-perf ppc64el 6.17.0-3.3 [2738 kB] 1571s Get:26 http://ftpmaster.internal/ubuntu questing/main ppc64el linux-tools-common all 6.17.0-3.3 [340 kB] 1572s Fetched 238 MB in 7s (33.4 MB/s) 1572s (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 ... 117956 files and directories currently installed.) 1572s Preparing to unpack .../coreutils_9.5-1ubuntu2+0.0.0~ubuntu22_all.deb ... 1572s Unpacking coreutils (9.5-1ubuntu2+0.0.0~ubuntu22) over (9.5-1ubuntu2+0.0.0~ubuntu20) ... 1572s Setting up coreutils (9.5-1ubuntu2+0.0.0~ubuntu22) ... 1572s (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 ... 117956 files and directories currently installed.) 1572s Preparing to unpack .../coreutils-from-gnu_0.0.0~ubuntu22_all.deb ... 1572s Unpacking coreutils-from-gnu (0.0.0~ubuntu22) over (0.0.0~ubuntu20) ... 1573s Setting up coreutils-from-gnu (0.0.0~ubuntu22) ... 1573s (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 ... 117956 files and directories currently installed.) 1573s Preparing to unpack .../findutils_4.10.0-3build1_ppc64el.deb ... 1573s Unpacking findutils (4.10.0-3build1) over (4.10.0-3) ... 1573s Setting up findutils (4.10.0-3build1) ... 1573s (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 ... 117956 files and directories currently installed.) 1573s Preparing to unpack .../00-libcryptsetup12_2%3a2.8.0-1ubuntu2_ppc64el.deb ... 1573s Unpacking libcryptsetup12:ppc64el (2:2.8.0-1ubuntu2) over (2:2.8.0-1ubuntu1) ... 1573s Preparing to unpack .../01-bpftool_7.7.0+6.17.0-3.3_ppc64el.deb ... 1573s Unpacking bpftool (7.7.0+6.17.0-3.3) over (7.6.0+6.16.0-16.16) ... 1573s Preparing to unpack .../02-bpftrace_0.23.5-1ubuntu1_ppc64el.deb ... 1573s Unpacking bpftrace (0.23.5-1ubuntu1) over (0.23.2-1ubuntu2) ... 1573s Preparing to unpack .../03-cryptsetup-bin_2%3a2.8.0-1ubuntu2_ppc64el.deb ... 1573s Unpacking cryptsetup-bin (2:2.8.0-1ubuntu2) over (2:2.8.0-1ubuntu1) ... 1573s Preparing to unpack .../04-curl_8.14.1-1ubuntu3_ppc64el.deb ... 1573s Unpacking curl (8.14.1-1ubuntu3) over (8.14.1-1ubuntu2) ... 1573s Preparing to unpack .../05-libcurl4t64_8.14.1-1ubuntu3_ppc64el.deb ... 1573s Unpacking libcurl4t64:ppc64el (8.14.1-1ubuntu3) over (8.14.1-1ubuntu2) ... 1573s Preparing to unpack .../06-dracut-install_108-3ubuntu3_ppc64el.deb ... 1573s Unpacking dracut-install (108-3ubuntu3) over (108-3ubuntu2) ... 1573s Preparing to unpack .../07-libcurl3t64-gnutls_8.14.1-1ubuntu3_ppc64el.deb ... 1573s Unpacking libcurl3t64-gnutls:ppc64el (8.14.1-1ubuntu3) over (8.14.1-1ubuntu2) ... 1573s Preparing to unpack .../08-libfreetype6_2.13.3+dfsg-1build1_ppc64el.deb ... 1573s Unpacking libfreetype6:ppc64el (2.13.3+dfsg-1build1) over (2.13.3+dfsg-1) ... 1573s Selecting previously unselected package wireless-regdb. 1573s Preparing to unpack .../09-wireless-regdb_2025.07.10-0ubuntu1_all.deb ... 1573s Unpacking wireless-regdb (2025.07.10-0ubuntu1) ... 1573s Selecting previously unselected package linux-modules-6.17.0-3-generic. 1573s Preparing to unpack .../10-linux-modules-6.17.0-3-generic_6.17.0-3.3_ppc64el.deb ... 1573s Unpacking linux-modules-6.17.0-3-generic (6.17.0-3.3) ... 1574s Selecting previously unselected package linux-image-6.17.0-3-generic. 1574s Preparing to unpack .../11-linux-image-6.17.0-3-generic_6.17.0-3.3_ppc64el.deb ... 1574s Unpacking linux-image-6.17.0-3-generic (6.17.0-3.3) ... 1575s Preparing to unpack .../12-linux-generic_6.17.0-3.3_ppc64el.deb ... 1575s Unpacking linux-generic (6.17.0-3.3) over (6.16.0-16.16) ... 1575s Preparing to unpack .../13-linux-image-generic_6.17.0-3.3_ppc64el.deb ... 1575s Unpacking linux-image-generic (6.17.0-3.3) over (6.16.0-16.16) ... 1575s Preparing to unpack .../14-linux-virtual_6.17.0-3.3_ppc64el.deb ... 1575s Unpacking linux-virtual (6.17.0-3.3) over (6.16.0-16.16) ... 1575s Preparing to unpack .../15-linux-image-virtual_6.17.0-3.3_ppc64el.deb ... 1575s Unpacking linux-image-virtual (6.17.0-3.3) over (6.16.0-16.16) ... 1575s Preparing to unpack .../16-linux-headers-virtual_6.17.0-3.3_ppc64el.deb ... 1575s Unpacking linux-headers-virtual (6.17.0-3.3) over (6.16.0-16.16) ... 1575s Selecting previously unselected package linux-headers-6.17.0-3. 1575s Preparing to unpack .../17-linux-headers-6.17.0-3_6.17.0-3.3_all.deb ... 1575s Unpacking linux-headers-6.17.0-3 (6.17.0-3.3) ... 1577s Selecting previously unselected package linux-headers-6.17.0-3-generic. 1577s Preparing to unpack .../18-linux-headers-6.17.0-3-generic_6.17.0-3.3_ppc64el.deb ... 1577s Unpacking linux-headers-6.17.0-3-generic (6.17.0-3.3) ... 1577s Preparing to unpack .../19-linux-headers-generic_6.17.0-3.3_ppc64el.deb ... 1577s Unpacking linux-headers-generic (6.17.0-3.3) over (6.16.0-16.16) ... 1577s Preparing to unpack .../20-linux-libc-dev_6.17.0-3.3_ppc64el.deb ... 1577s Unpacking linux-libc-dev:ppc64el (6.17.0-3.3) over (6.16.0-16.16) ... 1578s Preparing to unpack .../21-linux-perf_6.17.0-3.3_ppc64el.deb ... 1578s Unpacking linux-perf (6.17.0-3.3) over (6.16.0-16.16) ... 1578s Preparing to unpack .../22-linux-tools-common_6.17.0-3.3_all.deb ... 1578s Unpacking linux-tools-common (6.17.0-3.3) over (6.16.0-16.16) ... 1578s Setting up libcurl4t64:ppc64el (8.14.1-1ubuntu3) ... 1578s Setting up bpftrace (0.23.5-1ubuntu1) ... 1578s Setting up bpftool (7.7.0+6.17.0-3.3) ... 1578s Setting up wireless-regdb (2025.07.10-0ubuntu1) ... 1578s Setting up libcurl3t64-gnutls:ppc64el (8.14.1-1ubuntu3) ... 1578s Setting up linux-libc-dev:ppc64el (6.17.0-3.3) ... 1578s Setting up linux-perf (6.17.0-3.3) ... 1578s Setting up libfreetype6:ppc64el (2.13.3+dfsg-1build1) ... 1578s Setting up dracut-install (108-3ubuntu3) ... 1578s Setting up libcryptsetup12:ppc64el (2:2.8.0-1ubuntu2) ... 1578s Setting up curl (8.14.1-1ubuntu3) ... 1578s Setting up linux-headers-6.17.0-3 (6.17.0-3.3) ... 1578s Setting up linux-tools-common (6.17.0-3.3) ... 1578s Setting up cryptsetup-bin (2:2.8.0-1ubuntu2) ... 1578s Setting up linux-modules-6.17.0-3-generic (6.17.0-3.3) ... 1580s Setting up linux-image-6.17.0-3-generic (6.17.0-3.3) ... 1581s I: /boot/vmlinux.old is now a symlink to vmlinux-6.16.0-16-generic 1581s I: /boot/initrd.img.old is now a symlink to initrd.img-6.16.0-16-generic 1581s I: /boot/vmlinux is now a symlink to vmlinux-6.17.0-3-generic 1581s I: /boot/initrd.img is now a symlink to initrd.img-6.17.0-3-generic 1581s Setting up linux-headers-6.17.0-3-generic (6.17.0-3.3) ... 1581s Setting up linux-image-virtual (6.17.0-3.3) ... 1581s Setting up linux-image-generic (6.17.0-3.3) ... 1581s Setting up linux-headers-generic (6.17.0-3.3) ... 1581s Setting up linux-headers-virtual (6.17.0-3.3) ... 1581s Setting up linux-generic (6.17.0-3.3) ... 1581s Setting up linux-virtual (6.17.0-3.3) ... 1581s Processing triggers for libc-bin (2.42-0ubuntu1) ... 1582s Processing triggers for man-db (2.13.1-1) ... 1584s Processing triggers for install-info (7.1.1-1) ... 1584s Processing triggers for linux-image-6.17.0-3-generic (6.17.0-3.3) ... 1584s /etc/kernel/postinst.d/initramfs-tools: 1584s update-initramfs: Generating /boot/initrd.img-6.17.0-3-generic 1593s /etc/kernel/postinst.d/zz-update-grub: 1593s Sourcing file `/etc/default/grub' 1593s Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' 1593s Generating grub configuration file ... 1593s Found linux image: /boot/vmlinux-6.17.0-3-generic 1593s Found initrd image: /boot/initrd.img-6.17.0-3-generic 1593s Found linux image: /boot/vmlinux-6.16.0-16-generic 1593s Found initrd image: /boot/initrd.img-6.16.0-16-generic 1593s Found linux image: /boot/vmlinux-6.15.0-4-generic 1593s Found initrd image: /boot/initrd.img-6.15.0-4-generic 1594s Warning: os-prober will not be executed to detect other bootable partitions. 1594s Systems on them will not be added to the GRUB boot configuration. 1594s Check GRUB_DISABLE_OS_PROBER documentation entry. 1594s Adding boot menu entry for UEFI Firmware Settings ... 1594s done 1594s Reading package lists... 1594s Building dependency tree... 1594s Reading state information... 1594s Solving dependencies... 1594s The following packages will be REMOVED: 1594s linux-headers-6.15.0-4* linux-headers-6.15.0-4-generic* 1594s linux-image-6.15.0-4-generic* linux-modules-6.15.0-4-generic* 1594s linux-tools-6.15.0-4* linux-tools-6.15.0-4-generic* 1595s 0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded. 1595s After this operation, 326 MB disk space will be freed. 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 ... 156619 files and directories currently installed.) 1595s Removing linux-headers-6.15.0-4-generic (6.15.0-4.4) ... 1595s Removing linux-headers-6.15.0-4 (6.15.0-4.4) ... 1601s Removing linux-image-6.15.0-4-generic (6.15.0-4.4) ... 1601s /etc/kernel/postrm.d/initramfs-tools: 1601s update-initramfs: Deleting /boot/initrd.img-6.15.0-4-generic 1601s /etc/kernel/postrm.d/zz-update-grub: 1601s Sourcing file `/etc/default/grub' 1601s Sourcing file `/etc/default/grub.d/50-cloudimg-settings.cfg' 1601s Generating grub configuration file ... 1601s Found linux image: /boot/vmlinux-6.17.0-3-generic 1601s Found initrd image: /boot/initrd.img-6.17.0-3-generic 1601s Found linux image: /boot/vmlinux-6.16.0-16-generic 1601s Found initrd image: /boot/initrd.img-6.16.0-16-generic 1602s Warning: os-prober will not be executed to detect other bootable partitions. 1602s Systems on them will not be added to the GRUB boot configuration. 1602s Check GRUB_DISABLE_OS_PROBER documentation entry. 1602s Adding boot menu entry for UEFI Firmware Settings ... 1602s done 1602s Removing linux-modules-6.15.0-4-generic (6.15.0-4.4) ... 1603s Removing linux-tools-6.15.0-4-generic (6.15.0-4.4) ... 1603s Removing linux-tools-6.15.0-4 (6.15.0-4.4) ... 1603s (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 ... 118470 files and directories currently installed.) 1603s Purging configuration files for linux-image-6.15.0-4-generic (6.15.0-4.4) ... 1603s Purging configuration files for linux-modules-6.15.0-4-generic (6.15.0-4.4) ... 1604s autopkgtest [12:52:29]: rebooting testbed after setup commands that affected boot 1645s Reading package lists... 1645s Building dependency tree... 1645s Reading state information... 1645s Solving dependencies... 1645s The following NEW packages will be installed: 1645s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 1645s libdconf1 1645s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 1645s Need to get 153 kB of archives. 1645s After this operation, 831 kB of additional disk space will be used. 1645s Get:1 http://ftpmaster.internal/ubuntu questing/main ppc64el libdconf1 ppc64el 0.40.0-5willsync1 [45.0 kB] 1645s Get:2 http://ftpmaster.internal/ubuntu questing/main ppc64el dconf-service ppc64el 0.40.0-5willsync1 [31.4 kB] 1645s Get:3 http://ftpmaster.internal/ubuntu questing/main ppc64el dconf-gsettings-backend ppc64el 0.40.0-5willsync1 [27.3 kB] 1645s Get:4 http://ftpmaster.internal/ubuntu questing/main ppc64el dpkg-repack all 1.54 [11.2 kB] 1645s Get:5 http://ftpmaster.internal/ubuntu questing/main ppc64el gsettings-desktop-schemas all 49~alpha-0ubuntu1 [37.8 kB] 1646s Fetched 153 kB in 0s (341 kB/s) 1646s Selecting previously unselected package libdconf1:ppc64el. 1646s (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 ... 118471 files and directories currently installed.) 1646s Preparing to unpack .../libdconf1_0.40.0-5willsync1_ppc64el.deb ... 1646s Unpacking libdconf1:ppc64el (0.40.0-5willsync1) ... 1647s Selecting previously unselected package dconf-service. 1647s Preparing to unpack .../dconf-service_0.40.0-5willsync1_ppc64el.deb ... 1647s Unpacking dconf-service (0.40.0-5willsync1) ... 1647s Selecting previously unselected package dconf-gsettings-backend:ppc64el. 1647s Preparing to unpack .../dconf-gsettings-backend_0.40.0-5willsync1_ppc64el.deb ... 1647s Unpacking dconf-gsettings-backend:ppc64el (0.40.0-5willsync1) ... 1647s Selecting previously unselected package dpkg-repack. 1647s Preparing to unpack .../dpkg-repack_1.54_all.deb ... 1647s Unpacking dpkg-repack (1.54) ... 1647s Selecting previously unselected package gsettings-desktop-schemas. 1647s Preparing to unpack .../gsettings-desktop-schemas_49~alpha-0ubuntu1_all.deb ... 1647s Unpacking gsettings-desktop-schemas (49~alpha-0ubuntu1) ... 1647s Setting up dpkg-repack (1.54) ... 1647s Setting up libdconf1:ppc64el (0.40.0-5willsync1) ... 1647s Setting up dconf-service (0.40.0-5willsync1) ... 1647s Setting up dconf-gsettings-backend:ppc64el (0.40.0-5willsync1) ... 1647s Setting up gsettings-desktop-schemas (49~alpha-0ubuntu1) ... 1647s Processing triggers for man-db (2.13.1-1) ... 1648s Processing triggers for libglib2.0-0t64:ppc64el (2.85.3-1) ... 1648s Processing triggers for libc-bin (2.42-0ubuntu1) ... 1652s autopkgtest [12:53:17]: test 1065022-futureproofing: [----------------------- 1653s + export DEBIAN_FRONTEND=noninteractive 1653s + n=0 1653s + failed=0 1653s + binary_package=libglib2.0-0t64 1653s + future_binary_package=libglib2.0-0xyz 1653s + pwd 1653s + srcdir=/tmp/autopkgtest.X7jYgQ/build.X2Z/src 1653s + mktemp -d 1653s + tmpdir=/tmp/tmp.GLvcBiLDcU 1653s + cd /tmp/tmp.GLvcBiLDcU 1653s + exec 1653s + [ -e /tmp/autopkgtest.X7jYgQ/build.X2Z/src/debian/tests/manual/local-1065022.sources ] 1653s + dpkg-query -W dpkg-repack 1653s dpkg-repack 1.54 1653s + dpkg-query -s libglib2.0-0t64 1653s Package: libglib2.0-0t64 1653s Status: install ok installed 1653s Priority: important 1653s Section: libs 1653s Installed-Size: 6012 1653s Maintainer: Ubuntu Developers 1653s Architecture: ppc64el 1653s Multi-Arch: same 1653s Source: glib2.0 1653s Version: 2.85.3-1 1653s Replaces: libglib2.0-0 (<< 2.80.0-7~) 1653s Provides: libgio-2.0-0 (= 2.85.3-1), libglib-2.0-0 (= 2.85.3-1), libglib2.0-0 (= 2.85.3-1), libgmodule-2.0-0 (= 2.85.3-1), libgobject-2.0-0 (= 2.85.3-1), libgthread-2.0-0 (= 2.85.3-1) 1653s 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) 1653s Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs 1653s Suggests: low-memory-monitor 1653s Breaks: glib-networking-tests (<< 2.70.0~), gnome-keyring (<< 40.0-3~), gnome-shell (<< 44.9-2~), libedataserver-1.2-26 (<< 3.44.3-2~), libgladeui-2-6 (<< 3.22.2), libglib2.0-0 (<< 2.80.0-7~), libsoup2.4-tests (<< 2.72.0-3~) 1653s Description: GLib library of C routines 1653s GLib is a library containing many useful C routines for things such 1653s as trees, hashes, lists, and strings. It is a useful general-purpose 1653s C library used by projects such as GTK+, GIMP, and GNOME. 1653s . 1653s This package contains the shared libraries. 1653s Original-Maintainer: Debian GNOME Maintainers 1653s Homepage: https://gitlab.gnome.org/GNOME/glib 1653s + dpkg-query -W -f ${Version} libglib2.0-0t64 1653s + binary_version=2.85.3-1 1653s + dpkg-repack --generate libglib2.0-0t64 1653s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 1653s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.oZlZIS for libglib2.0-0t64 1653s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.oZlZIS ." 1653s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.oZlZIS/DEBIAN/control 1653s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.oZlZIS/DEBIAN/control 1653s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.oZlZIS/DEBIAN/control 1653s + env binary_package=libglib2.0-0t64 binary_version=2.85.3-1 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.oZlZIS/DEBIAN/control 1653s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.oZlZIS libglib2.0-0xyz.deb 1653s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 1654s + dpkg-deb --info libglib2.0-0xyz.deb 1654s new Debian package, version 2.0. 1654s size 1843236 bytes: control archive=25903 bytes. 1654s 1383 bytes, 24 lines control 1654s 1184 bytes, 14 lines md5sums 1654s 1328 bytes, 44 lines * postinst #!/bin/sh 1654s 2582 bytes, 87 lines * postrm #!/bin/sh 1654s 2408 bytes, 53 lines * preinst #!/bin/sh 1654s 466 bytes, 10 lines shlibs 1654s 172677 bytes, 4529 lines symbols 1654s 178 bytes, 4 lines triggers 1654s Package: libglib2.0-0xyz 1654s Source: glib2.0 1654s Version: 2.85.3-1 1654s Architecture: ppc64el 1654s Maintainer: Ubuntu Developers 1654s Installed-Size: 6012 1654s 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) 1654s Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs 1654s Suggests: low-memory-monitor 1654s Breaks: glib-networking-tests (<< 2.70.0~), gnome-keyring (<< 40.0-3~), gnome-shell (<< 44.9-2~), libedataserver-1.2-26 (<< 3.44.3-2~), libgladeui-2-6 (<< 3.22.2), libglib2.0-0 (<< 2.80.0-7~), libsoup2.4-tests (<< 2.72.0-3~), libglib2.0-0t64 1654s Replaces: libglib2.0-0 (<< 2.80.0-7~), libglib2.0-0t64 1654s Provides: libgio-2.0-0 (= 2.85.3-1), libglib-2.0-0 (= 2.85.3-1), libglib2.0-0 (= 2.85.3-1), libgmodule-2.0-0 (= 2.85.3-1), libgobject-2.0-0 (= 2.85.3-1), libgthread-2.0-0 (= 2.85.3-1), libglib2.0-0t64 (= 2.85.3-1) 1654s Section: libs 1654s Priority: important 1654s Multi-Arch: same 1654s Homepage: https://gitlab.gnome.org/GNOME/glib 1654s Description: GLib library of C routines 1654s GLib is a library containing many useful C routines for things such 1654s as trees, hashes, lists, and strings. It is a useful general-purpose 1654s C library used by projects such as GTK+, GIMP, and GNOME. 1654s . 1654s This package contains the shared libraries. 1654s . 1654s (Repackaged on Fri, 05 Sep 2025 12:53:18 +0000 by dpkg-repack.) 1654s + dpkg-deb --contents libglib2.0-0xyz.deb 1654s drwxr-xr-x root/root 0 2025-09-05 12:53 ./ 1654s drwxr-xr-x root/root 0 2025-09-05 12:53 ./usr/ 1654s drwxr-xr-x root/root 0 2025-09-05 12:53 ./usr/lib/ 1654s drwxr-xr-x root/root 0 2025-09-05 12:53 ./usr/lib/powerpc64le-linux-gnu/ 1654s drwxr-xr-x root/root 0 2025-09-05 12:53 ./usr/lib/powerpc64le-linux-gnu/gio/ 1654s drwxr-xr-x root/root 0 2025-09-05 12:53 ./usr/lib/powerpc64le-linux-gnu/gio/modules/ 1654s drwxr-xr-x root/root 0 2025-09-05 12:53 ./usr/lib/powerpc64le-linux-gnu/glib-2.0/ 1654s -rwxr-xr-x root/root 67832 2025-08-18 19:00 ./usr/lib/powerpc64le-linux-gnu/glib-2.0/gio-launch-desktop 1654s -rwxr-xr-x root/root 67832 2025-08-18 19:00 ./usr/lib/powerpc64le-linux-gnu/glib-2.0/gio-querymodules 1654s -rwxr-xr-x root/root 67872 2025-08-18 19:00 ./usr/lib/powerpc64le-linux-gnu/glib-2.0/glib-compile-schemas 1654s -rw-r--r-- root/root 2756184 2025-08-18 19:00 ./usr/lib/powerpc64le-linux-gnu/libgio-2.0.so.0.8503.0 1654s -rw-r--r-- root/root 1904216 2025-08-18 19:00 ./usr/lib/powerpc64le-linux-gnu/libglib-2.0.so.0.8503.0 1654s -rw-r--r-- root/root 67640 2025-08-18 19:00 ./usr/lib/powerpc64le-linux-gnu/libgmodule-2.0.so.0.8503.0 1654s -rw-r--r-- root/root 592184 2025-08-18 19:00 ./usr/lib/powerpc64le-linux-gnu/libgobject-2.0.so.0.8503.0 1654s -rw-r--r-- root/root 67600 2025-08-18 19:00 ./usr/lib/powerpc64le-linux-gnu/libgthread-2.0.so.0.8503.0 1654s drwxr-xr-x root/root 0 2025-09-05 12:53 ./usr/share/ 1654s drwxr-xr-x root/root 0 2025-09-05 12:53 ./usr/share/doc/ 1654s drwxr-xr-x root/root 0 2025-09-05 12:53 ./usr/share/doc/libglib2.0-0t64/ 1654s -rw-r--r-- root/root 255551 2025-08-08 16:09 ./usr/share/doc/libglib2.0-0t64/NEWS.gz 1654s -rw-r--r-- root/root 1703 2025-08-18 19:00 ./usr/share/doc/libglib2.0-0t64/README.Debian 1654s -rw-r--r-- root/root 3248 2025-08-08 16:09 ./usr/share/doc/libglib2.0-0t64/README.md 1654s -rw-r--r-- root/root 36799 2025-08-18 19:00 ./usr/share/doc/libglib2.0-0t64/changelog.Debian.gz 1654s -rw-r--r-- root/root 55103 2025-08-18 19:00 ./usr/share/doc/libglib2.0-0t64/copyright 1654s drwxr-xr-x root/root 0 2025-09-05 12:53 ./usr/share/glib-2.0/ 1654s drwxr-xr-x root/root 0 2025-09-05 12:53 ./usr/share/glib-2.0/schemas/ 1654s drwxr-xr-x root/root 0 2025-09-05 12:53 ./usr/share/lintian/ 1654s drwxr-xr-x root/root 0 2025-09-05 12:53 ./usr/share/lintian/overrides/ 1654s -rw-r--r-- root/root 520 2025-08-18 19:00 ./usr/share/lintian/overrides/libglib2.0-0t64 1654s lrwxrwxrwx root/root 0 2025-08-18 19:00 ./usr/lib/powerpc64le-linux-gnu/libgio-2.0.so.0 -> libgio-2.0.so.0.8503.0 1654s lrwxrwxrwx root/root 0 2025-08-18 19:00 ./usr/lib/powerpc64le-linux-gnu/libglib-2.0.so.0 -> libglib-2.0.so.0.8503.0 1654s lrwxrwxrwx root/root 0 2025-08-18 19:00 ./usr/lib/powerpc64le-linux-gnu/libgmodule-2.0.so.0 -> libgmodule-2.0.so.0.8503.0 1654s lrwxrwxrwx root/root 0 2025-08-18 19:00 ./usr/lib/powerpc64le-linux-gnu/libgobject-2.0.so.0 -> libgobject-2.0.so.0.8503.0 1654s lrwxrwxrwx root/root 0 2025-08-18 19:00 ./usr/lib/powerpc64le-linux-gnu/libgthread-2.0.so.0 -> libgthread-2.0.so.0.8503.0 1654s + apt-get -y install ./libglib2.0-0xyz.deb dconf-gsettings-backend gsettings-desktop-schemas 1654s Reading package lists... 1655s Building dependency tree... 1655s Reading state information... 1655s dconf-gsettings-backend is already the newest version (0.40.0-5willsync1). 1655s gsettings-desktop-schemas is already the newest version (49~alpha-0ubuntu1). 1655s Solving dependencies... 1655s The following additional packages will be installed: 1655s xdg-user-dirs 1655s Suggested packages: 1655s low-memory-monitor 1655s The following packages will be REMOVED: 1655s libglib2.0-0t64 1655s The following NEW packages will be installed: 1655s libglib2.0-0xyz xdg-user-dirs 1655s 0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. 1655s Need to get 20.8 kB/1864 kB of archives. 1655s After this operation, 213 kB of additional disk space will be used. 1655s Get:1 /tmp/tmp.GLvcBiLDcU/libglib2.0-0xyz.deb libglib2.0-0xyz ppc64el 2.85.3-1 [1843 kB] 1655s Get:2 http://ftpmaster.internal/ubuntu questing/main ppc64el xdg-user-dirs ppc64el 0.18-3 [20.8 kB] 1655s Fetched 20.8 kB in 0s (91.5 kB/s) 1655s dpkg: libglib2.0-0t64:ppc64el: dependency problems, but removing anyway as you requested: 1655s udisks2 depends on libglib2.0-0t64 (>= 2.80.0). 1655s shared-mime-info depends on libglib2.0-0t64 (>= 2.76.0). 1655s python3-gi depends on libglib2.0-0t64 (>= 2.78.0). 1655s python3-dbus depends on libglib2.0-0t64 (>= 2.16.0). 1655s netplan.io depends on libglib2.0-0t64 (>= 2.70.0). 1655s netplan-generator depends on libglib2.0-0t64 (>= 2.70.0). 1655s libxmlb2:ppc64el depends on libglib2.0-0t64 (>= 2.54.0). 1655s libvolume-key1:ppc64el depends on libglib2.0-0t64 (>= 2.18.0). 1655s libudisks2-0:ppc64el depends on libglib2.0-0t64 (>= 2.83.0). 1655s libqrtr-glib0:ppc64el depends on libglib2.0-0t64 (>= 2.56). 1655s libqmi-proxy depends on libglib2.0-0t64 (>= 2.30.0). 1655s libqmi-glib5:ppc64el depends on libglib2.0-0t64 (>= 2.54.0). 1655s libpolkit-gobject-1-0:ppc64el depends on libglib2.0-0t64 (>= 2.80.0). 1655s libpolkit-agent-1-0:ppc64el depends on libglib2.0-0t64 (>= 2.80.0). 1655s libnetplan1:ppc64el depends on libglib2.0-0t64 (>= 2.76.0). 1655s libmm-glib0:ppc64el depends on libglib2.0-0t64 (>= 2.62.0). 1655s libmbim-proxy depends on libglib2.0-0t64 (>= 2.56). 1655s libmbim-glib4:ppc64el depends on libglib2.0-0t64 (>= 2.56). 1655s libjson-glib-1.0-0:ppc64el depends on libglib2.0-0t64 (>= 2.80.0). 1655s libjcat1:ppc64el depends on libglib2.0-0t64 (>= 2.80.0). 1655s libgudev-1.0-0:ppc64el depends on libglib2.0-0t64 (>= 2.80.0). 1655s libgirepository-1.0-1:ppc64el depends on libglib2.0-0t64 (>= 2.82.0). 1655s libfwupd3:ppc64el depends on libglib2.0-0t64 (>= 2.80.0). 1655s libdconf1:ppc64el depends on libglib2.0-0t64 (>= 2.80.0). 1655s libblockdev3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1655s libblockdev-utils3:ppc64el depends on libglib2.0-0t64 (>= 2.76.0). 1655s libblockdev-swap3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1655s libblockdev-part3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1655s libblockdev-nvme3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1655s libblockdev-mdraid3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1655s libblockdev-loop3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1655s libblockdev-fs3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1655s libblockdev-crypto3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2). 1655s gir1.2-glib-2.0:ppc64el depends on libglib2.0-0t64 (= 2.85.3-1). 1655s fwupd depends on libglib2.0-0t64 (>= 2.80.0). 1655s dconf-service depends on libglib2.0-0t64 (>= 2.83.0). 1655s dconf-gsettings-backend:ppc64el depends on libglib2.0-0t64 (>= 2.80.0). 1655s bolt depends on libglib2.0-0t64 (>= 2.79.0). 1655s 1655s (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 ... 118538 files and directories currently installed.) 1655s Removing libglib2.0-0t64:ppc64el (2.85.3-1) ... 1656s Selecting previously unselected package libglib2.0-0xyz:ppc64el. 1656s (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 ... 118519 files and directories currently installed.) 1656s Preparing to unpack .../libglib2.0-0xyz.deb ... 1656s Unpacking libglib2.0-0xyz:ppc64el (2.85.3-1) ... 1656s Selecting previously unselected package xdg-user-dirs. 1656s Preparing to unpack .../xdg-user-dirs_0.18-3_ppc64el.deb ... 1656s Unpacking xdg-user-dirs (0.18-3) ... 1656s Setting up xdg-user-dirs (0.18-3) ... 1656s Created symlink '/etc/systemd/user/graphical-session-pre.target.wants/xdg-user-dirs.service' → '/usr/lib/systemd/user/xdg-user-dirs.service'. 1656s Setting up libglib2.0-0xyz:ppc64el (2.85.3-1) ... 1656s Processing triggers for libc-bin (2.42-0ubuntu1) ... 1656s Processing triggers for man-db (2.13.1-1) ... 1657s ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1657s ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1657s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1657s + n=1 1657s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1657s + echo ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1657s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1657s + n=2 1657s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1657s + echo ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1657s ok 3 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1657s + assert test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1657s + n=3 1657s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1657s + echo ok 3 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1657s + assertok 4 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1657s test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1657s + n=4 1657s + test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1657s + echo ok 4 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1657s + assert test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1657s + ok 5 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1657s ok 6 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1657s n=5 1657s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1657s + echo ok 5 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1657s + assert test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1657s + n=6 1657s + test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1657s + echo ok 6 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1657s + apt-get -y purge libglib2.0-0t64 1657s Reading package lists... 1657s Building dependency tree... 1657s Reading state information... 1657s Solving dependencies... 1657s The following packages will be REMOVED: 1657s libglib2.0-0t64* 1657s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 1657s After this operation, 0 B of additional disk space will be used. 1658s (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 ... 118553 files and directories currently installed.) 1658s Purging configuration files for libglib2.0-0t64:ppc64el (2.85.3-1) ... 1658s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1658s + n=7 1658s + test -eok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1658s /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1658s + echo ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1658s ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1658s ok 9 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1658s ok 10 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1658s ok 11 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1658s ok 12 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1658s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1658s + n=8 1658s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1658s + echo ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 1658s + assert test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1658s + n=9 1658s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1658s + echo ok 9 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1658s + assert test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1658s + n=10 1658s + test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1658s + echo ok 10 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1658s + assert test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1658s + n=11 1658s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1658s + echo ok 11 - test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1658s + assert test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1658s + n=12 1658s + test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1658s + echo ok 12 - test -s /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1658s + apt-get -y purge libglib2.0-0xyz 1658s Reading package lists... 1658s Building dependency tree... 1658s Reading state information... 1658s Solving dependencies... 1658s The following additional packages will be installed: 1658s libglib2.0-0t64 1658s Suggested packages: 1658s low-memory-monitor 1658s The following packages will be REMOVED: 1658s libglib2.0-0xyz* 1658s The following NEW packages will be installed: 1658s libglib2.0-0t64 1658s 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. 1658s Need to get 1843 kB of archives. 1658s After this operation, 0 B of additional disk space will be used. 1658s Get:1 http://ftpmaster.internal/ubuntu questing/main ppc64el libglib2.0-0t64 ppc64el 2.85.3-1 [1843 kB] 1659s Fetched 1843 kB in 1s (2269 kB/s) 1659s dpkg: libglib2.0-0xyz:ppc64el: dependency problems, but removing anyway as you requested: 1659s udisks2 depends on libglib2.0-0t64 (>= 2.80.0); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s shared-mime-info depends on libglib2.0-0t64 (>= 2.76.0); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s python3-gi depends on libglib2.0-0t64 (>= 2.78.0); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s python3-dbus depends on libglib2.0-0t64 (>= 2.16.0); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s netplan.io depends on libglib2.0-0t64 (>= 2.70.0); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s netplan-generator depends on libglib2.0-0t64 (>= 2.70.0); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s libxmlb2:ppc64el depends on libglib2.0-0t64 (>= 2.54.0); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s libvolume-key1:ppc64el depends on libglib2.0-0t64 (>= 2.18.0); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s libudisks2-0:ppc64el depends on libglib2.0-0t64 (>= 2.83.0); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s libqrtr-glib0:ppc64el depends on libglib2.0-0t64 (>= 2.56); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s libqmi-proxy depends on libglib2.0-0t64 (>= 2.30.0); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s libqmi-glib5:ppc64el depends on libglib2.0-0t64 (>= 2.54.0); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s libpolkit-gobject-1-0:ppc64el depends on libglib2.0-0t64 (>= 2.80.0); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s libpolkit-agent-1-0:ppc64el depends on libglib2.0-0t64 (>= 2.80.0); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s libnetplan1:ppc64el depends on libglib2.0-0t64 (>= 2.76.0); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s libmm-glib0:ppc64el depends on libglib2.0-0t64 (>= 2.62.0); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s libmbim-proxy depends on libglib2.0-0t64 (>= 2.56); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s libmbim-glib4:ppc64el depends on libglib2.0-0t64 (>= 2.56); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s libjson-glib-1.0-0:ppc64el depends on libglib2.0-0t64 (>= 2.80.0); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s libjcat1:ppc64el depends on libglib2.0-0t64 (>= 2.80.0); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s libgudev-1.0-0:ppc64el depends on libglib2.0-0t64 (>= 2.80.0); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s libgirepository-1.0-1:ppc64el depends on libglib2.0-0t64 (>= 2.82.0); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s libfwupd3:ppc64el depends on libglib2.0-0t64 (>= 2.80.0); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s libdconf1:ppc64el depends on libglib2.0-0t64 (>= 2.80.0); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s libblockdev3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s libblockdev-utils3:ppc64el depends on libglib2.0-0t64 (>= 2.76.0); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s libblockdev-swap3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s libblockdev-part3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s libblockdev-nvme3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s libblockdev-mdraid3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s libblockdev-loop3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s libblockdev-fs3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s libblockdev-crypto3:ppc64el depends on libglib2.0-0t64 (>= 2.42.2); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s gir1.2-glib-2.0:ppc64el depends on libglib2.0-0t64 (= 2.85.3-1); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s fwupd depends on libglib2.0-0t64 (>= 2.80.0); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s dconf-service depends on libglib2.0-0t64 (>= 2.83.0); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s dconf-gsettings-backend:ppc64el depends on libglib2.0-0t64 (>= 2.80.0); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s bolt depends on libglib2.0-0t64 (>= 2.79.0); however: 1659s Package libglib2.0-0t64 is not installed. 1659s Package libglib2.0-0xyz:ppc64el which provides libglib2.0-0t64 is to be removed. 1659s 1659s (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 ... 118553 files and directories currently installed.) 1659s Removing libglib2.0-0xyz:ppc64el (2.85.3-1) ... 1660s Selecting previously unselected package libglib2.0-0t64:ppc64el. 1660s (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 ... 118534 files and directories currently installed.) 1660s Preparing to unpack .../libglib2.0-0t64_2.85.3-1_ppc64el.deb ... 1660s Unpacking libglib2.0-0t64:ppc64el (2.85.3-1) ... 1660s Setting up libglib2.0-0t64:ppc64el (2.85.3-1) ... 1660s Processing triggers for libc-bin (2.42-0ubuntu1) ... 1660s (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 ... 118553 files and directories currently installed.) 1660s Purging configuration files for libglib2.0-0xyz:ppc64el (2.85.3-1) ... 1660s not ok 13 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1660s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1660s + n=13 1660s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1660s + echo not ok 13 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 1660s + not ok 14 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1660s failed=1 1660s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1660s + n=14 1660s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1660s + echo not ok 14 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 1660s + failed=1not ok 15 - should not have succeeded: test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1660s 1660s + assert_not test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1660s + n=15 1660s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1660s + echo not ok 15 - should not have succeeded: test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/libdconfsettings.so 1660s + failed=1 1660s not ok 16 - should not have succeeded: test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1660s + assert_not test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1660s + n=16 1660s + test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1660s + echo not ok 16 - should not have succeeded: test -e /usr/lib/powerpc64le-linux-gnu/gio/modules/giomodule.cache 1660s 1..16 1660s + failed=1 1660s + echo 1..16 1660s + exit 1 1660s autopkgtest [12:53:25]: test 1065022-futureproofing: -----------------------] 1661s autopkgtest [12:53:26]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 1661s 1065022-futureproofing FLAKY non-zero exit status 1 1661s autopkgtest [12:53:26]: @@@@@@@@@@@@@@@@@@@@ summary 1661s build PASS (superficial) 1661s build-static PASS (superficial) 1661s girepository-tools PASS (superficial) 1661s libgio-2.0-dev-bin PASS (superficial) 1661s libglib2.0-dev PASS (superficial) 1661s installed-tests PASS 1661s closure-refcount PASS 1661s debugcontroller PASS 1661s gdbus-server-auth PASS 1661s gdbus-threading PASS 1661s gmenumodel PASS 1661s mainloop PASS 1661s memory-monitor-dbus PASS 1661s socket PASS 1661s testfilemonitor PASS 1661s thread-pool-slow PASS 1661s threadtests PASS 1661s timeout PASS 1661s timer PASS 1661s 1065022-futureproofing FLAKY non-zero exit status 1